[Pkg-javascript-commits] [uglifyjs] branch upstream updated (ae2e82d -> 47cc9ab)
Jonas Smedegaard
dr at jones.dk
Fri Dec 9 13:25:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a change to branch upstream
in repository uglifyjs.
from ae2e82d New upstream version 2.7.4
adds 62bda71 Fix parens for AST_Undefined
adds 0e3ff1f Improved UglifyJS<->SpiderMonkey AST conversions.
adds 87b7236 Fixes and improvements for UglifyJS->SM AST conversion.
adds 05ba26c Small fixes for AST conversion.
adds 5e314bf SpiderMonkey `Identifier` nodes should contain mangled names.
adds ec3e74d Added license
adds f2d48e9 Merge branch 'patch-1' of https://github.com/gdw2/UglifyJS2
adds b467a3c Added generative testing for AST conversions.
adds f8ee5a0 Install newest NPM on oldest Node.js.
adds 18ddf2f Merge branch 'master' of https://github.com/RReverser/UglifyJS2
adds e391367 Added example for usage with SpiderMonkey AST.
adds e3066f9 Merge pull request #529 from RReverser/master
adds 548beeb Prevent error for Function(""). Close #538
adds 4c64554 Turn foo.new into foo["new"] when not --screw-ie8. Fix #534
adds 885835a Compress conditional assignments where all possible outcomes are equivalant and condition has no side effects
adds 7971ed3 Added a test for else if
adds fb0ec72 Compress conditions that have side effects using sequences
adds 57dab1e Merge pull request #541 from TalAter/conditional-improvements
adds 7be680d Don't warn for an unreferenced exception symbol in a catch block.
adds f0c1a01 Merge pull request #549 from Arnavion/unreferenced-catch-symbol
adds 01d19b4 Referencing a global is assumed to have side effects.
adds a64bdda Document `keep_fargs`. Close #557
adds f36a1ea Add option to allow return outside of functions.
adds 21b3c89 Use uglify source map token names if missing
adds f101d64 Merge pull request #546 from jacobk/patch-1
adds 5538ec7 v2.4.16
adds c75f5a1 Fix #597
adds 73cc050 Merge pull request #599 from rvanvelzen/fix-597
adds 6d1c3e1 Use yargs instead of optimist.
adds f7447ef Merge pull request #600 from KenPowers/master
adds 39d8880 Fix max_line_len not working for JSON files
adds 66e6f0c Merge pull request #592 from micschro/patch-1
adds fe06fc8 fix base54
adds 120948f Merge pull request #584 from clyfish/fix-base54
adds f4d36a5 Fix #569
adds 37c17d5 Merge pull request #570 from rvanvelzen/fix-569
adds 24bc09b Fix #556
adds 5bff65c Use svg instead of png to get better image quality
adds aa5dd15 Update README.md
adds 718e475 Fix backslashes in source-map paths on Windows
adds 4613644 passes in references to process and Buffer to silence ReferenceErrors
adds 0f80b10 Resolve the relative path to lib files last
adds ad18689 using the original sourcemap as the base
adds e37b67d Add an option to prevent function names from being mangled
adds e1f0747 Support keep_fnames in compressor, and --keep-fnames. #552
adds 0d48af3 Add a "keep_fnames" option to the compressor to retain function expression names
adds fe55e0d Merge branch 'keep-function-expression-names' of https://github.com/rvanvelzen/UglifyJS2
adds 93a6e57 Declare boolean type for --keep-fnames
adds 13219ce Fix handling \r\n
adds 7f9bc9e Pass mangle options to `figure_out_scope` and `compute_char_frequence`
adds 6b23cbc AST_Do nodes: walk body before condition
adds ae5366a Track ending lines/columns; fix end locations in Mozilla AST.
adds f16033a Location fix for Mozilla AST start token.
adds d2d7164 aborts(AST_If) returns the `if` node
adds 61c233a Fix make_node_from_constant for Regexp-s
adds 285bffd Document `--` for usage in CLI class
adds 0d232a1 Merge pull request #606 from rvanvelzen/document-double-dash
adds 524a8a4 added @ngInject support for inline functions
adds 6006dd9 added newline at the end of the file
adds a10f6a9 Merge pull request #482 from arty-name/inline-ng-inject
adds 42ecd42 Replace the correct node when replacing in `void` sequences
adds 189dbf0 Merge pull request #612 from rvanvelzen/issue-611
adds a1a4c2a Optimize conditionals where the consequent and alternative are both booleans and not equivalent
adds 9a3a848 Update unicode letter
adds 74cda80 Add unicode digit parsing support
adds f1b2134 Add test
adds d36067c Merge pull request #615 from avdg/unicode
adds 5c02d65 fixes issue #621 SourceMap toString JSON format
adds d78ae20 Make empty source map values more reasonable in .minify()
adds 099992e Keep single line comments after nlb, after nlb
adds fbbaa42 Add option to preserve/enforce string quote style
adds 605362f Drop all `console` statements properly
adds 7b71344 Parse regexes properly
adds 992b6b9 Fix invalid removal of left side in && and || compression
adds 61e850c Clean up unit test breakage
adds 0e41a3f Add .npmignore
adds ae07714 Add filename to the JS_Parse_Error exception.
adds 9de7199 v2.4.17
adds d36faff Fix parsing for U+2028 / U+2029
adds ecfd881 Keep unused function arguments by default
adds 36c28e0 Add start/end nodes for NaN/Infinity transformations
adds f0ab1b0 Avoid sequencesize for more than 2000 statements.
adds 5801fa3 [sequencesize] Actually even better:
adds 276b9a3 Fix compressing `![foo()];` as a statement
adds ea34301 Add property name mangler
adds 375c882 Fix --reserved-file
adds 0c80d21 Fix prop mangling
adds aa45f65 rename --prop-cache to --name-cache
adds 80cfd06 Export readNameCache / writeNameCache
adds f5eeed7 Add tool to list DOM properties/methods
adds 7c8c9b9 tools/props.html: use try/catch in a few more places
adds 80d1c82 Fix parsing for U+2028 / U+2029
adds 540c197 Bump yargs version (for .array arguments)
adds 3ef0923 Support multiple --reserved-file args
adds 03b6121 Add --reserve-domprops along with a default exclusion list in tools/domprops.json
adds bb010c2 tools/props.html: output complete JSON
adds 81b7335 Don't use Object.create
adds e1c3861 Export readDefaultReservedFile
adds 6b82069 Merge in more DOM properties.
adds 43991f8 Add tool to extract property names
adds a79ff06 Merge branch 'propmangle'
adds 3ec11c7 Update README
adds 73ca767 v2.4.18
adds 0262b42 Disable testing with Node 0.8
adds db396da Fix long options
adds 2ada34b Merge pull request #660 from ntkme/fix-long-options
adds 94205c3 v2.4.19
adds 2850dc6 Document passing source maps directly to minify() using inSourceMap
adds 3c846e6 Merge pull request #669 from galvanix/documentation-inSourceMap
adds 5d60484 More fixes for the breaking changes in yargs
adds e04ef56 Use the `before` visitor in mangle props
adds 18c63ff Fix compression of conditionals
adds 0552dbd v2.4.20
adds 763bd36 Test on latest `node` and `io.js`
adds efea52a Normalize package.json.
adds de58b02 Added expect_exact for testing the OutputStream
adds 274e1b3 Drop NaN -> 0/0 transformation.
adds 3b14582 Fix tests
adds 7b22f20 If name_cache is specified, do rename cached properties
adds 92e4340 Fix parsing strings with literal DOS newlines
adds c3a10c1 Avoid spurious brackets when dropping unused vars
adds d2dda34 Remove deprecated calls to utils.print/utils.error
adds 4aed083 Fix blank lines in the output.
adds d558abb v2.4.21
adds e637bda Only drop the BOM when it's the first character.
adds e48db3a Make reserved names take priority over the name cache
adds 44fd669 fix again reserved props
adds a5b6021 Fix compressing conditionals
adds 96ad94a v2.4.22
adds bce4307 Treat \uFEFF as whitespace.
adds c6fa291 v2.4.23
adds 0ac6918 Add --mangle-regex option
adds 9aef34a Show descriptive error when --mangle-regex is invalid
adds 0b82e1c Change --mangle-regex to accept a full regex
adds 5bf617e Merge pull request #733 from jcxplorer/add-mangle-regex-option
adds 85a5fc0 Don't drop parens in a * (b * c). Close #744
adds fedb619 optimizations for && and || where left side is constant expression
adds f47b2b5 operator && and || optimization: add "else" before "if" as intended
adds 9d398d9 spacing
adds 63fb2d5 Merge pull request #735 from kzc/master
adds 905b601 Don't attempt to negate non-boolean AST_Binary
adds ba9936a v2.4.24
adds 252fc65 Advanced way to specify if a function call might have side effects. #400
adds d681405 Give a good error message if an invalid regular expression is found.
adds 9854deb Re-use the caught exception's error message in the parse error call.
adds 881bda7 Make node.js 0.8 the minimum supported version.
adds f8684f4 Replace util.puts in run-tests with console.log
adds 170e8b5 Fix semicolon printing when restricting max line length
adds 3afad58 Revert "Fix semicolon printing when restricting max line length"
adds 66761d7 Fix semicolon printing when restricting max line length
adds ab15d67 Merge pull request #757 from rvanvelzen/semicolon-fix
adds 8108c7f Support wrap and exportAll options.
adds 958b6c2 Merge pull request #753 from Surgo/master
adds 759b3f7 Fix mangling of property names which overwrite unmangleable properties
adds 65ee5af Add keep_fnames compressor option to README.md
adds d7a4a4a Merge pull request #729 from DrewML/keep_fnames_docs
adds 4fba3e0 fromString option, use index from argument array for filename instead of "?"
adds 464a942 Merge pull request #736 from AlbertoGP/master
adds 3ff0b9e [Fix] --define replaces SymbolRefs in LHS of assignments
adds 6c8db6e Merge pull request #767 from vjeux/208
adds e3bd223 Don't change sequences that influence lexical binding in calls
adds fcde610 Fix bad parsing of `new new x()()` constructs
adds 3a5f354 allow for anonymous map generation using string type check
adds ba939cc Merge pull request #786 from istr/anonymous-source-map
adds 5fd1245 Control keeping function arguments with a single option
adds 20542a3 use a valid SPDX license identifier
adds 3352800 Fix wrap_commonjs to include code first
adds 99233c4 No longer use `vm` to load code.
adds 6637c26 Fix mozilla-ast after module loading changes
adds 233fb62 Disable node 0.8 in Travis
adds 7ee1ec9 Add node 4.x in Travis
adds 2a06c77 Merge pull request #808 from avdg/travis
adds c69294c Implement shebang support
adds 593677d Add proper support for "use asm"; blocks. Disable -c optimization within "use asm"; sections and preserve floating point literals in their original form. Non-asm.js sections are optimized as before. Asm.js sections can still be mangled and minified of whitespace. No special command line flags are required.
adds 0d952ae add asm.js test
adds 99945fc Pin dependencies with npm shrinkwrap
adds 4d2f7d8 Fix handling of "use asm" when no command line flags are passed to uglifyjs. SCOPE_IS_NEEDED is unconditionally true now. Refactored floating point literal parsing to be more in keeping with the AST class design.
adds 6500f8c get rid of SCOPE_IS_NEEDED as it was always true
adds e870c7d have minify() call figure_out_scope() if needed to produce well formed "use asm" code
adds a8e67d1 v2.5.0
adds 9f1f21b Output `-- >` instead of `-->` in expressions. Escape `<!--` and `-->` within string literals.
adds 17eef5a Only encode <!-- and --> in strings when inline_script
adds 1940fb6 Fix tests
adds dff54a6 Fix other operator output related to <!-- or -->
adds ce10072 Merge pull request #829 from kzc/html_comment_ops
adds eac67b2 upgrade yargs 3.5.4 -> 3.10.0
adds d5138f7 add `--pure-funcs` option
adds 6b2861e Make_string was missing \v and wasnt reversing vertical tabs even though read_escaped_char coverts them
adds b5623b1 Fix #836
adds a887cde fixes #845: \v escaping should be restricted to "screw_ie8" mode
adds 2a88d07 Stop building for io.js
adds 335e349 Allow specification beautify options in tests
adds 7491d07 optimize `return undefined` and `return void 0`
adds 841a661 more tests for `return undefined` optimization
adds bd0ae65 `return undefined` optimization no longer uses `return_void_0` option
adds 83db98a Fixed RegExp literal in mozilla AST generation/output and added a --dump-spidermonkey-ast flag
adds 37ee9de rename To_Moz_Literal to To_Moz_RegExp
adds 63d35f8 Prevent ReDoS by not using a regexp to verify floating point numbers
adds 18d37ac Fix parsing invalid input
adds 94c4daa Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags rather than non-standard `raw` property.
adds 7dbe961 simplify mozilla AST RegExpLiteral token parse and handle corner cases of regex.pattern better
adds 3c43467 Merge pull request #854 from kzc/moz-regexp-2
adds 7691beb Rework has_directive
adds 619adb0 Replace util.error with console.log
adds c898a26 Build label def/refs info when figuring out scope
adds 08623aa Fix output for "use asm" code from SpiderMonkey AST
adds d895c09 v2.6.0
adds 645626e Fix docs for keep_fargs
adds 08b8030 Merge pull request #864 from plievone/patch-1
adds b6968b6 Limit max iterations for tighten_body
adds 7f48d5b Fix endless loop
adds 15b5f70 v2.6.1
adds e87c77e Update README URLs based on HTTP redirects
adds 9e2f9f7 Merge pull request #879 from ReadmeCritic/master
adds bd99b00 Semicolon after do...while statement is optional
adds 5cd26c0 Add tests
adds 0cabedc Disable loop optimization for parse-only tests
adds ac810dc Merge pull request #896 from avdg/do-while-semicolon
adds 774bda1 #873 Fix `conditionals` optimizations with default compress options
adds 60c4030 Merge pull request #874 from kzc/fix-conditionals
adds 174404c Do not allow newlines in string literals
adds fe4e9f9 Fix hoisting the var in ForIn
adds 6f3e35b Fix ch that could contain other newline characters
adds 8c6af09 Add mocha tests
adds 88b77dd Add test case for line continuation
adds ac8db97 Merge pull request #905 from avdg/unit-tests
adds 6605d15 Never mangle arguments and keep them in their scope
adds 5c4e470 Add scope test for arguments
adds 8439c8b Make arguments test slightly more strict
adds 57e0faf Merge pull request #918 from avdg/fix-arguments-handling
adds 70e5b6f Add some tests for comment-filters through api
adds ebe118d Add keywords to package.json
adds 26641f3 Allow operator names as getters/setters
adds 8b71c65 Mark vars with /** @const */ pragma as consts so they can be eliminated.
adds 918c17b Update README for /** @const */
adds f97da42 Use TreeWalker for more accurate @const results and update tests
adds 4a7179f Simplify by skipping extra tree walk.
adds 1b70334 Tighten up @const regex.
adds b5a7197 Merge pull request #928 from STRML/constPragma
adds 799509e Added a mangle properties option
adds 915f907 Add start/end in the `arguments` definition
adds f4c2ea3 Collapse single use var definitions
adds 0a38a68 fix bug in collapse_vars for right side of "||" and "&&"
adds 3eb9101 Add mangleProperties documentation to README
adds af2472d collapse_vars: fix bug in repeated var defs of same name
adds 929de2b collapse_vars: fix if/else and ternary operator side effects
adds 7c3fee9 collapse_vars: avoid replacement across AST_Case nodes to be on safe side even though no issues seen.
adds 601780a Merge pull request #949 from kzc/collapse_vars_conditions
adds a123e23 Fixes #951 missing export for SymbolDef
adds cdba43c Create and map `bare-returns` into new `parse` property name
adds d5c651a Allow cli options to be specified in separate definitions
adds 7a4ed9d Revert "using the original sourcemap as the base"
adds 00c8d1d collapse_vars: document option in README
adds 12e6ad3 collapse_vars: small change to README
adds 63b01fe Merge pull request #948 from kzc/collapse_vars_doc
adds 31a9b05 Preserve ThisBinding in conditionals & collapse_vars
adds 9662228 Don't compress (0, eval)() to eval()
adds 6547437 preserve ThisBinding for side_effects
adds bdd8e34 Allow --no-* options to disable their respective parameter
adds 5486b68 Take operator || precendence into account for AST_If optimization.
adds 11b0efd boolean_expression ? true : false --> boolean_expression
adds 294861b v2.6.2
adds 102d1b9 #877 Ignore mangle sort option
adds ee6c9fa Fix: Uglified Number.prototype functions on big numbers
adds 07bb726 Escape all ASCII control characters within strings when using ascii_only.
adds c3c7587 Merge pull request #1019 from kzc/escape-ascii-only
adds a9d4a62 Do not produce `let` as a variable name in mangle. Would previously occur in large generated functions with 21,000+ variables. Fixes #986.
adds 21befe5 Attempt to increase timeout for mocha let test.
adds f68de86 Merge pull request #1011 from kzc/dont-produce-let-in-mangle
adds 9bcf702 added documentation on conditional compilation using API
adds 45ddb9c Speedup `unused` compress option for already minified code
adds 9843425 Optimize ternaries with boolean consequent or alternative.
adds 9317237 Avoid using inherited hasOwnProperty
adds c70d176 Simplify member(name, array) implementation.
adds b434b75 Merge pull request #1032 from kzc/member
adds 3907a5e Fix warnings for referenced non-hoisted functions.
adds b5a7a23 Actually limit sequence length.
adds 187a0ca Add base54.reset() to compress tests
adds 4b4528e Prevent endless recursion when evaluating self-referencing consts
adds e4fa4b1 Parse comments without recursion to avoid RangeError.
adds c55dd5e Add `passes` compress option. Fix duplicate compress warnings.
adds 4fe6304 Hoist functions when reversing if (x) return; ... vs. if (!x) ...
adds 4d9a085 Add test case for hoisting a single function
adds e9224ab Add test cases for slightly more esoteric cases
adds 65887d9 Merge pull request #1053 from rvanvelzen/hoist_if_return_funs
adds f39fd3d Handle CR line endings in comments.
adds 35bc716 Add node 6 to travis
adds d294574 Workaround for process.exit() tty output truncation.
adds 6641dca Fix regression causing tests to fail on windows
adds a0e03c9 Retain comments before AST_Constants during mangle.
adds bcc1318 Do not apply negate_iife optimization to `new` expression
adds 5f464b4 Simplify iife `new` fix
adds 27eedbc Never produce -0 when evaluating expressions (like -"")
adds bc49dfd Completely allow evaluating -0
adds 1e39026 Optimize if_return for single if/return cases.
adds 09d5707 collapse_vars: Do not consider RegExp literals to be constants
adds 00ad57e Do not allow newlines in regex
adds 5cb5305 Export tokenizer function
adds 8287ef6 Fix uglify attempting to rewrite invalid new expressions
adds 31d5825 Catch errors when compression test fails to parse
adds 4d7746b Throw errors in strict mode for octal strings
adds ea31da2 Don't drop unused if scope uses with statement
adds f99b7b6 Escape null characters as \0 unless followed by 0-7.
adds 9c53c7a Fix octal string strict mode tests
adds 6c8e001 Stop dropping args in new expressions
adds bb9c970 Don't allow with statements in strict mode
adds 5c4cfaa Re-add parens after new expression in beautify mode
adds d7971ba Fix test262 failures related to <, <=, in and instanceof
adds 2149bfb Don't mix strings with directives in output
adds 6c99816 Normalize error messages
adds e645ba8 Respect quote style in object literals
adds fc1abd1 Document the except option to mangle
adds 55c592d v2.6.3
adds aa82027 Don't assume DEBUG is defined when exporting --self
adds 85fbf86 Keep master in sync with harmony
adds 0c003c9 Don't replace undefined, NaN and Infinity within with scope
adds ace8aaa Fix conditional expressions of form (x ? -1 : -1)
adds 1840a0b Merge pull request #1155 from kzc/issue_1154
adds 9676167 v2.6.4
adds 3a7d53f Move OctalEscapeSequence to read_escape_char
adds 335b72d Fix spidermonkey AST (ESTree) export and import, Array holes
adds 030611b Add Node API documentation for mangling options
adds 02c6382 Enable --screw-ie8 by default.
adds a97690f Various LineTerminator changes
adds 85924bb Allow input files to be map (url->filename)
adds b7ef784 Allow sequences maximum length to be user configurable.
adds b40d5de Change the default sequences limit to 200 to speed up compress.
adds 5576e27 Document that the smallest sequences optimization length is 2
adds debc525 Introduce a test that tests the --self build
adds 698705a Don't convert all strings to directives from moz-ast
adds 572b97b v2.7.0
adds 2650182 Backport mocha with test from harmony
adds 2d8af89 Fix error style for regex errors
adds eb63fec Fix mangle with option keep_fnames=true for Safari.
adds 7eb52d2 Keep const in own scope while compressing
adds 41a9329 lib/sourcemap.js: Copy sourceContent from old souce-map to the new source-map. Should fix #882
adds af37eca Source map URL override from programmatic API
adds 9edbe93 Fix the document of keep_fnames option
adds e8b23c7 Build with AppVeyor on windows
adds 642273c Legacy octal integer strict mode fixes
adds 67cca43 Test reparsing test/compress/*.js output
adds fb049d3 Fix unneeded parens around unary args in new expression.
adds 307b88d Fixed sourceMapIncludeSources and inSourceMap = string combination of the UglifyJS.minify function.
adds 85a09fc Added test for #1236
adds 38756b1 Moved test input files to test/input.
adds 72306b9 Add simple file globbing to bin/uglifyjs for Windows
adds dcdcfe4 Add input file glob support to minify()
adds 86859f6 Additional object literal property tests
adds de619ae Fix --mangle-props and --mangle-props=unquoted
adds 37f4395 Add missing `{` in README
adds 781f26e v2.7.1
adds d854523 Fix negate_iife regression #1254
adds 614db97 v2.7.2
adds 8430123 Fix negate_iife transform to return a correct tree for nested IIFEs
adds 1a78bbc v2.7.3
adds 0bd8053 implement optimization: (x = 2 * x) ---> (x *= 2)
adds 25fc027 Account for side effects in `string + expr` optimization
adds 7d8dea3 Merge pull request #1277 from kzc/fix-string-plus-opt
adds 0111497 Make all comment options in cli available in js api
adds 4761d07 Optimize unmodified variables
adds fc9804b Fix (typeof side_effect()) in boolean context
adds e05510f Add an option to wrap IIFEs in parenthesis
adds 6389e52 Remove console.log and add extra test case
adds e51c6ba Add an option for writing inline source map
adds 266ddd9 fix uses_arguments handling (broken since 6605d1578351)
adds 8d74f34 Don't filter shebangs when using the 'some' comment filter
adds 557b3e4 v2.7.4
adds 057de57 Pass mangle options to figure_out_scope before mangling in tests
adds 79b98a9 Do not overwrite options.comments + cleanup
adds 2a9989d Add --mangle-props-debug and fix --mangle-props=unquoted collision
adds 0a35acb feat: add option.outFileName for JS API, if absense, sourceMap.file field will deduced
adds a7b3b0d docs: add doc for option.outFileName
adds 98f3306 Generate source map data from normalized files
adds f637248 v2.7.5
adds 47cc9ab New upstream version 2.7.5
No new revisions were added by this update.
Summary of changes:
README.md | 31 +++++++++--
bin/uglifyjs | 4 +-
lib/compress.js | 24 ++++-----
lib/output.js | 77 ++++++++++++++--------------
lib/propmangle.js | 34 ++++++++++--
lib/sourcemap.js | 2 +-
lib/utils.js | 2 +
package.json | 2 +-
test/compress/issue-1321.js | 54 +++++++++++++++++++
test/compress/properties.js | 92 +++++++++++++++++++++++++++++++++
test/compress/screw-ie8.js | 114 ++++++++++++++++++++++++++++++++++++++++-
test/mocha/comment-filter.js | 12 ++++-
test/mocha/input-sourcemaps.js | 63 +++++++++++++++--------
test/mocha/minify-file-map.js | 14 +++--
test/mocha/minify.js | 3 +-
test/mocha/screw-ie8.js | 23 +++++++++
test/run-tests.js | 2 +-
tools/node.js | 4 +-
18 files changed, 467 insertions(+), 90 deletions(-)
create mode 100644 test/compress/issue-1321.js
create mode 100644 test/mocha/screw-ie8.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list