[Pkg-javascript-commits] [uglifyjs] annotated tag upstream/2.7.5 created (now e4d9b91)

Jonas Smedegaard dr at jones.dk
Fri Dec 9 11:43:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag upstream/2.7.5
in repository uglifyjs.

        at  e4d9b91   (tag)
   tagging  47cc9abd2810f1bb0eff5ba1a22582fba9cacac6 (commit)
  replaces  upstream/2.7.4
 tagged by  Jonas Smedegaard
        on  Fri Dec 9 11:23:16 2016 +0100

- Log -----------------------------------------------------------------
Upstream version 2.7.5
-----BEGIN PGP SIGNATURE-----

iQIcBAABCAAGBQJYSoYUAAoJECx8MUbBoAEhSF4QAKXG6Q5CLrpQixjlSAFPRBfD
VzH7MmCPrVKzpRe78D4p6bNiZj57DJNovJwigNYB558rS02HLLaiLbRtqSHkp5RW
4zB250CQ3osqfzVB+LljCuSzwtZor2ZsXveO+rOr8zkdE+scz5jesAS4ChcgQ/A4
1EUEHwOGugpMm55kJlcdUf+nfyRXqduM42e/dAlMbRV5h80xegROxZEokklFFf4l
iSXTY/OXNC4fy1KFg0KdGj8NAXt3LPQHBLNc0i8bn80/Vwzg0rk+f5470YUamxRq
3VQiNTVeedpvN/gl1pXsJ0iFJggK2/eo4ROgt4X9GIbO3SWvXVvQRZvrIynVn9dL
TFRDlqZ7dIp2G5YSCzzZtehCJGM4jWHyq591ZXjkZc+qNhPN0aob5WF4x2wWQ4Vg
LnsJxFJsVZl3w7+oFAnsYSTgM2ivfv/Fe58V8LlJnj+dWeLR3tMZV2QFqABr5mty
YympowjFTvFcxG0oODLcthCcqhazuWyvWrfyLUiT0oW4Lb7ME45Gzl7khCLLpexv
bStLx5bCUHtNUyPn/R0m2cLTl47g3ycKi2dqDt1fVTt9Iytw+c8BX7O5YlNhfCPW
iEI9GMNsLeLHpG5I5QDAoyXXs6YUTBPTxBXa50+j6qERx9yOmAiwoL7A2kp+WLDi
IZxIuVRJWxyyb0bIeZCq
=uJNP
-----END PGP SIGNATURE-----

1111hui (2):
      feat: add option.outFileName for JS API, if absense, sourceMap.file field will deduced
      docs: add doc for option.outFileName

Alberto González Palomo (1):
      fromString option, use index from argument array for filename instead of "?"

Andrew Levine (1):
      Add keep_fnames compressor option to README.md

Anthony Van de Gejuchte (45):
      Update unicode letter
      Add unicode digit parsing support
      Add test
      Keep single line comments after nlb, after nlb
      Parse regexes properly
      Add node 4.x in Travis
      Implement shebang support
      Semicolon after do...while statement is optional
      Add tests
      Disable loop optimization for parse-only tests
      Do not allow newlines in string literals
      Fix ch that could contain other newline characters
      Add mocha tests
      Add test case for line continuation
      Never mangle arguments and keep them in their scope
      Add scope test for arguments
      Make arguments test slightly more strict
      Add some tests for comment-filters through api
      Add keywords to package.json
      Allow operator names as getters/setters
      Add node 6 to travis
      Fix regression causing tests to fail on windows
      Do not allow newlines in regex
      Fix uglify attempting to rewrite invalid new expressions
      Catch errors when compression test fails to parse
      Throw errors in strict mode for octal strings
      Don't drop unused if scope uses with statement
      Stop dropping args in new expressions
      Don't allow with statements in strict mode
      Re-add parens after new expression in beautify mode
      Fix test262 failures related to <, <=, in and instanceof
      Don't mix strings with directives in output
      Normalize error messages
      Keep master in sync with harmony
      Move OctalEscapeSequence to read_escape_char
      Various LineTerminator changes
      Don't convert all strings to directives from moz-ast
      Backport mocha with test from harmony
      Fix error style for regex errors
      Keep const in own scope while compressing
      Legacy octal integer strict mode fixes
      Make all comment options in cli available in js api
      Don't filter shebangs when using the 'some' comment filter
      Pass mangle options to figure_out_scope before mangling in tests
      Do not overwrite options.comments + cleanup

Arnavion (1):
      Don't warn for an unreferenced exception symbol in a catch block.

Artemy Tregubenko (2):
      added @ngInject support for inline functions
      added newline at the end of the file

Ashley (Scirra) (1):
      Add --mangle-props-debug and fix --mangle-props=unquoted collision

Asia (1):
      Document the except option to mangle

Austin Brown (1):
      Update README.md

Boris Letocha (1):
      Fixes #951 missing export for SymbolDef

Bryan Rayner (1):
      Add mangleProperties documentation to README

Bryce Cronkite-Ratcliff (1):
      fixes issue #621 SourceMap toString JSON format

Caridy Patino (1):
      using the original sourcemap as the base

ChALkeR (1):
      Export tokenizer function

Cheng Liangyu (1):
      fix base54

Chris Cowan (2):
      Give a good error message if an invalid regular expression is found.
      Re-use the caught exception's error message in the parse error call.

Christopher Chedeau (1):
      [Fix] --define replaces SymbolRefs in LHS of assignments

Damian Krzeminski (2):
      upgrade yargs 3.5.4 -> 3.10.0
      add `--pure-funcs` option

David Bau (1):
      Escape null characters as \0 unless followed by 0-7.

David Caldwell (1):
      Document passing source maps directly to minify() using inSourceMap

Derek Wickern (1):
      Fix backslashes in source-map paths on Windows

Edward Casbon (1):
      Add filename to the JS_Parse_Error exception.

Fábio Santos (2):
      Added expect_exact for testing the OutputStream
      Fix #836

Geraint (1):
      Allow input files to be map (url->filename)

Ingo Struck (1):
      allow for anonymous map generation using string type check

Ingvar Stepanyan (9):
      Improved UglifyJS<->SpiderMonkey AST conversions.
      Fixes and improvements for UglifyJS->SM AST conversion.
      Small fixes for AST conversion.
      SpiderMonkey `Identifier` nodes should contain mangled names.
      Added generative testing for AST conversions.
      Install newest NPM on oldest Node.js.
      Added example for usage with SpiderMonkey AST.
      Track ending lines/columns; fix end locations in Mozilla AST.
      Location fix for Mozilla AST start token.

Jacob Kristhammar (1):
      Use uglify source map token names if missing

Jann Horn (1):
      fix uses_arguments handling (broken since 6605d1578351)

Jeremy Marzka (1):
      Added a mangle properties option

Joao Carlos (3):
      Add --mangle-regex option
      Show descriptive error when --mangle-regex is invalid
      Change --mangle-regex to accept a full regex

Jonas Smedegaard (1):
      New upstream version 2.7.5

Jordan Harband (1):
      Test on latest `node` and `io.js`

Kenneth Powers (1):
      Use yargs instead of optimist.

Kosei Kitahara (1):
      Support wrap and exportAll options.

Kyle Mitchell (1):
      use a valid SPDX license identifier

Lauri Pokka (1):
      lib/sourcemap.js: Copy sourceContent from old souce-map to the new source-map. Should fix #882

Lucas Wiener (3):
      Fixed sourceMapIncludeSources and inSourceMap = string combination of the UglifyJS.minify function.
      Added test for #1236
      Moved test input files to test/input.

Martii (1):
      Create and map `bare-returns` into new `parse` property name

Martijn Swaagman (1):
      Generate source map data from normalized files

Michael Ficarra (1):
      fixes #845: \v escaping should be restricted to "screw_ie8" mode

Mihai Bazon (112):
      Fix parens for AST_Undefined
      Merge branch 'patch-1' of https://github.com/gdw2/UglifyJS2
      Merge branch 'master' of https://github.com/RReverser/UglifyJS2
      Merge pull request #529 from RReverser/master
      Prevent error for Function("").  Close #538
      Turn foo.new into foo["new"] when not --screw-ie8.  Fix #534
      Merge pull request #541 from TalAter/conditional-improvements
      Merge pull request #549 from Arnavion/unreferenced-catch-symbol
      Referencing a global is assumed to have side effects.
      Document `keep_fargs`.  Close #557
      Add option to allow return outside of functions.
      Merge pull request #546 from jacobk/patch-1
      v2.4.16
      Merge pull request #599 from rvanvelzen/fix-597
      Support keep_fnames in compressor, and --keep-fnames. #552
      Merge branch 'keep-function-expression-names' of https://github.com/rvanvelzen/UglifyJS2
      Declare boolean type for --keep-fnames
      Fix handling \r\n
      AST_Do nodes: walk body before condition
      aborts(AST_If) returns the `if` node
      Fix make_node_from_constant for Regexp-s
      Merge pull request #606 from rvanvelzen/document-double-dash
      Merge pull request #482 from arty-name/inline-ng-inject
      Merge pull request #612 from rvanvelzen/issue-611
      Merge pull request #615 from avdg/unicode
      Add option to preserve/enforce string quote style
      v2.4.17
      Add property name mangler
      Fix --reserved-file
      Fix prop mangling
      rename --prop-cache to --name-cache
      Export readNameCache / writeNameCache
      Add tool to list DOM properties/methods
      tools/props.html: use try/catch in a few more places
      Fix parsing for U+2028 / U+2029
      Fix parsing for U+2028 / U+2029
      Bump yargs version (for .array arguments)
      Support multiple --reserved-file args
      Add --reserve-domprops along with a default exclusion list in tools/domprops.json
      tools/props.html: output complete JSON
      Don't use Object.create
      Keep unused function arguments by default
      Export readDefaultReservedFile
      Add start/end nodes for NaN/Infinity transformations
      Avoid sequencesize for more than 2000 statements.
      [sequencesize] Actually even better:
      Fix compressing `![foo()];` as a statement
      Merge in more DOM properties.
      Add tool to extract property names
      Merge branch 'propmangle'
      Update README
      v2.4.18
      Disable testing with Node 0.8
      Merge pull request #660 from ntkme/fix-long-options
      v2.4.19
      Merge pull request #669 from galvanix/documentation-inSourceMap
      More fixes for the breaking changes in yargs
      Use the `before` visitor in mangle props
      Fix compression of conditionals
      v2.4.20
      Drop NaN -> 0/0 transformation.
      Fix tests
      If name_cache is specified, do rename cached properties
      Fix parsing strings with literal DOS newlines
      Avoid spurious brackets when dropping unused vars
      Remove deprecated calls to utils.print/utils.error
      Fix blank lines in the output.
      v2.4.21
      Only drop the BOM when it's the first character.
      Make reserved names take priority over the name cache
      fix again reserved props
      Fix compressing conditionals
      v2.4.22
      Treat \uFEFF as whitespace.
      v2.4.23
      Merge pull request #733 from jcxplorer/add-mangle-regex-option
      Don't drop parens in a * (b * c).  Close #744
      Merge pull request #735 from kzc/master
      Don't attempt to negate non-boolean AST_Binary
      v2.4.24
      Merge pull request #757 from rvanvelzen/semicolon-fix
      Fix wrap_commonjs to include code first
      No longer use `vm` to load code.
      Fix mozilla-ast after module loading changes
      Disable node 0.8 in Travis
      Merge pull request #808 from avdg/travis
      v2.5.0
      Only encode <!-- and --> in strings when inline_script
      Fix tests
      Merge pull request #829 from kzc/html_comment_ops
      Fix parsing invalid input
      Merge pull request #854 from kzc/moz-regexp-2
      Rework has_directive
      Replace util.error with console.log
      Build label def/refs info when figuring out scope
      Fix output for "use asm" code from SpiderMonkey AST
      v2.6.0
      Limit max iterations for tighten_body
      Fix endless loop
      v2.6.1
      Fix hoisting the var in ForIn
      Add start/end in the `arguments` definition
      Merge pull request #949 from kzc/collapse_vars_conditions
      v2.6.2
      Merge pull request #1019 from kzc/escape-ascii-only
      Merge pull request #1011 from kzc/dont-produce-let-in-mangle
      Avoid using inherited hasOwnProperty
      Merge pull request #1032 from kzc/member
      Actually limit sequence length.
      Merge pull request #1053 from rvanvelzen/hoist_if_return_funs
      Merge pull request #1155 from kzc/issue_1154
      Merge pull request #1277 from kzc/fix-string-plus-opt

Peter Dave Hello (1):
      Use svg instead of png to get better image quality

ReadmeCritic (1):
      Update README URLs based on HTTP redirects

Richard van Velzen (64):
      Fix #597
      Fix #569
      Merge pull request #600 from KenPowers/master
      Merge pull request #592 from micschro/patch-1
      Merge pull request #584 from clyfish/fix-base54
      Merge pull request #570 from rvanvelzen/fix-569
      Fix #556
      Add a "keep_fnames" option to the compressor to retain function expression names
      Add an option to prevent function names from being mangled
      Pass mangle options to `figure_out_scope` and `compute_char_frequence`
      Document `--` for usage in CLI class
      Replace the correct node when replacing in `void` sequences
      Make empty source map values more reasonable in .minify()
      Drop all `console` statements properly
      Fix invalid removal of left side in && and || compression
      Clean up unit test breakage
      Replace util.puts in run-tests with console.log
      Fix semicolon printing when restricting max line length
      Revert "Fix semicolon printing when restricting max line length"
      Fix semicolon printing when restricting max line length
      Merge pull request #753 from Surgo/master
      Fix mangling of property names which overwrite unmangleable properties
      Merge pull request #729 from DrewML/keep_fnames_docs
      Merge pull request #736 from AlbertoGP/master
      Merge pull request #767 from vjeux/208
      Don't change sequences that influence lexical binding in calls
      Fix bad parsing of `new new x()()` constructs
      Merge pull request #786 from istr/anonymous-source-map
      Stop building for io.js
      Allow specification beautify options in tests
      Prevent ReDoS by not using a regexp to verify floating point numbers
      Merge pull request #864 from plievone/patch-1
      Merge pull request #879 from ReadmeCritic/master
      Merge pull request #896 from avdg/do-while-semicolon
      Merge pull request #874 from kzc/fix-conditionals
      Merge pull request #905 from avdg/unit-tests
      Merge pull request #918 from avdg/fix-arguments-handling
      Merge pull request #928 from STRML/constPragma
      Allow cli options to be specified in separate definitions
      Merge pull request #948 from kzc/collapse_vars_doc
      Don't compress (0, eval)() to eval()
      Allow --no-* options to disable their respective parameter
      Add base54.reset() to compress tests
      Prevent endless recursion when evaluating self-referencing consts
      Hoist functions when reversing if (x) return; ... vs. if (!x) ...
      Add test case for hoisting a single function
      Add test cases for slightly more esoteric cases
      Never produce -0 when evaluating expressions (like -"")
      Completely allow evaluating -0
      Fix octal string strict mode tests
      v2.6.3
      Don't assume DEBUG is defined when exporting --self
      v2.6.4
      Introduce a test that tests the --self build
      v2.7.0
      Build with AppVeyor on windows
      v2.7.1
      v2.7.2
      Fix negate_iife transform to return a correct tree for nested IIFEs
      v2.7.3
      Add an option to wrap IIFEs in parenthesis
      Remove console.log and add extra test case
      v2.7.4
      v2.7.5

Rob Loach (1):
      Add .npmignore

Samuel Reed (5):
      Mark vars with /** @const */ pragma as consts so they can be eliminated.
      Update README for /** @const */
      Use TreeWalker for more accurate @const results and update tests
      Simplify by skipping extra tree walk.
      Tighten up @const regex.

Sebastien Daniel (1):
      added documentation on conditional compilation using API

Shrey Banga (1):
      Respect quote style in object literals

SpainTrain (1):
      Pin dependencies with npm shrinkwrap

Tal Ater (4):
      Compress conditional assignments where all possible outcomes are equivalant and condition has no side effects
      Added a test for else if
      Compress conditions that have side effects using sequences
      Optimize conditionals where the consequent and alternative are both booleans and not equivalent

Timothy Gu (1):
      Add missing `{` in README

Ville Lautanala (1):
      Control keeping function arguments with a single option

XhmikosR (2):
      Normalize package.json.
      Make node.js 0.8 the minimum supported version.

Yotam Spenser (1):
      Source map URL override from programmatic API

achingbrain (1):
      passes in references to process and Buffer to silence ReferenceErrors

alexlamsl (3):
      Preserve ThisBinding in conditionals & collapse_vars
      preserve ThisBinding for side_effects
      Optimize unmodified variables

gdw2 (1):
      Added license

homuler (1):
      Fix the document of keep_fnames option

iliashk (1):
      Add Node API documentation for mangling options

kzc (62):
      optimizations for && and || where left side is constant expression
      operator && and || optimization: add "else" before "if" as intended
      spacing
      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.
      add asm.js test
      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.
      get rid of SCOPE_IS_NEEDED as it was always true
      have minify() call figure_out_scope() if needed to produce well formed "use asm" code
      Output `-- >` instead of `-->` in expressions. Escape `<!--` and `-->` within string literals.
      Fix other operator output related to <!-- or -->
      optimize `return undefined` and `return void 0`
      more tests for `return undefined` optimization
      `return undefined` optimization no longer uses `return_void_0` option
      Fixed RegExp literal in mozilla AST generation/output and added a --dump-spidermonkey-ast flag
      rename To_Moz_Literal to To_Moz_RegExp
      Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags rather than non-standard `raw` property.
      simplify mozilla AST RegExpLiteral token parse and handle corner cases of regex.pattern better
      #873 Fix `conditionals` optimizations with default compress options
      Collapse single use var definitions
      fix bug in collapse_vars for right side of "||" and "&&"
      collapse_vars: fix bug in repeated var defs of same name
      collapse_vars: document option in README
      collapse_vars: small change to README
      collapse_vars: fix if/else and ternary operator side effects
      collapse_vars: avoid replacement across AST_Case nodes to be on safe side even though no issues seen.
      Take operator || precendence into account for AST_If optimization.
      boolean_expression ? true : false --> boolean_expression
      #877 Ignore mangle sort option
      Do not produce `let` as a variable name in mangle.
      Attempt to increase timeout for mocha let test.
      Escape all ASCII control characters within strings when using ascii_only.
      Speedup `unused` compress option for already minified code
      Optimize ternaries with boolean consequent or alternative.
      Simplify member(name, array) implementation.
      Fix warnings for referenced non-hoisted functions.
      Parse comments without recursion to avoid RangeError.
      Add `passes` compress option. Fix duplicate compress warnings.
      Handle CR line endings in comments.
      Workaround for process.exit() tty output truncation.
      Retain comments before AST_Constants during mangle.
      Do not apply negate_iife optimization to `new` expression
      Simplify iife `new` fix
      Optimize if_return for single if/return cases.
      collapse_vars: Do not consider RegExp literals to be constants
      Don't replace undefined, NaN and Infinity within with scope
      Fix conditional expressions of form (x ? -1 : -1)
      Fix spidermonkey AST (ESTree) export and import, Array holes
      Enable --screw-ie8 by default.
      Allow sequences maximum length to be user configurable.
      Change the default sequences limit to 200 to speed up compress.
      Document that the smallest sequences optimization length is 2
      Fix mangle with option keep_fnames=true for Safari.
      Test reparsing test/compress/*.js output
      Fix unneeded parens around unary args in new expression.
      Add simple file globbing to bin/uglifyjs for Windows
      Add input file glob support to minify()
      Additional object literal property tests
      Fix --mangle-props and --mangle-props=unquoted
      Fix negate_iife regression #1254
      implement optimization: (x = 2 * x) ---> (x *= 2)
      Account for side effects in `string + expr` optimization
      Fix (typeof side_effect()) in boolean context

micschro (1):
      Fix max_line_len not working for JSON files

pengzhenqing (1):
      Add an option for writing inline source map

philippsimon (1):
      Fix: Uglified Number.prototype functions on big numbers

plievone (1):
      Fix docs for keep_fargs

sergeyv (1):
      Revert "using the original sourcemap as the base"

startswithaj (1):
      Make_string was missing \v and wasnt reversing vertical tabs even though read_escaped_char coverts them

thorn0 (1):
      Advanced way to specify if a function call might have side effects. #400

truiken (1):
      Resolve the relative path to lib files last

なつき (1):
      Fix long options

-----------------------------------------------------------------------

This annotated tag includes the following new commits:

       new  2650182   Backport mocha with test from harmony
       new  2d8af89   Fix error style for regex errors
       new  eb63fec   Fix mangle with option keep_fnames=true for Safari.
       new  7eb52d2   Keep const in own scope while compressing
       new  41a9329   lib/sourcemap.js: Copy sourceContent from old souce-map to the new source-map. Should fix #882
       new  af37eca   Source map URL override from programmatic API
       new  9edbe93   Fix the document of keep_fnames option
       new  e8b23c7   Build with AppVeyor on windows
       new  642273c   Legacy octal integer strict mode fixes
       new  67cca43   Test reparsing test/compress/*.js output
       new  fb049d3   Fix unneeded parens around unary args in new expression.
       new  307b88d   Fixed sourceMapIncludeSources and inSourceMap = string combination of the UglifyJS.minify function.
       new  85a09fc   Added test for #1236
       new  38756b1   Moved test input files to test/input.
       new  72306b9   Add simple file globbing to bin/uglifyjs for Windows
       new  dcdcfe4   Add input file glob support to minify()
       new  86859f6   Additional object literal property tests
       new  de619ae   Fix --mangle-props and --mangle-props=unquoted
       new  37f4395   Add missing `{` in README
       new  781f26e   v2.7.1
       new  d854523   Fix negate_iife regression #1254
       new  614db97   v2.7.2
       new  8430123   Fix negate_iife transform to return a correct tree for nested IIFEs
       new  1a78bbc   v2.7.3
       new  0bd8053   implement optimization: (x = 2 * x) ---> (x *= 2)
       new  25fc027   Account for side effects in `string + expr` optimization
       new  7d8dea3   Merge pull request #1277 from kzc/fix-string-plus-opt
       new  0111497   Make all comment options in cli available in js api
       new  4761d07   Optimize unmodified variables
       new  fc9804b   Fix (typeof side_effect()) in boolean context
       new  e05510f   Add an option to wrap IIFEs in parenthesis
       new  6389e52   Remove console.log and add extra test case
       new  e51c6ba   Add an option for writing inline source map
       new  266ddd9   fix uses_arguments handling (broken since 6605d1578351)
       new  8d74f34   Don't filter shebangs when using the 'some' comment filter
       new  557b3e4   v2.7.4
       new  057de57   Pass mangle options to figure_out_scope before mangling in tests
       new  79b98a9   Do not overwrite options.comments + cleanup
       new  2a9989d   Add --mangle-props-debug and fix --mangle-props=unquoted collision
       new  0a35acb   feat: add option.outFileName for JS API, if absense, sourceMap.file field will deduced
       new  a7b3b0d   docs: add doc for option.outFileName
       new  98f3306   Generate source map data from normalized files
       new  f637248   v2.7.5
       new  47cc9ab   New upstream version 2.7.5

The 44 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


-- 
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