summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-06 02:51:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-06 03:00:06 +0000
commit5b09ad60b5e425f9e5e798e77614cb2644a55c7a (patch)
tree113ab474aaa0c07b1a9320ee84732e302a9444c3
parentMerging upstream version 6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+... (diff)
downloadacorn-5b09ad60b5e425f9e5e798e77614cb2644a55c7a.tar.xz
acorn-5b09ad60b5e425f9e5e798e77614cb2644a55c7a.zip
Merging debian version 6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/.git-dpm30
-rw-r--r--debian/changelog55
-rw-r--r--debian/compat1
-rw-r--r--debian/components/copyright4
-rw-r--r--debian/components/copyright.license2
-rw-r--r--debian/components/install14
-rw-r--r--debian/components/node-acorn-bigint/install4
-rw-r--r--debian/components/node-acorn-bigint/version1
-rw-r--r--debian/components/node-acorn-class-fields/copyright4
-rw-r--r--debian/components/node-acorn-class-fields/install2
-rw-r--r--debian/components/node-acorn-dynamic-import/install4
-rw-r--r--debian/components/node-acorn-dynamic-import/version1
-rw-r--r--debian/components/node-acorn-export-ns-from/copyright4
-rw-r--r--debian/components/node-acorn-export-ns-from/install2
-rw-r--r--debian/components/node-acorn-import-meta/copyright2
-rw-r--r--debian/components/node-acorn-import-meta/install4
-rw-r--r--debian/components/node-acorn-import-meta/version1
-rw-r--r--debian/components/node-acorn-jsx/install4
-rw-r--r--debian/components/node-acorn-node/install6
-rw-r--r--debian/components/node-acorn-node/version1
-rw-r--r--debian/components/node-acorn-numeric-separator/copyright4
-rw-r--r--debian/components/node-acorn-numeric-separator/install2
-rw-r--r--debian/components/node-acorn-private-class-elements/copyright4
-rw-r--r--debian/components/node-acorn-private-class-elements/install2
-rw-r--r--debian/components/node-acorn-private-methods/copyright4
-rw-r--r--debian/components/node-acorn-private-methods/install2
-rw-r--r--debian/components/node-acorn-static-class-features/copyright4
-rw-r--r--debian/components/node-acorn-static-class-features/install2
-rw-r--r--debian/control52
-rw-r--r--debian/copyright38
-rw-r--r--debian/copyright.in38
-rw-r--r--debian/gbp.conf5
-rw-r--r--debian/node-debbundle-acorn.install48
-rw-r--r--debian/node-debbundle-acorn.links2
-rw-r--r--debian/patches/0001-Use-babel-if-needed.patch161
-rw-r--r--debian/patches/0002-Transpile-for-node-v8.patch2
-rw-r--r--debian/patches/0003-Do-not-transcode-lib-for-node-acorn-node.patch41
-rwxr-xr-xdebian/rules102
-rw-r--r--debian/tests/control17
-rwxr-xr-xdebian/tests/require-acorn-class-fields3
-rwxr-xr-xdebian/tests/require-acorn-export-ns-from3
-rwxr-xr-xdebian/tests/require-acorn-numeric-separator3
-rwxr-xr-xdebian/tests/require-acorn-private-methods3
-rwxr-xr-xdebian/tests/require-acorn-static-class-features3
-rwxr-xr-xdebian/tests/requite-acorn-private-class-elements3
-rw-r--r--debian/watch27
46 files changed, 557 insertions, 164 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
index 5bfd62e..a01f210 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,13 +1,19 @@
# see git-dpm(1) from git-dpm package
-a2264c0f63a069c4c56bad1aa50ca811763a4a93
-a2264c0f63a069c4c56bad1aa50ca811763a4a93
-5ed08644deb6b49f54e48566f27be005ac46538b
-5ed08644deb6b49f54e48566f27be005ac46538b
-acorn_6.1.1+ds+~0.3.1+~4.0.0+~1.0.0+~5.0.1+ds+~1.6.2+ds.orig.tar.xz
-09ad7ff3083ecb2f30ba0f65a7445f3a5cd43d67
-107256
-component:478480bba81bcc5ff7bd6f86d9111dd2e00013aa:6145:acorn_6.1.1+ds+~0.3.1+~4.0.0+~1.0.0+~5.0.1+ds+~1.6.2+ds.orig-node-acorn-bigint.tar.gz
-component:e92eb38ea3d8e595f386e11953fef09b32183331:43887:acorn_6.1.1+ds+~0.3.1+~4.0.0+~1.0.0+~5.0.1+ds+~1.6.2+ds.orig-node-acorn-dynamic-import.tar.gz
-component:4f0e428674f73e8860341922b6923ffedae9647b:6184:acorn_6.1.1+ds+~0.3.1+~4.0.0+~1.0.0+~5.0.1+ds+~1.6.2+ds.orig-node-acorn-import-meta.tar.gz
-component:7e8a36dea40f2e7d696c7da16b7793afa9f97be1:8440:acorn_6.1.1+ds+~0.3.1+~4.0.0+~1.0.0+~5.0.1+ds+~1.6.2+ds.orig-node-acorn-jsx.tar.xz
-component:fbbb5255518c392329f80cd5c53a5c63ac90c637:4964:acorn_6.1.1+ds+~0.3.1+~4.0.0+~1.0.0+~5.0.1+ds+~1.6.2+ds.orig-node-acorn-node.tar.xz
+006ff68587b46bd138f7d823f377df82f00775df
+006ff68587b46bd138f7d823f377df82f00775df
+5c86bbcb577f340371b0ddd062bf02b8e35d73c6
+5c86bbcb577f340371b0ddd062bf02b8e35d73c6
+acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig.tar.xz
+6584428f16403cb8ae1abeb9320d53878a4cd9ee
+109264
+component:676fc5f124ea751473f2530a33e904088a35e169:6243:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-bigint.tar.gz
+component:547d34d9a1e28196270db1fc1bfbb6419e27c662:6681:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-class-fields.tar.gz
+component:e92eb38ea3d8e595f386e11953fef09b32183331:43887:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-dynamic-import.tar.gz
+component:cfe23846c9b148a7aa6353ed5c7ef1a86057932f:5295:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-export-ns-from.tar.gz
+component:4f0e428674f73e8860341922b6923ffedae9647b:6184:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-import-meta.tar.gz
+component:7e8a36dea40f2e7d696c7da16b7793afa9f97be1:8440:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-jsx.tar.xz
+component:a41bd0e2720d1743449a9de335029fe86ed415b5:5336:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-node.tar.xz
+component:a3b490f91e22a8188fcfc7245c6f3adf540e658c:6398:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-numeric-separator.tar.gz
+component:7a1f5b00d6059987d96cf5af57275839b9719858:5320:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-private-class-elements.tar.gz
+component:aed7a6567c132a9d9ef3d68b03fa2876fa7fc771:7453:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-static-class-features.tar.gz
+component:3bb1570c68534d8e0289eaef138d7f63d4fdeaa0:6251:acorn_6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0.orig-node-acorn-private-methods.tar.gz
diff --git a/debian/changelog b/debian/changelog
index 3af46c5..67ee695 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,41 @@
+acorn (6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0-2) experimental; urgency=medium
+
+ [ Xavier Guimard ]
+ * Fix debian/copyright links and paths
+ * Bump debhelper compatibility level to 12
+ * Declare compliance with policy 4.4.0
+ * Add debian/gbp.conf
+ * Drop unneeded version constraints from (build) dependencies
+
+ -- Bastien Roucariès <rouca@debian.org> Mon, 05 Aug 2019 17:44:34 +0200
+
+acorn (6.2.1+ds+~0.4.0+~4.0.0+really4.0.0+~1.0.0+~5.0.1+ds+~1.7.0+ds+~0.1.1+~0.3.1+~0.2.0+~0.1.0+~0.3.0+~0.3.0-1) UNRELEASED; urgency=medium
+
+ * New upstream version of acorn.
+ * New upstream version of acorn-bigint:
+ * Install modules to /usr/share/
+ * Bug fix: "Please add Breaks for webpack << 4.28.3 to acorn 6",
+ thanks to Pirate Praveen (Closes: #931018).
+ * Bug fix: "fails to upgrade from sid; - trying to overwrite
+ /usr/lib/nodejs/acorn-dynamic-import/lib/index.js", thanks to Andreas
+ Beckmann (Closes: #931903). Solve by using suitable breaks/replace
+ and oversionmangle to 4.0.0+really4.0.0 for our version.
+ * Bug fix: "New upstream is out", thanks to Julien Puydt (Closes:
+ #911367).
+ * Bug fix: "fails to upgrade from sid: unable to install new version of
+ /usr/share/doc/node-acorn-node/README.md: No such file or
+ directory", thanks to Andreas Beckmann (Closes: #915022).
+ * Bug fix: "acorn 6.1.1 please bundle additional plugins needed by
+ nodejs source", thanks to Jérémy Lal (Closes: #931179):
+ + Add new module node-acorn-private-class-elements
+ + Add new module node-acorn-class-fields
+ + Add new module node-acorn-static-class-features
+ + Add new module node-acorn-export-ns-from
+ + Add new module node-acorn-numeric-separator
+ + Add new module node-private-methods
+
+ -- Bastien Roucariès <rouca@debian.org> Mon, 05 Aug 2019 11:43:21 +0200
+
acorn (6.1.1+ds+~0.3.1+~4.0.0+~1.0.0+~5.0.1+ds+~1.6.2+ds-1~progress5+u1) engywuck-backports; urgency=medium
* Uploading to engywuck-backports, remaining changes:
@@ -70,6 +108,23 @@ acorn (6.0.2+20181021git007b08d01eff070+ds+~0.3.1+~4.0.0+~0.3.0+~1.6.1+ds-1) exp
-- Bastien Roucariès <rouca@debian.org> Tue, 23 Oct 2018 14:26:38 +0200
+acorn (5.5.3+ds3-3) unstable; urgency=medium
+
+ * Team upload
+ * Change unicode dependency to 12 (Closes: #929426)
+
+ -- Xavier Guimard <yadd@debian.org> Thu, 23 May 2019 19:49:18 +0200
+
+acorn (5.5.3+ds3-2) unstable; urgency=medium
+
+ * Team upload
+ * Build depends on node-unicode-11.0.0 instead of node-unicode-10.0.0
+ (Closes: #914004)
+ * Refresh patches
+ * Add module-acorn-node in gbp.conf component
+
+ -- Xavier Guimard <yadd@debian.org> Mon, 25 Feb 2019 07:20:17 +0100
+
acorn (5.5.3+ds3-1) unstable; urgency=medium
* Team upload
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/components/copyright b/debian/components/copyright
index d7de04d..598a8ba 100644
--- a/debian/components/copyright
+++ b/debian/components/copyright
@@ -100,6 +100,6 @@ Copyright: 2015 Ingvar Stepanyan
License: BSD-2-clause
Files: debian/*
-Copyright: 2016-2018 Julien Puydt <jpuydt@debian.org>
- 2017-2018 Bastien Roucariès
+Copyright: 2016-2019 Julien Puydt <jpuydt@debian.org>
+ 2017-2019 Bastien Roucariès
License: Expat
diff --git a/debian/components/copyright.license b/debian/components/copyright.license
index c9434d1..4e67ddf 100644
--- a/debian/components/copyright.license
+++ b/debian/components/copyright.license
@@ -3,7 +3,7 @@ License: Apache-2.0
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
- http://www.apache.org/licenses/LICENSE-2.0
+ https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/debian/components/install b/debian/components/install
index 0193cc9..9ba3985 100644
--- a/debian/components/install
+++ b/debian/components/install
@@ -1,8 +1,8 @@
-build/acorn/dist usr/lib/nodejs/acorn/
-build/acorn-loose/dist usr/lib/nodejs/acorn-loose/
-build/acorn-walk/dist usr/lib/nodejs/acorn-walk/
-build/acorn/bin usr/lib/nodejs/acorn/
-build/acorn/package.json usr/lib/nodejs/acorn/
-build/acorn-loose/package.json usr/lib/nodejs/acorn-loose/
-build/acorn-walk/package.json usr/lib/nodejs/acorn-walk/
+build/acorn/dist usr/share/nodejs/acorn/
+build/acorn-loose/dist usr/share/nodejs/acorn-loose/
+build/acorn-walk/dist usr/share/nodejs/acorn-walk/
+build/acorn/bin usr/share/nodejs/acorn/
+build/acorn/package.json usr/share/nodejs/acorn/
+build/acorn-loose/package.json usr/share/nodejs/acorn-loose/
+build/acorn-walk/package.json usr/share/nodejs/acorn-walk/
diff --git a/debian/components/node-acorn-bigint/install b/debian/components/node-acorn-bigint/install
index f02bd37..5d92efa 100644
--- a/debian/components/node-acorn-bigint/install
+++ b/debian/components/node-acorn-bigint/install
@@ -1,2 +1,2 @@
-package.json usr/lib/nodejs/acorn-bigint/
-index.js usr/lib/nodejs/acorn-bigint/
+package.json usr/share/nodejs/acorn-bigint/
+index.js usr/share/nodejs/acorn-bigint/
diff --git a/debian/components/node-acorn-bigint/version b/debian/components/node-acorn-bigint/version
deleted file mode 100644
index 0d91a54..0000000
--- a/debian/components/node-acorn-bigint/version
+++ /dev/null
@@ -1 +0,0 @@
-0.3.0
diff --git a/debian/components/node-acorn-class-fields/copyright b/debian/components/node-acorn-class-fields/copyright
new file mode 100644
index 0000000..f239276
--- /dev/null
+++ b/debian/components/node-acorn-class-fields/copyright
@@ -0,0 +1,4 @@
+Files: node-acorn-class-fields/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-class-fields
diff --git a/debian/components/node-acorn-class-fields/install b/debian/components/node-acorn-class-fields/install
new file mode 100644
index 0000000..b70ade5
--- /dev/null
+++ b/debian/components/node-acorn-class-fields/install
@@ -0,0 +1,2 @@
+package.json usr/share/nodejs/acorn-class-fields/
+index.js usr/share/nodejs/acorn-class-fields/
diff --git a/debian/components/node-acorn-dynamic-import/install b/debian/components/node-acorn-dynamic-import/install
index b21c824..256c2a0 100644
--- a/debian/components/node-acorn-dynamic-import/install
+++ b/debian/components/node-acorn-dynamic-import/install
@@ -1,2 +1,2 @@
-package.json usr/lib/nodejs/acorn-dynamic-import/
-lib usr/lib/nodejs/acorn-dynamic-import/
+package.json usr/share/nodejs/acorn-dynamic-import/
+lib usr/share/nodejs/acorn-dynamic-import/
diff --git a/debian/components/node-acorn-dynamic-import/version b/debian/components/node-acorn-dynamic-import/version
deleted file mode 100644
index 4a36342..0000000
--- a/debian/components/node-acorn-dynamic-import/version
+++ /dev/null
@@ -1 +0,0 @@
-3.0.0
diff --git a/debian/components/node-acorn-export-ns-from/copyright b/debian/components/node-acorn-export-ns-from/copyright
new file mode 100644
index 0000000..dba3040
--- /dev/null
+++ b/debian/components/node-acorn-export-ns-from/copyright
@@ -0,0 +1,4 @@
+Files: node-acorn-export-ns-from/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-export-ns-from
diff --git a/debian/components/node-acorn-export-ns-from/install b/debian/components/node-acorn-export-ns-from/install
new file mode 100644
index 0000000..b70ade5
--- /dev/null
+++ b/debian/components/node-acorn-export-ns-from/install
@@ -0,0 +1,2 @@
+package.json usr/share/nodejs/acorn-class-fields/
+index.js usr/share/nodejs/acorn-class-fields/
diff --git a/debian/components/node-acorn-import-meta/copyright b/debian/components/node-acorn-import-meta/copyright
index af53984..96741eb 100644
--- a/debian/components/node-acorn-import-meta/copyright
+++ b/debian/components/node-acorn-import-meta/copyright
@@ -1,4 +1,4 @@
Files: node-acorn-import-meta/*
Copyright: 2017-2018 by Adrian Heine
License: Expat
-Comment: https://github.com/acornjs/acorn-meta-import
+Comment: https://github.com/acornjs/acorn-import-meta
diff --git a/debian/components/node-acorn-import-meta/install b/debian/components/node-acorn-import-meta/install
index 58d2a13..d4edc01 100644
--- a/debian/components/node-acorn-import-meta/install
+++ b/debian/components/node-acorn-import-meta/install
@@ -1,2 +1,2 @@
-package.json usr/lib/nodejs/acorn-import-meta/
-index.js usr/lib/nodejs/acorn-import-meta/
+package.json usr/share/nodejs/acorn-import-meta/
+index.js usr/share/nodejs/acorn-import-meta/
diff --git a/debian/components/node-acorn-import-meta/version b/debian/components/node-acorn-import-meta/version
deleted file mode 100644
index 0d91a54..0000000
--- a/debian/components/node-acorn-import-meta/version
+++ /dev/null
@@ -1 +0,0 @@
-0.3.0
diff --git a/debian/components/node-acorn-jsx/install b/debian/components/node-acorn-jsx/install
index ecaf7ac..bf44183 100644
--- a/debian/components/node-acorn-jsx/install
+++ b/debian/components/node-acorn-jsx/install
@@ -1,2 +1,2 @@
-package.json usr/lib/nodejs/acorn-jsx/
-*.js usr/lib/nodejs/acorn-jsx/
+package.json usr/share/nodejs/acorn-jsx/
+*.js usr/share/nodejs/acorn-jsx/
diff --git a/debian/components/node-acorn-node/install b/debian/components/node-acorn-node/install
index 107f858..4d3144a 100644
--- a/debian/components/node-acorn-node/install
+++ b/debian/components/node-acorn-node/install
@@ -1,3 +1,3 @@
-package.json usr/lib/nodejs/acorn-node/
-index.js usr/lib/nodejs/acorn-node/
-walk.js usr/lib/nodejs/acorn-node/
+package.json usr/share/nodejs/acorn-node/
+index.js usr/share/nodejs/acorn-node/
+walk.js usr/share/nodejs/acorn-node/
diff --git a/debian/components/node-acorn-node/version b/debian/components/node-acorn-node/version
deleted file mode 100644
index f0bb29e..0000000
--- a/debian/components/node-acorn-node/version
+++ /dev/null
@@ -1 +0,0 @@
-1.3.0
diff --git a/debian/components/node-acorn-numeric-separator/copyright b/debian/components/node-acorn-numeric-separator/copyright
new file mode 100644
index 0000000..9228d32
--- /dev/null
+++ b/debian/components/node-acorn-numeric-separator/copyright
@@ -0,0 +1,4 @@
+Files: node-acorn-numeric-separator/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-numeric-separator
diff --git a/debian/components/node-acorn-numeric-separator/install b/debian/components/node-acorn-numeric-separator/install
new file mode 100644
index 0000000..a3ee2d5
--- /dev/null
+++ b/debian/components/node-acorn-numeric-separator/install
@@ -0,0 +1,2 @@
+package.json usr/share/nodejs/acorn-numeric-separator
+index.js usr/share/nodejs/acorn-numeric-separator
diff --git a/debian/components/node-acorn-private-class-elements/copyright b/debian/components/node-acorn-private-class-elements/copyright
new file mode 100644
index 0000000..960b2de
--- /dev/null
+++ b/debian/components/node-acorn-private-class-elements/copyright
@@ -0,0 +1,4 @@
+Files: node-acorn-private-class-elements/*
+Copyright: 2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-private-class-elements
diff --git a/debian/components/node-acorn-private-class-elements/install b/debian/components/node-acorn-private-class-elements/install
new file mode 100644
index 0000000..569d12e
--- /dev/null
+++ b/debian/components/node-acorn-private-class-elements/install
@@ -0,0 +1,2 @@
+package.json usr/share/nodejs/acorn-private-class-elements/
+index.js usr/share/nodejs/acorn-private-class-elements/
diff --git a/debian/components/node-acorn-private-methods/copyright b/debian/components/node-acorn-private-methods/copyright
new file mode 100644
index 0000000..cae8f4d
--- /dev/null
+++ b/debian/components/node-acorn-private-methods/copyright
@@ -0,0 +1,4 @@
+Files: node-acorn-private-methods/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-private-methods
diff --git a/debian/components/node-acorn-private-methods/install b/debian/components/node-acorn-private-methods/install
new file mode 100644
index 0000000..3b72388
--- /dev/null
+++ b/debian/components/node-acorn-private-methods/install
@@ -0,0 +1,2 @@
+package.json usr/share/nodejs/acorn-private-methods
+index.js usr/share/nodejs/acorn-private-methods
diff --git a/debian/components/node-acorn-static-class-features/copyright b/debian/components/node-acorn-static-class-features/copyright
new file mode 100644
index 0000000..f81f79f
--- /dev/null
+++ b/debian/components/node-acorn-static-class-features/copyright
@@ -0,0 +1,4 @@
+Files: node-acorn-static-class-features/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-static-class-features
diff --git a/debian/components/node-acorn-static-class-features/install b/debian/components/node-acorn-static-class-features/install
new file mode 100644
index 0000000..b70ade5
--- /dev/null
+++ b/debian/components/node-acorn-static-class-features/install
@@ -0,0 +1,2 @@
+package.json usr/share/nodejs/acorn-class-fields/
+index.js usr/share/nodejs/acorn-class-fields/
diff --git a/debian/control b/debian/control
index 4209239..b0260a2 100644
--- a/debian/control
+++ b/debian/control
@@ -7,22 +7,22 @@ XSBC-Original-Uploaders: Julien Puydt <jpuydt@debian.org>,
Bugs: mailto:maintainers@lists.progress-linux.org
Section: javascript
Priority: optional
-Build-Depends: debhelper (>= 11),
+Build-Depends: debhelper-compat (= 12),
docbook2x <!nodoc>,
node-ast-types,
node-graceful-fs,
nodejs (>= 6),
- rollup (>= 0.45),
+ rollup,
node-rollup-plugin-babel,
node-unicode-12.0.0,
node-babel-preset-latest,
node-babel-preset-airbnb,
node-babel-cli,
- node-xtend (>= 4.0.1) <!nocheck>,
- node-tape (>= 4.8) <!nocheck>,
+ node-xtend <!nocheck>,
+ node-tape <!nocheck>,
node-tap (>= 10) <!nocheck>,
mocha (>= 4) <!nocheck>
-Standards-Version: 4.3.0
+Standards-Version: 4.4.0
Vcs-Browser: https://git.progress-linux.org/distributions/engywuck-backports/packages/acorn
Vcs-Git: https://git.progress-linux.org/distributions/engywuck-backports/packages/acorn
XSBC-Original-Vcs-Browser: https://salsa.debian.org/js-team/acorn
@@ -31,20 +31,31 @@ Homepage: https://github.com/ternjs/acorn/
Package: node-debbundle-acorn
Architecture: all
-Depends: nodejs (>= 6), ${misc:Depends},
- node-xtend (>= 4.0.1)
+Depends: nodejs (>= 10.12.0~dfsg~), ${misc:Depends},
+ node-xtend
Provides:
- node-acorn (=6.0.2+20181021git007b08d01eff070+ds),
- node-acorn-bigint (=0.3.1),
- node-acorn-dynamic-import (=4.0.0),
- node-acorn-import-meta (=0.3.0),
- node-acorn-jsx (=5.0.0+ds),
- node-acorn-node (=1.6.1+ds),
- node-types-acorn (=6.0.2+20181021git007b08d01eff070+ds),
- node-acorn-walk (=6.0.2+20181021git007b08d01eff070+ds),
- node-acorn-loose (=6.0.2+20181021git007b08d01eff070+ds)
-Replaces: node-acorn-dynamic-import (<< 4.0.0~), node-acorn-jsx (<< 5.0.0~), node-acorn (<< 6.0.2+20181021git007b08d01eff070+ds+~0.3.1+~4.0.0+~0.3.0+~5.0.0+ds+~1.6.1+ds-2~)
-Breaks: node-acorn-dynamic-import (<< 4.0.0~), node-acorn-jsx (<< 5.0.0~), node-acorn (<< 6.0.2+20181021git007b08d01eff070+ds+~0.3.1+~4.0.0+~0.3.0+~5.0.0+ds+~1.6.1+ds-2~)
+ node-acorn (=6.2.1+ds),
+ node-acorn-bigint (=0.4.0),
+ node-acorn-dynamic-import (=4.0.0+really4.0.0),
+ node-acorn-import-meta (=1.0.0),
+ node-acorn-jsx (=5.0.1+ds),
+ node-acorn-node (=1.7.0+ds),
+ node-acorn-private-class-elements (=0.1.1),
+ node-acorn-class-fields (=0.3.1),
+ node-acorn-static-class-features (=0.2.0),
+ node-acorn-export-ns-from (=0.1.0),
+ node-acorn-numeric-separator (=0.3.0),
+ node-acorn-private-methods (=0.3.0),
+ node-types-acorn (=6.2.1+ds),
+ node-acorn-walk (=6.2.1+ds),
+ node-acorn-loose (=6.2.1+ds),
+Replaces: node-acorn-dynamic-import (<< 4.0.0+really4.0.0~),
+ node-acorn-jsx (<< 5.0.0~),
+ node-acorn (<< 6.0.2+20181021git007b08d01eff070+ds+~0.3.1+~4.0.0+~0.3.0+~5.0.0+ds+~1.6.1+ds-2~)
+Breaks: node-acorn-dynamic-import (<< 4.0.0+really4.0.0~~),
+ node-acorn-jsx (<< 5.0.0~),
+ node-acorn (<< 6.0.2+20181021git007b08d01eff070+ds+~0.3.1+~4.0.0+~0.3.0+~5.0.0+ds+~1.6.1+ds-2~),
+ webpack (<< 4.28.3~)
Description: ECMAScript parser for Node.js
Acorn is a tiny, fast JavaScript parser written in JavaScript.
.
@@ -54,6 +65,9 @@ Description: ECMAScript parser for Node.js
.
This package contains the acorn module for Node.js.
.
- This package contain also the small wrapper acorn-node.
+ This package contains also small pluggins packages acorn-bigint,
+ acorn-dynamic-import, acorn-jsx, acorn-node, acorn-private-class-elements,
+ acorn-class-fields, acorn-static-class-features, acorn-export-ns-from,
+ acorn-numeric-separator, acorn-private-methods.
.
Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
index 1600339..fcfd96d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -100,8 +100,8 @@ Copyright: 2015 Ingvar Stepanyan
License: BSD-2-clause
Files: debian/*
-Copyright: 2016-2018 Julien Puydt <jpuydt@debian.org>
- 2017-2018 Bastien Roucariès
+Copyright: 2016-2019 Julien Puydt <jpuydt@debian.org>
+ 2017-2019 Bastien Roucariès
License: Expat
Files: node-acorn-bigint/*
@@ -109,15 +109,25 @@ Copyright: 2017-2018 by Adrian Heine
License: Expat
Comment: https://github.com/acornjs/acorn-bigint
+Files: node-acorn-class-fields/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-class-fields
+
Files: node-acorn-dynamic-import/*
Copyright: 2016 Jordan Gensler <jordangens@gmail.com>
License: Expat
Comment: https://github.com/kesne/acorn-dynamic-import/
+Files: node-acorn-export-ns-from/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-export-ns-from
+
Files: node-acorn-import-meta/*
Copyright: 2017-2018 by Adrian Heine
License: Expat
-Comment: https://github.com/acornjs/acorn-meta-import
+Comment: https://github.com/acornjs/acorn-import-meta
Files: node-acorn-jsx/*
Copyright: 2012-2018 Ingvar Stepanyan
@@ -130,12 +140,32 @@ Comment: From https://github.com/browserify/acorn-node
the lib/ directory was removed in old version so LICENSE file is out
of date and this package is only apache-2.0
+Files: node-acorn-numeric-separator/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-numeric-separator
+
+Files: node-acorn-private-class-elements/*
+Copyright: 2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-private-class-elements
+
+Files: node-acorn-private-methods/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-private-methods
+
+Files: node-acorn-static-class-features/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-static-class-features
+
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
- http://www.apache.org/licenses/LICENSE-2.0
+ https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/debian/copyright.in b/debian/copyright.in
index 1600339..fcfd96d 100644
--- a/debian/copyright.in
+++ b/debian/copyright.in
@@ -100,8 +100,8 @@ Copyright: 2015 Ingvar Stepanyan
License: BSD-2-clause
Files: debian/*
-Copyright: 2016-2018 Julien Puydt <jpuydt@debian.org>
- 2017-2018 Bastien Roucariès
+Copyright: 2016-2019 Julien Puydt <jpuydt@debian.org>
+ 2017-2019 Bastien Roucariès
License: Expat
Files: node-acorn-bigint/*
@@ -109,15 +109,25 @@ Copyright: 2017-2018 by Adrian Heine
License: Expat
Comment: https://github.com/acornjs/acorn-bigint
+Files: node-acorn-class-fields/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-class-fields
+
Files: node-acorn-dynamic-import/*
Copyright: 2016 Jordan Gensler <jordangens@gmail.com>
License: Expat
Comment: https://github.com/kesne/acorn-dynamic-import/
+Files: node-acorn-export-ns-from/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-export-ns-from
+
Files: node-acorn-import-meta/*
Copyright: 2017-2018 by Adrian Heine
License: Expat
-Comment: https://github.com/acornjs/acorn-meta-import
+Comment: https://github.com/acornjs/acorn-import-meta
Files: node-acorn-jsx/*
Copyright: 2012-2018 Ingvar Stepanyan
@@ -130,12 +140,32 @@ Comment: From https://github.com/browserify/acorn-node
the lib/ directory was removed in old version so LICENSE file is out
of date and this package is only apache-2.0
+Files: node-acorn-numeric-separator/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-numeric-separator
+
+Files: node-acorn-private-class-elements/*
+Copyright: 2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-private-class-elements
+
+Files: node-acorn-private-methods/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-private-methods
+
+Files: node-acorn-static-class-features/*
+Copyright: 2017-2019 by Adrian Heine
+License: Expat
+Comment: https://github.com/acornjs/acorn-static-class-features
+
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
- http://www.apache.org/licenses/LICENSE-2.0
+ https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..b713356
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+pristine-tar = True
+
+[import-orig]
+filter = [ '.gitignore', '.travis.yml', '.git*' ]
diff --git a/debian/node-debbundle-acorn.install b/debian/node-debbundle-acorn.install
index 00e4e01..ce697dd 100644
--- a/debian/node-debbundle-acorn.install
+++ b/debian/node-debbundle-acorn.install
@@ -1,19 +1,31 @@
-build/acorn/dist usr/lib/nodejs/acorn/
-build/acorn-loose/dist usr/lib/nodejs/acorn-loose/
-build/acorn-walk/dist usr/lib/nodejs/acorn-walk/
-build/acorn/bin usr/lib/nodejs/acorn/
-build/acorn/package.json usr/lib/nodejs/acorn/
-build/acorn-loose/package.json usr/lib/nodejs/acorn-loose/
-build/acorn-walk/package.json usr/lib/nodejs/acorn-walk/
+build/acorn/dist usr/share/nodejs/acorn/
+build/acorn-loose/dist usr/share/nodejs/acorn-loose/
+build/acorn-walk/dist usr/share/nodejs/acorn-walk/
+build/acorn/bin usr/share/nodejs/acorn/
+build/acorn/package.json usr/share/nodejs/acorn/
+build/acorn-loose/package.json usr/share/nodejs/acorn-loose/
+build/acorn-walk/package.json usr/share/nodejs/acorn-walk/
-node-acorn-bigint/package.json usr/lib/nodejs/acorn-bigint/
-node-acorn-bigint/index.js usr/lib/nodejs/acorn-bigint/
-node-acorn-dynamic-import/package.json usr/lib/nodejs/acorn-dynamic-import/
-node-acorn-dynamic-import/lib usr/lib/nodejs/acorn-dynamic-import/
-node-acorn-import-meta/package.json usr/lib/nodejs/acorn-import-meta/
-node-acorn-import-meta/index.js usr/lib/nodejs/acorn-import-meta/
-node-acorn-jsx/package.json usr/lib/nodejs/acorn-jsx/
-node-acorn-jsx/*.js usr/lib/nodejs/acorn-jsx/
-node-acorn-node/package.json usr/lib/nodejs/acorn-node/
-node-acorn-node/index.js usr/lib/nodejs/acorn-node/
-node-acorn-node/walk.js usr/lib/nodejs/acorn-node/
+node-acorn-bigint/package.json usr/share/nodejs/acorn-bigint/
+node-acorn-bigint/index.js usr/share/nodejs/acorn-bigint/
+node-acorn-class-fields/package.json usr/share/nodejs/acorn-class-fields/
+node-acorn-class-fields/index.js usr/share/nodejs/acorn-class-fields/
+node-acorn-dynamic-import/package.json usr/share/nodejs/acorn-dynamic-import/
+node-acorn-dynamic-import/lib usr/share/nodejs/acorn-dynamic-import/
+node-acorn-export-ns-from/package.json usr/share/nodejs/acorn-class-fields/
+node-acorn-export-ns-from/index.js usr/share/nodejs/acorn-class-fields/
+node-acorn-import-meta/package.json usr/share/nodejs/acorn-import-meta/
+node-acorn-import-meta/index.js usr/share/nodejs/acorn-import-meta/
+node-acorn-jsx/package.json usr/share/nodejs/acorn-jsx/
+node-acorn-jsx/*.js usr/share/nodejs/acorn-jsx/
+node-acorn-node/package.json usr/share/nodejs/acorn-node/
+node-acorn-node/index.js usr/share/nodejs/acorn-node/
+node-acorn-node/walk.js usr/share/nodejs/acorn-node/
+node-acorn-numeric-separator/package.json usr/share/nodejs/acorn-numeric-separator
+node-acorn-numeric-separator/index.js usr/share/nodejs/acorn-numeric-separator
+node-acorn-private-class-elements/package.json usr/share/nodejs/acorn-private-class-elements/
+node-acorn-private-class-elements/index.js usr/share/nodejs/acorn-private-class-elements/
+node-acorn-private-methods/package.json usr/share/nodejs/acorn-private-methods
+node-acorn-private-methods/index.js usr/share/nodejs/acorn-private-methods
+node-acorn-static-class-features/package.json usr/share/nodejs/acorn-class-fields/
+node-acorn-static-class-features/index.js usr/share/nodejs/acorn-class-fields/
diff --git a/debian/node-debbundle-acorn.links b/debian/node-debbundle-acorn.links
index 0378a98..8a487c8 100644
--- a/debian/node-debbundle-acorn.links
+++ b/debian/node-debbundle-acorn.links
@@ -1,2 +1,2 @@
-usr/lib/nodejs/acorn/bin/acorn usr/bin/acorn
+usr/share/nodejs/acorn/bin/acorn usr/bin/acorn
diff --git a/debian/patches/0001-Use-babel-if-needed.patch b/debian/patches/0001-Use-babel-if-needed.patch
index c78877b..e6f30c2 100644
--- a/debian/patches/0001-Use-babel-if-needed.patch
+++ b/debian/patches/0001-Use-babel-if-needed.patch
@@ -1,4 +1,4 @@
-From cbd3f96ae6e5550cc2b7242fd5be83591a6bb0d8 Mon Sep 17 00:00:00 2001
+From 1a520c3ff64f725f2228a46bd339611d4d97c564 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=3D=3FUTF-8=3Fq=3FBastien=3D20Roucari=3DC3=3DA8s=3F=3D?=
<rouca@debian.org>
Date: Sat, 29 Dec 2018 19:40:33 +0100
@@ -8,17 +8,17 @@ Transpile is somewhat fragile. Allow ones to use babel6, babel7 if needed
Forwarded: no
---
- acorn-loose/rollup.config.js | 33 ++++++++++++++++++++++++++++++---
- acorn-walk/rollup.config.js | 33 ++++++++++++++++++++++++++++++---
- acorn/rollup.config.bin.js | 31 ++++++++++++++++++++++++++++++-
- acorn/rollup.config.js | 33 ++++++++++++++++++++++++++++++---
- 4 files changed, 120 insertions(+), 10 deletions(-)
+ acorn-loose/rollup.config.js | 58 +++++++++++++++++++++++-------------
+ acorn-walk/rollup.config.js | 52 ++++++++++++++++++++++----------
+ acorn/rollup.config.bin.js | 43 +++++++++++++++++++++-----
+ acorn/rollup.config.js | 52 ++++++++++++++++++++++----------
+ 4 files changed, 145 insertions(+), 60 deletions(-)
diff --git a/acorn-loose/rollup.config.js b/acorn-loose/rollup.config.js
-index e5cbc30..3a1331a 100644
+index 32f6d8a..3a1331a 100644
--- a/acorn-loose/rollup.config.js
+++ b/acorn-loose/rollup.config.js
-@@ -1,11 +1,38 @@
+@@ -1,25 +1,43 @@
import buble from "rollup-plugin-buble"
+import babel from "rollup-plugin-babel"
+
@@ -51,25 +51,63 @@ index e5cbc30..3a1331a 100644
+}
export default {
- entry: "./acorn-loose/src/index.js",
- moduleName: "acorn.loose",
+- input: "./acorn-loose/src/index.js",
+- output: [
+- {
+- file: "acorn-loose/dist/acorn-loose.js",
+- format: "umd",
+- name: "acorn.loose",
+- sourceMap: true,
+- external: ["acorn"],
+- globals: {acorn: "acorn"}
+- },
+- {
+- file: "acorn-loose/dist/acorn-loose.mjs",
+- format: "es",
+- sourceMap: true,
+- external: ["acorn"],
+- globals: {acorn: "acorn"}
+- }
++ entry: "./acorn-loose/src/index.js",
++ moduleName: "acorn.loose",
++ plugins: plugins,
++ sourceMap: true,
++ targets: [
++ {dest: "acorn-loose/dist/acorn-loose.js", format: "umd"},
++ {dest: "acorn-loose/dist/acorn-loose.mjs", format: "es"}
+ ],
- plugins: [
- buble({transforms: {dangerousForOf: true}})
-- ],
-+ plugins: plugins,
- sourceMap: true,
- targets: [
- {dest: "acorn-loose/dist/acorn-loose.js", format: "umd"},
+- ]
++ external: ["acorn"],
++ globals: {acorn: "acorn"}
+ }
diff --git a/acorn-walk/rollup.config.js b/acorn-walk/rollup.config.js
-index 2588b1c..ca9f1ba 100644
+index 36f9064..ca9f1ba 100644
--- a/acorn-walk/rollup.config.js
+++ b/acorn-walk/rollup.config.js
-@@ -1,11 +1,38 @@
+@@ -1,21 +1,41 @@
import buble from "rollup-plugin-buble"
+import babel from "rollup-plugin-babel"
-+
+
+-export default {
+- input: "acorn-walk/src/index.js",
+- output: [
+- {
+- file: "acorn-walk/dist/walk.js",
+- format: "umd",
+- name: "acorn.walk",
+- sourceMap: true
+- },
+- {
+- file: "acorn-walk/dist/walk.mjs",
+- format: "es",
+- sourceMap: true
+- }
+- ],
+- plugins: [
+const plugins_buble = [
-+ buble({transforms: {dangerousForOf: true}})
+ buble({transforms: {dangerousForOf: true}})
+];
+
+const plugins_babel6 = [
@@ -95,22 +133,22 @@ index 2588b1c..ca9f1ba 100644
+default:
+ plugins = plugins_buble;
+}
-
- export default {
- entry: "acorn-walk/src/index.js",
- moduleName: "acorn.walk",
-- plugins: [
-- buble({transforms: {dangerousForOf: true}})
-- ],
++
++export default {
++ entry: "acorn-walk/src/index.js",
++ moduleName: "acorn.walk",
+ plugins: plugins,
- sourceMap: true,
- targets: [
- {dest: "acorn-walk/dist/walk.js", format: "umd"},
++ sourceMap: true,
++ targets: [
++ {dest: "acorn-walk/dist/walk.js", format: "umd"},
++ {dest: "acorn-walk/dist/walk.mjs", format: "es"}
+ ]
+ }
diff --git a/acorn/rollup.config.bin.js b/acorn/rollup.config.bin.js
-index 19234cb..53cef1e 100644
+index 8a082b0..53cef1e 100644
--- a/acorn/rollup.config.bin.js
+++ b/acorn/rollup.config.bin.js
-@@ -1,4 +1,33 @@
+@@ -1,12 +1,39 @@
import buble from "rollup-plugin-buble"
+import babel from "rollup-plugin-babel"
+
@@ -143,24 +181,47 @@ index 19234cb..53cef1e 100644
+}
export default {
- entry: "acorn/src/bin/acorn.js",
-@@ -6,5 +35,5 @@ export default {
- format: "cjs",
- external: ["fs", "path", "acorn"],
- paths: {acorn: "./acorn.js"},
+- input: "acorn/src/bin/acorn.js",
+- output: {
+- file: "acorn/dist/bin.js",
+- format: "cjs",
+- paths: {acorn: "./acorn.js"},
+- external: ["fs", "path", "acorn"]
+- },
- plugins: [buble()]
++ entry: "acorn/src/bin/acorn.js",
++ dest: "acorn/dist/bin.js",
++ format: "cjs",
++ external: ["fs", "path", "acorn"],
++ paths: {acorn: "./acorn.js"},
+ plugins: plugins
}
diff --git a/acorn/rollup.config.js b/acorn/rollup.config.js
-index 79dac8e..59077e3 100644
+index 0705d4c..59077e3 100644
--- a/acorn/rollup.config.js
+++ b/acorn/rollup.config.js
-@@ -1,11 +1,38 @@
+@@ -1,21 +1,41 @@
import buble from "rollup-plugin-buble"
+import babel from "rollup-plugin-babel"
-+
+
+-export default {
+- input: "acorn/src/index.js",
+- output: [
+- {
+- file: "acorn/dist/acorn.js",
+- format: "umd",
+- name: "acorn",
+- sourceMap: true
+- },
+- {
+- file: "acorn/dist/acorn.mjs",
+- format: "es",
+- sourceMap: true
+- }
+- ],
+- plugins: [
+const plugins_buble = [
-+ buble({transforms: {dangerousForOf: true}})
+ buble({transforms: {dangerousForOf: true}})
+];
+
+const plugins_babel6 = [
@@ -186,14 +247,14 @@ index 79dac8e..59077e3 100644
+default:
+ plugins = plugins_buble;
+}
-
- export default {
- entry: "acorn/src/index.js",
- moduleName: "acorn",
-- plugins: [
-- buble({transforms: {dangerousForOf: true}})
-- ],
++
++export default {
++ entry: "acorn/src/index.js",
++ moduleName: "acorn",
+ plugins: plugins,
- sourceMap: true,
- targets: [
- {dest: "acorn/dist/acorn.js", format: "umd"},
++ sourceMap: true,
++ targets: [
++ {dest: "acorn/dist/acorn.js", format: "umd"},
++ {dest: "acorn/dist/acorn.mjs", format: "es"}
+ ]
+ }
diff --git a/debian/patches/0002-Transpile-for-node-v8.patch b/debian/patches/0002-Transpile-for-node-v8.patch
index be8fb32..67a9ccc 100644
--- a/debian/patches/0002-Transpile-for-node-v8.patch
+++ b/debian/patches/0002-Transpile-for-node-v8.patch
@@ -1,4 +1,4 @@
-From 72f15215cc4152f6ae9a112fb8286ba2a2911329 Mon Sep 17 00:00:00 2001
+From 47f77a8ce8659105519bb4f83397d37c33767ed7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=3D=3FUTF-8=3Fq=3FBastien=3D20Roucari=3DC3=3DA8s=3F=3D?=
<rouca@debian.org>
Date: Sat, 29 Dec 2018 21:51:45 +0100
diff --git a/debian/patches/0003-Do-not-transcode-lib-for-node-acorn-node.patch b/debian/patches/0003-Do-not-transcode-lib-for-node-acorn-node.patch
index 81bb70e..edc0c33 100644
--- a/debian/patches/0003-Do-not-transcode-lib-for-node-acorn-node.patch
+++ b/debian/patches/0003-Do-not-transcode-lib-for-node-acorn-node.patch
@@ -1,4 +1,4 @@
-From a2264c0f63a069c4c56bad1aa50ca811763a4a93 Mon Sep 17 00:00:00 2001
+From 006ff68587b46bd138f7d823f377df82f00775df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=3D=3FUTF-8=3Fq=3FBastien=3D20Roucari=3DC3=3DA8s=3F=3D?=
<rouca@debian.org>
Date: Sat, 29 Dec 2018 21:52:40 +0100
@@ -8,23 +8,54 @@ Does not need to be transcoded: already transcoded
Forwarded: no
---
- node-acorn-node/index.js | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ node-acorn-node/index.js | 10 +++++-----
+ node-acorn-node/package.json | 8 ++++----
+ 2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/node-acorn-node/index.js b/node-acorn-node/index.js
-index 0c979c9..519bebe 100644
+index 87e2836..8eaf331 100644
--- a/node-acorn-node/index.js
+++ b/node-acorn-node/index.js
-@@ -2,10 +2,10 @@ var acorn = require('acorn')
+@@ -2,13 +2,13 @@ var acorn = require('acorn')
var xtend = require('xtend')
var CJSParser = acorn.Parser
- .extend(require('./lib/bigint'))
+- .extend(require('./lib/class-fields'))
+- .extend(require('./lib/static-class-features'))
+ .extend(require('acorn-bigint'))
++ .extend(require('acorn-class-fields'))
++ .extend(require('acorn-static-class-features'))
.extend(require('acorn-dynamic-import').default)
var ESModulesParser = CJSParser
+- .extend(require('./lib/export-ns-from'))
- .extend(require('./lib/import-meta'))
++ .extend(require('acorn-export-ns-from'))
+ .extend(require('acorn-import-meta'))
function mapOptions (opts) {
if (!opts) opts = {}
+diff --git a/node-acorn-node/package.json b/node-acorn-node/package.json
+index 9f9696d..e1c24a2 100644
+--- a/node-acorn-node/package.json
++++ b/node-acorn-node/package.json
+@@ -10,15 +10,15 @@
+ "acorn": "^6.1.1",
+ "acorn-dynamic-import": "^4.0.0",
+ "acorn-walk": "^6.1.1",
+- "xtend": "^4.0.1"
+- },
+- "devDependencies": {
++ "xtend": "^4.0.1",
+ "acorn-bigint": "^0.3.1",
+ "acorn-class-fields": "^0.3.1",
+ "acorn-export-ns-from": "^0.1.0",
+ "acorn-import-meta": "^0.3.0",
+ "acorn-private-class-elements": "^0.1.1",
+- "acorn-static-class-features": "^0.2.0",
++ "acorn-static-class-features": "^0.2.0"
++ },
++ "devDependencies": {
+ "buble": "^0.19.7",
+ "mkdirp": "^0.5.1",
+ "standard": "^11.0.1",
diff --git a/debian/rules b/debian/rules
index 2a78d17..02dff29 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,8 @@ DOCS_COMPONENTS_FILES=$(call COMPONENTS_FILES,docs)
INSTALL_COMPONENTS_FILES=$(call COMPONENTS_FILES,install)
NODE_SUBPACKAGE=$(COMPONENTS)
ACORN_COMPONENTS=acorn-walk acorn-loose
+PACKAGES_DOCS_DIR=$(COMPONENTS) node-acorn node-acorn-walk node-acorn-loose
+
ACORN_MAIN_PACKAGES=acorn $(ACORN_COMPONENTS)
ACORN_SUBPACKAGE=$(foreach component,$(COMPONENTS),$(shell echo $(component) | sed 's/^/node-/g'))
MAIN_PACKAGE=node-debbundle-acorn
@@ -101,15 +103,59 @@ node-acorn-import-meta/build.stamp: $(BUILDDIR)/acorn/build.stamp $(ACORN_IMPORT
touch $@
+ACORN_PRIVATE_CLASS_ELEMENTS_SRC=node-acorn-private-class-elements/index.js
+
+node-acorn-private-class-elements/build.stamp: $(BUILDDIR)/acorn/build.stamp $(ACORN_PRIVATE_CLASS_ELEMENTS_SRC)
+ mkdir -p $(dir $@)/node_modules
+ ln -sf ../../$(BUILDDIR)/acorn $(dir $@)/node_modules/acorn
+
+
+ACORN_CLASS_FIELDS_SRC=node-acorn-class-fields/index.js
+
+node-acorn-class-fields/build.stamp: $(BUILDDIR)/acorn/build.stamp node-acorn-private-class-elements/build.stamp $(ACORN_CLASS_FIELDS_SRC)
+ mkdir -p $(dir $@)/node_modules
+ ln -sf ../../$(BUILDDIR)/acorn $(dir $@)/node_modules/acorn
+ ln -sf ../../node-acorn-private-class-elements $(dir $@)/node_modules/acorn-private-class-elements
+
+ACORN_STATIC_CLASS_FEATURES_SRC=node-acorn-static-class-features/index.js
+
+node-acorn-static-class-features/build.stamp: $(BUILDDIR)/acorn/build.stamp node-acorn-private-class-elements/build.stamp $(ACORN_STATIC_CLASS_FEATURES_SRC)
+ mkdir -p $(dir $@)/node_modules
+ ln -sf ../../$(BUILDDIR)/acorn $(dir $@)/node_modules/acorn
+ ln -sf ../../node-acorn-private-class-elements $(dir $@)/node_modules/acorn-private-class-elements
+
+ACORN_EXPORT_NS_FROM_SRC=node-acorn-export-ns-from/index.js
+
+node-acorn-export-ns-from/build.stamp: $(BUILDDIR)/acorn/build.stamp $(ACORN_EXPORT_NS_FROM_SRC)
+ mkdir -p $(dir $@)/node_modules
+ ln -sf ../../$(BUILDDIR)/acorn $(dir $@)/node_modules/acorn
+
+ACORN_NUMERIC_SEPARATOR_SRC=node-acorn-numeric-separator/index.js
+
+node-acorn-numeric-separator/build.stamp: $(BUILDDIR)/acorn/build.stamp $(ACORN_NUMERIC_SEPARATOR_SRC)
+ mkdir -p $(dir $@)/node_modules
+ ln -sf ../../$(BUILDDIR)/acorn $(dir $@)/node_modules/acorn
+
+ACORN_PRIVATE_METHODS_SRC=node-acorn-private-methods/index.js
+
+node-acorn-private-methods/build.stamp: $(BUILDDIR)/acorn/build.stamp node-acorn-private-class-elements/build.stamp $(ACORN_PRIVATE_METHODS_SRC)
+ mkdir -p $(dir $@)/node_modules
+ ln -sf ../../$(BUILDDIR)/acorn $(dir $@)/node_modules/acorn
+ ln -sf ../../node-acorn-private-class-elements $(dir $@)/node_modules/acorn-private-class-elements
+
ACORN_NODE_SRC=node-acorn-node/build.js node-acorn-node/walk.js node-acorn-node/index.js
-node-acorn-node/build.stamp: $(BUILDDIR)/acorn/build.stamp node-acorn-bigint/build.stamp node-acorn-import-meta/build.stamp $(BUILDDIR)/acorn-walk/build.stamp node-acorn-dynamic-import/build.stamp $(ACORN_NODE_SRC)
+node-acorn-node/build.stamp: $(BUILDDIR)/acorn/build.stamp node-acorn-bigint/build.stamp node-acorn-import-meta/build.stamp $(BUILDDIR)/acorn-walk/build.stamp node-acorn-dynamic-import/build.stamp $(ACORN_NODE_SRC) node-acorn-private-class-elements/build.stamp node-acorn-class-fields/build.stamp node-acorn-static-class-features/build.stamp node-acorn-export-ns-from/build.stamp
mkdir -p $(dir $@)/node_modules
ln -sf ../../$(BUILDDIR)/acorn $(dir $@)/node_modules/acorn
ln -sf ../../node-acorn-bigint $(dir $@)/node_modules/acorn-bigint
ln -sf ../../node-acorn-import-meta $(dir $@)/node_modules/acorn-import-meta
ln -sf ../../$(BUILDDIR)/acorn-walk $(dir $@)/node_modules/acorn-walk
ln -sf ../../node-acorn-dynamic-import $(dir $@)/node_modules/acorn-dynamic-import
+ ln -sf ../../node-acorn-private-class-elements $(dir $@)/node_modules/acorn-private-class-elements
+ ln -sf ../../node-acorn-class-fields $(dir $@)/node_modules/acorn-class-fields
+ ln -sf ../../node-acorn-static-class-features $(dir $@)/node_modules/acorn-static-class-features
+ ln -sf ../../node-acorn-export-ns-from $(dir $@)/node_modules/acorn-export-ns-from
touch $@
node-acorn-jsx/build.stamp: $(BUILDDIR)/acorn/build.stamp node-acorn-jsx/*.js
@@ -175,6 +221,34 @@ override_dh_auto_test: override_dh_auto_test_acorn
# not yet licence problem
# cd node-acorn-jsx/ && node test/run.js
cd node-acorn-jsx && node -e 'var acorn = require("acorn");var jsx = require(".");'
+ # run node-acorn-private-class-elements
+ @echo '*********************************************************'
+ @echo 'Run test suite for node-private-class-elements '
+ @echo '**********************************************************'
+ cd node-acorn-private-class-elements/ && mocha -R spec
+ # run acorn-class-fields
+ @echo '*********************************************************'
+ @echo 'Run test suite for node-class-fields'
+ @echo '**********************************************************'
+ cd node-acorn-class-fields/ && mocha -R spec
+ # run acorn-static-class-features
+ @echo '*********************************************************'
+ @echo 'Run test suite for node-acorn-static-class-features'
+ @echo '**********************************************************'
+ cd node-acorn-static-class-features/ && mocha -R spec
+ # run acorn-export-ns-from
+ @echo '*********************************************************'
+ @echo 'Run test suite for node-acorn-export-ns-from'
+ @echo '**********************************************************'
+ cd node-acorn-numeric-separator/ && mocha -R spec
+ @echo '*********************************************************'
+ @echo 'Run test suite for node-acorn-numeric-separator'
+ @echo '**********************************************************'
+ cd node-acorn-numeric-separator/ && mocha -R spec
+ @echo '*********************************************************'
+ @echo 'Run test suite for node-acorn-private-methods'
+ @echo '**********************************************************'
+ cd node-acorn-private-methods/ && mocha -R spec
# run node-acorn
@echo '*********************************************************'
@echo 'Run test suite for node-acorn-node '
@@ -216,29 +290,13 @@ override_dh_installman:
@echo '**********************************************************'
endif
-module-acorn-node/README.acorn-node.md: module-acorn-node/README.md
- ln $< $@
-debian/node-debbundle-acorn.docs: $(DOCS_COMPONENTS_FILES)
- set -e; \
- if test "X$(COMPONENTS)" != X; then \
- for c in $(COMPONENTS); do \
- if test -f debian/components/$$c/docs; then \
- sed -e "/^./ s,^,$$c/,g" < debian/components/$$c/docs >> $@; \
- else \
- true; \
- fi \
- done; \
- else \
- true;\
- fi;
-
-override_dh_installdocs: debian/node-debbundle-acorn.docs
+override_dh_installdocs:
#module-acorn-node/README.acorn-node.md
# manual building of copyright
mkdir -p debian/${MAIN_PACKAGE}/usr/share/doc/${MAIN_PACKAGE}
- if test "X$(NODE_SUBPACKAGE)$(ACORN_SUBPACKAGE)node-acorn" != X ; then \
- for module in $(NODE_SUBPACKAGE) $(ACORN_SUBPACKAGE) node-acorn; do \
+ if test "X$(PACKAGES_DOCS_DIR)" != X ; then \
+ for module in $(PACKAGES_DOCS_DIR); do \
mkdir -p "debian/${MAIN_PACKAGE}/usr/share/doc/$$module"; \
ln -s "../${MAIN_PACKAGE}/copyright" "debian/${MAIN_PACKAGE}/usr/share/doc/$$module/copyright" ; \
done; \
@@ -275,8 +333,8 @@ endif
override_dh_installchangelogs:
# create changelog
- if test "X$(NODE_SUBPACKAGE)$(ACORN_SUBPACKAGE)node-acorn" != X ; then \
- for module in $(NODE_SUBPACKAGE) $(ACORN_SUBPACKAGE) node-acorn; do \
+ if test "X$(PACKAGES_DOCS_DIR)" != X ; then \
+ for module in $(PACKAGES_DOCS_DIR); do \
mkdir -p "debian/$(MAIN_PACKAGE)/usr/share/doc/$$module"; \
ln -s "../$(MAIN_PACKAGE)/changelog.Debian.gz" "debian/$(MAIN_PACKAGE)/usr/share/doc/$$module/changelog.Debian.gz" ; \
done; \
diff --git a/debian/tests/control b/debian/tests/control
index 0bd8ac5..7e189b0 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -34,4 +34,21 @@ Depends: node-acorn-jsx, nodejs (>= 6)
Tests: require-acorn-node
Depends: node-acorn-node, nodejs (>= 6)
+Tests: require-acorn-private-class-features
+Depends: node-acorn-private-class-features, nodejs (>= 6)
+
+Tests: require-acorn-class-fields
+Depends: node-acorn-class-fields, nodejs (>= 6)
+
+Tests: require-acorn-static-class-features
+Depends: node-acorn-static-class-features, nodejs (>= 6)
+
+Tests: require-acorn-export-ns-from
+Depends: node-acorn-export-ns-from, nodejs (>= 6)
+
+Tests: require-acorn-numeric-separator
+Depends: node-acorn-numeric-separator, nodejs (>= 6)
+
+Tests: require-acorn-private-methods
+Depends: node-acorn-private-methods, nodejs (>= 6)
diff --git a/debian/tests/require-acorn-class-fields b/debian/tests/require-acorn-class-fields
new file mode 100755
index 0000000..7ceea11
--- /dev/null
+++ b/debian/tests/require-acorn-class-fields
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+node -e "require('acorn-class-fields');"
diff --git a/debian/tests/require-acorn-export-ns-from b/debian/tests/require-acorn-export-ns-from
new file mode 100755
index 0000000..eccea8e
--- /dev/null
+++ b/debian/tests/require-acorn-export-ns-from
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+node -e "require('acorn-export-ns-from');"
diff --git a/debian/tests/require-acorn-numeric-separator b/debian/tests/require-acorn-numeric-separator
new file mode 100755
index 0000000..fc7867b
--- /dev/null
+++ b/debian/tests/require-acorn-numeric-separator
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+node -e "require('acorn-numeric-separator');"
diff --git a/debian/tests/require-acorn-private-methods b/debian/tests/require-acorn-private-methods
new file mode 100755
index 0000000..fae498e
--- /dev/null
+++ b/debian/tests/require-acorn-private-methods
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+node -e "require('acorn-private-methods');"
diff --git a/debian/tests/require-acorn-static-class-features b/debian/tests/require-acorn-static-class-features
new file mode 100755
index 0000000..a2717f7
--- /dev/null
+++ b/debian/tests/require-acorn-static-class-features
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+node -e "require('acorn-static-class-features');"
diff --git a/debian/tests/requite-acorn-private-class-elements b/debian/tests/requite-acorn-private-class-elements
new file mode 100755
index 0000000..db03b0b
--- /dev/null
+++ b/debian/tests/requite-acorn-private-class-elements
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+node -e "require('acorn-private-class-elements');"
diff --git a/debian/watch b/debian/watch
index 3437c31..4d8172c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -8,7 +8,8 @@ opts="pgpmode=none,component=node-acorn-bigint,dversionmangle=s/@DEB_EXT@//,repa
https://github.com/acornjs/acorn-bigint/tags \
(?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ group
-opts="pgpmode=none,component=node-acorn-dynamic-import,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds,filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)$%node-acorn-dynamic-import-$1%" \
+# workarround problem with break/replace with uversionmangle should be removed with version > 4.0.0
+opts="pgpmode=none,component=node-acorn-dynamic-import,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds,oversionmangle=s/^4.0.0$/4.0.0+really4.0.0/,filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)$%node-acorn-dynamic-import-$1%" \
https://github.com/kesne/acorn-dynamic-import/tags \
(?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ group
@@ -28,4 +29,28 @@ opts="pgpmode=none,component=node-acorn-jsx,dversionmangle=s/@DEB_EXT@//,repacks
opts="pgpmode=none,component=node-acorn-node,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds,filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)$%node-acorn-node-$1%" \
https://github.com/browserify/acorn-node/tags \
+ (?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ group
+
+opts="pgpmode=none,component=node-acorn-private-class-elements,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds,filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)$%node-acorn-private-class-elements-$1%" \
+ https://github.com/acornjs/acorn-private-class-elements/tags \
+ (?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ group
+
+opts="pgpmode=none,component=node-acorn-class-fields,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds,filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)$%node-acorn-class-fields-$1%" \
+ https://github.com/acornjs/acorn-class-fields/tags \
+ (?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ group
+
+opts="pgpmode=none,component=node-acorn-static-class-features,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds,filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)$%node-acorn-static-class-features-$1%" \
+ https://github.com/acornjs/acorn-static-class-features/tags \
+ (?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ group
+
+opts="pgpmode=none,component=node-acorn-export-ns-from,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds,filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)$%node-acorn-export-ns-from-$1%" \
+ https://github.com/acornjs/acorn-export-ns-from/tags \
+ (?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ group
+
+opts="pgpmode=none,component=node-acorn-numeric-separator,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds,filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)$%node-acorn-numeric-separator-$1%" \
+ https://github.com/acornjs/acorn-numeric-separator/tags \
+ (?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ group
+
+opts="pgpmode=none,component=node-acorn-private-methods,dversionmangle=s/@DEB_EXT@//,repacksuffix=+ds,filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)$%node-acorn-private-methods-$1%" \
+ https://github.com/acornjs/acorn-private-methods/tags \
(?:.*?/)?v?(\d[\d.]*)@ARCHIVE_EXT@ group \ No newline at end of file