Package: node-terser / 5.46.1-3

Metadata

Package Version Patches format
node-terser 5.46.1-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
1001_commander.patch | (download)

lib/cli.js | 102 56 + 46 - 0 !
1 file changed, 56 insertions(+), 46 deletions(-)

 support node module commander release 9
 This patch changes option parsing
 to be compatible with NodeJS module commander v9
 (and possibly v7 and v8 as well),
 at the expense of compatibility with older releases of commander.
2001_avoid_privacy_breach.patch | (download)

README.md | 31 7 + 24 - 0 !
1 file changed, 7 insertions(+), 24 deletions(-)

 avoid privacy breaches reading the documentation
2002_avoid_astring.patch | (download)

package.json | 2 1 + 1 - 0 !
test/mocha/spidermonkey.js | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 avoid nodejs module astring
 Revert upstream change to switch code parser:
 The change was done because of a bug/shortcoming in the old parser
 which was since solved,
 and the replacement parser is not in Debian.
2003_eslint.patch | (download)

lib/cli.js | 7 3 + 4 - 0 !
1 file changed, 3 insertions(+), 4 deletions(-)

 tidy source code whitespace
2004_fix_commonjs_suffix.patch | (download)

package.json | 6 3 + 3 - 0 !
rollup.config.js | 2 1 + 1 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 fi commonjs suffix
fix commander 14 compat.patch | (download)

bin/terser | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use named import for commander 14 compatibility
 Commander 12+ removed the default export of a global Command instance.
 Use the named { program } export instead.