[Pkg-javascript-commits] [uglifyjs] annotated tag upstream/2.4.13 created (now 4c5091c)

Jonas Smedegaard js at moszumanska.debian.org
Wed Apr 30 00:04:08 UTC 2014


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

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

        at  4c5091c   (tag)
   tagging  b1ae8cc6b2259ba1292a4fcb69a4d576cfcdcf2e (commit)
  replaces  upstream/2.2.5
 tagged by  Jonas Smedegaard
        on  Wed Apr 30 01:46:44 2014 +0200

- Log -----------------------------------------------------------------
Upstream version 2.4.13
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAABCgBmBQJTYDnkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vWX80H/2t966kQ2z3yb+ssB09sGEwN
a3e4xtcEAcQbm77MlQYghvizFGi34L1y0jGoXsBvRW5yvkpbl1cOBksoxnZuEQz2
nAr9hmBQ420mlSDsKRaMWNap5V01aGHYF1a7IDZJrGFtgRmZLwsbprkOIvjNXAgj
emf2GJZKn2QNyX3Jhu5eE1kLmsog8kbKisrI4AAQcxR8B+zwR1+PtB4RcFwmY/1r
fDw9qufAgYJqKpCnZ2qmo4vhGiZ2u12cwdA8rQorj+8PDU2CB31+UfUX9hN/Pcj2
VyhPXebR8Nf97+i/iuTNBt+fvSwXVC64WLnoRk7l2iPUMI1rDdVlxC/HMwHx4yQ=
=5OBN
-----END PGP SIGNATURE-----

Andreas Lind Petersen (2):
      uglifyjs binary: Make read_whole_file async and don't attempt to read STDIN synchronously.
      Output, to_ascii: Escape non-ascii chars with \xnn instead of \unnnn whenever possible.

Arnavion (1):
      Handle the case when SourceMapConsumer.originalPositionFor returns null source.

Artemy Tregubenko (2):
      Added support for sourcesContent property of source map
      added hasOwnProperty check to avoid warnings

Benoît Zugmeyer (2):
      --version option
      Set --version as a boolean #87

Dan Wolff (3):
      convert x.toString() to ""+x instead of x+""
      Concatenate strings also on the right-hand side of an expression that cannot be evaluated. Fix #126
      Evaluate [...].join() if possible: minor bugfix

Daniel Stutzman (1):
      Don't unescape \x00 in regexes (it breaks IE8)

David Glasser (3):
      Fix output for arrays containing undefined values.
      Fix output for arrays whose last element is a hole: [1,,]
      Only allow identifier start characters at the beginning of identifiers.

Devon Govett (1):
      Allow inSourceMap to be a generated JSON source map instead of just a file name

Dusan Bartos (1):
      added option for dropping unused params

Forbes Lindesay (3):
      Update installation instructions re #4
      Make `DefaultsError` a real `Error` object
      Add support for browserify

Jake Archibald (1):
      Compressor options use underscores rather than hyphens

Jake Harding (1):
      Add support for enclose option. Closes #139.

Jonas Smedegaard (1):
      Imported Upstream version 2.4.13

Justin Lau (6):
      Added scenario in test case where properties shouldn't be accessed with
      Fixed dot property issue with invlid identifier names.
      Added test scenario with unicode in properties name.
      Fixed dot properties not optimizing unicode identifiers. Signed-off-by: Justin Lau <justin at tclau.com>
      Added test cases for #104.
      Fixed typeof undefined optimization and updated related test case to

Kim Joar Bekkelund (1):
      Fix typo in bin and readme

Mark Jaquith (1):
      Add a unit test for issue-126

Matt Basta (1):
      Simplify nested conditionals if possible

Matt Robenolt (3):
      Wraps sourceMappingURL in a multiline comment. Fixes #108
      SourceMapping pragma has changed to //#
      The extra /* */ isn't needed now

Michael Ficarra (3):
      unbalanced parentheses in readme
      fixes #189: use dotted member access when --screw-ie8 option given
      fixes #259: don't unnecessarily quote object properties when --screw-ie8

Michał Gołębiowski (1):
      renamed --screw-ie to --screw-ie8, documented it in README.md, indicated it doesn't break IE9+

Mihai Bazon (463):
      init repo
      Fixes some gotchas.
      added small node test script
      WIP
      WIP
      codegen and dropped the useless walker
      lots'o'fixes in the output routines; still a looong way to go.
      code generator finally seems to work properly
      fix one more glitch
      added some comments about the rules governing parens
      don't output both space and semicolon when beautify=false
      big speed improvement (observable when beautify = false)
      minor whitespace issues
      some fixes (need testing) in AST_If codegen
      simple visitor API and code to figure out scope and references
      doc (WIP)
      added mangler and other stuff
      more fixes:
      warn about unreferenced symbols
      handle labels properly
      some reorganization
      cleaned up some mess and started the actual compressor
      hint that brackets may be required in AST_BlockStatement
      declare some properties in the node constructor so that they're copied in clone
      fix output for certain edge cases
      wrote more of the compressor and added some tests
      added license
      fix current_col and force a newline every 32K (support options.max_line_len)
      added print_to_string helper method
      fix compressing `a,b; return c;` into `return a,b,c;`
      minor
      update (c) years
      minor
      added README
      fix code generator for this case:
      fix output for arrays containing undefined values
      docstring for AST_StatementWithBody
      update with link to discussion about Esprima vs. UglifyJS speed
      don't mangle names of setters/getters
      started support for generating source maps (WIP)
      minor perf. improvements
      add source mappings for more node types; started CLI utility
      add -b
      Reverting "minor perf. improvements"
      switch branches must be declared `required` so that the compressor doesn't
      declare boolean options
      a LabeledStatement should be in fact a StatementWithBody
      an AST_If is too a StatementWithBody
      jumps, try and definitions are statements too
      resolve constant expressions
      more optimizations for ifs/conditionals
      minor
      boolean and if/exit optimizations
      if present, the `else` in an `if` should always be forced statement
      more fiddling with boolean expressions, etc.
      checkpoint
      cleaned up usage of AST_BlockStatement
      support for hoisting declarations
      fix for variable names like `toString`
      declared `--stats` as boolean
      don't duplicate argument names
      fixed tests (need to drop the toplevel block in "expected" if it's a single statement)
      always keep declarations found in unreachable code
      fix bug (forgot arg name)
      checkpoint
      fix output for division followed by regexp
      minor
      fix "file" in the source map
      more progress on the compressor (WIP)
      adaptive base54 digits depending on char frequency (WIP)
      hoist_vars is pretty bad, it seems.  cancelled it for now.
      checkpoint
      fixed some mess with symbols/scope
      minor
      fixed run-tests and an issue about reversing the condition in AST_If
      side effect fixes and small optimization for gzip
      more AST_If optimizations
      minor
      few more optimizations:
      added -m and -c options
      more optimizations that v1 does and some cleanups
      adding an imaginary "return undefined" can sometimes help
      minor
      compress typeof x == "undefined" to x === undefined, which further gets
      join_vars:
      figure out label targets
      other small optimization:
      rewrite handle_if_return
      drop unused function
      more sequencesizing (WIP)
      some cleanup
      try negating AST_Binary
      more smallish optimizations
      empty block to empty statement: {} ==> ;
      possible optimization for AST_Undefined
      one more test for sequences
      minor
      fix .undeclared (it's now a function)
      moved `typeof foo == "undefined"` ==> `foo === undefined` under `--unsafe`
      only do the typeof x == "undefined" optimization if x is a symbol reference and it's declared in scope, or x is not a symbol reference.
      added AST_NaN (output as 0/0)
      support for directives
      minor
      fixed label scope/mangling
      support -c with no arguments to disable compression entirely
      drop unused variables
      more on detecting side effects
      better support for multiple input files:
      log filename in parse errors / compressor warnings
      tree transformer api (WIP)
      properly drop mutually-referring declarations that are not otherwise
      minor tests fix
      Support input source map
      some boolean cleanup
      it's not safe to assume that property access is side-effect-free
      minor
      started some refactoring (WIP) -- moving squeezer to TreeTransformer
      discard all \uFEFF characters (https://github.com/mishoo/UglifyJS/issues/462)
      moving code around (refactoring, WIP)
      more cleanups
      minor
      checkpoint (refactoring, WIP)
      compressor successfully moved to TreeTransformer
      some speedup and more savings from unused vars that have side effects in initialization
      removed the "squeeze" method (it's now effectively "transform")
      fix mangling
      minor
      a shy attempt to obey `width` in the beautifier; added `bracketize` option to always print brackets around if/do/while/for statements; export more options via the CLI
      drop more unused names
      add AST_SymbolConst for names defined with `const`
      more constant folding (for names defined with `const`)
      "use strict";
      support defines
      option to exclude certain names from mangling
      added option to keep some comments in the output
      line numbers start at 1
      discard annoying nodejs warning
      support for `--comments` option to keep comments containing @license or @preserve
      fixed usage string
      disable `hoist_vars` by default and change `comparations` to `comparisons`
      fix for `a = !b && !c && !d && !e → a=!(b||c||d||e)`
      document the CLI tool
      drop tmp. files
      fix endless loop in tests
      added option for side-effect-free statements, fix test
      added package.json
      AST cleanup (dropped AST_StatementBase)
      more cleanup (dropped AST_SwitchBlock)
      ignore tmp/
      define AST_Node.from_mozilla_ast(ast)
      moving code around
      removed some unused variables
      minor
      use the appropriate constructor for symbols
      fixed import of locations from SpiderMonkey AST
      added --acorn and --spidermonkey options
      add note about installation
      prevent mangling only when eval is *called*, not when it's just referenced
      replace `(function(){ ...no side effects ... })()` with `undefined`.
      minor
      remove unused code
      fix typo
      for certain nodes that we invent we might not have a original source file to
      eliminate redundant directives in the same scope
      added --self to easily get a browser-runnable version of UglifyJS
      should not expose base54.sort() in the API docs, I think
      added some basic API doc
      add simple API wrapper: UglifyJS.minify
      fix `inSourceMap` in `minify` (should read the file)
      Merge pull request #8 from SevInf/master
      fix detecting symbols in use
      add `--ast-help`
      minor AST cleanup (AST_BlockStatement may inherit from AST_Block)
      added $propdoc to AST nodes and some cleanups
      make `--comments` keep @cc_on too
      add AST_Infinity node
      update on @cc_on
      minor
      add `--lint` and display {file} in scope_warnings
      drop unused variable
      small improvements in wrap_commonjs:
      seems cleaner if AST_Label doesn't inherit from AST_SymbolDeclaration
      fix node name
      disable warnings by default in `minify` (pass warnings: true to enable)
      fix propagation of symbol references
      cleanup
      using makeComparator from acorn to generate functions that tests whether a
      stealing more hacks from acorn in the name of speed
      fix pos in syntax error exception
      use AST_Lambda for object setters/getters
      fix in_boolean_context() (two tests were broken)
      add test for issue #12
      remove the $self hack
      actually enable the option that drops unused names in the test of issue #12
      minor
      update for acorn
      fix end tokens in spidermonkey ast import
      fix regression from fb5c01c073d06034815d5f3b782fd11cbdf6d6f5
      minor
      fix compressing benchmark.js (it tried to evaluate a statement)
      add parens to AST_Seq whose parent is AST_Unary
      drop unused function arguments
      disable warnings in the test suite
      fix small glitches in source map generation
      add `semicolons` option in the code generator (default: `true`)
      the `sort` option is broken anyway, removed it
      employ a better parser for command-line arguments
      define aborts on AST_If: true if both branches abort
      more small optimizations
      added note about API docs and online demo
      v2.1.0
      fix `--comments` (close #16)
      v2.1.1
      more optimizations for some break/continue cases
      add fromString argument to `UglifyJS.minify` (allows to pass the source
      minor fix for dropping unused definitions.
      Merge pull request #19 from SevInf/master
      alternate hack to disable deprecation warning
      Merge branch 'master' of github.com:mishoo/UglifyJS2
      v2.1.2
      more sequence optimizations (lift some sequences above binary/unary expressions so that we can avoid parens)
      fix for `if (...) return; else return ...;`
      v2.1.3
      test for fs.existsSync
      cripple scope to make IE happy :-(
      v2.1.4
      don't move expressions containing the binary `in` operator into the `for` initializer
      v2.1.5
      fix compressing UnaryPrefix
      added unsafe_comps for negating `<=` with `>`
      it's safe to negate expression in !EXP only in boolean context
      v2.1.6
      use a Dictionary object instead of plain object for hashes
      print final semicolon
      minor optimization
      minor
      convert `while` into `for`
      discard the hack that worked around the deprecation warning
      add option to mangle names even if eval/with is in use
      add proper parens around unary expressions
      parenthesize a Call expression when its parent is New
      further fix for parens around New (refs #35)
      parenthesize property access when it's the expression in New
      add AST_Accessor and AST_SymbolAccessor node types
      v2.1.7
      fix regression from 5346fb94 (shouldn't parenthesize i++ in x[i++])
      v2.1.8
      fix another small regression
      v2.1.9
      ignore node_modules/
      optimization for if/break as first statement in a loop body
      fix API breakage
      v2.1.10
      AST_LabelRef no longer inherits from AST_SymbolRef
      declare dependency versions
      Merge pull request #41 from Skalman/toString-patch
      fix invalid AST produced by dropping unused variable
      v2.1.11
      don't change order in binary expressions if both operands have side effects
      Merge branch 'optimize_concat' of https://github.com/rvanvelzen/UglifyJS2 into rvanvelzen-optimize_concat
      optimize constant switch blocks
      better solution for the last test in constant switch folding
      retain (1,eval) as is when it's the expression of an AST_Call
      fix #51
      rename the npm package to "uglify-js" and cli tool to "uglifyjs"
      fix for https://github.com/mishoo/UglifyJS/issues/474
      v2.2.1
      fix #55
      Merge pull request #58 from roxeteer/master
      Don't messup compressor stack while optimizing Switch
      Add test for issue #59
      Revert "Fixed reading from STDIN."
      When hoisting variables, try to merge in assignments that follow.
      small improvement on merging assignments into hoisted vars
      Add proper parens in "NoIn" expressions.
      v2.2.2
      Small cleanup
      Fix output when semicolons is off.
      Optimize new Array(1, 2, 3) → [1, 2, 3]
      Accept string or number as name of an accessor.
      Implement `-m sort=true`
      Merge pull request #87 from BenoitZugmeyer/master
      Support `output`, `mangle` and `compress` options to `UglifyJS.minify`.
      Fix handling of labels in nested scopes
      v2.2.3
      Merge pull request #90 from jakearchibald/patch-1
      Handle String() with no arguments.
      Merge pull request #98 from ForbesLindesay/patch-1
      [AST_Hole] the print function can be a no-op.
      Add --source-map-url option
      Merge pull request #106 from gibson042/105
      Merge pull request #94 from paulmillr/patch-1
      Fix end token for Assign nodes
      v2.2.4
      Merge pull request #111 from mattrobenolt/safer-sourcemap
      Ugly hack to print comments before return/throw statements
      Fix handling of constants
      Fix parens for AST_New
      Fix parens for negative numbers
      Fix parens for NaN
      Give up evaluating (unary-prefix '-' 0)
      Force space after literal regexp when used in "instanceof" or "in"
      v2.2.5
      Fix compressing `do {...} while (false)`
      Add license
      Compress boolean constants after evaluation
      Drop last `default:` if it's the last branch and empty
      Add `--screw-ie` option
      Fix reordering comparisons
      Merge pull request #146 from mbostock/read-all-stdin
      Disable `unsafe` by default
      Support mangling toplevel names
      Merge pull request #125 from devongovett/master
      Keep legit code working even when --screw-ie is not passed.
      Don't print the warning on parse error, just throw a JS_Parse_Error.
      Merge pull request #163 from mzgol/screw-oldie
      Don't use \xYY for identifiers
      fix package.json
      Merge pull request #190 from michaelficarra/patch-1
      Merge pull request #191 from michaelficarra/use-es5-member-access-with-screw-ie
      Make compress/mangle disabled by default, as before 5af144522a6fea302abdd0b63d48864de0664207
      Workaround for missing `prefix` in UnaryExpression generated by Esprima
      v2.3
      Take two.  v2.3.0
      Merge pull request #194 from ulikoehler/master
      Merge pull request #195 from kjbekkelund/typo
      Better fix for equality of typeof ... against "undefined"
      v2.3.1
      Fix property names
      Fix is_assignable
      Use the negation hack rather than parens for a toplevel function expression call
      v2.3.2
      Merge pull request #202 from nschonni/add-travis-ci
      Fix a["1_1"]
      Compress code passed to `new Function` if it's a constant.
      v2.3.3
      Only compress code in `new Function` if all arguments are strings.
      Add `--expr`, an option to parse a single expression (suitable for JSON)
      v2.3.4
      Fix package.json (use `repository` instead of `repositories`)
      v2.3.5
      Fix output of statement: `new function(){...};`
      Set "global" on undeclared SymbolDef-s
      Add `negate_iife` option to the code generator.
      Merge pull request #213 from mattrobenolt/patch-1
      v2.3.6
      Merge pull request #220 from lautis/escape-null
      Don't swap binary ops when "use asm" is in effect.
      Reset the base54 counters every time minify is called.
      Fix typo.
      Apply transformer to AST_VarDef's name
      Add "position" option to parser, to specify initial pos/line/col
      Revert previous patch, it was no good.
      Reverting "added option for dropping unused params"
      Don't require arguments to --enclose
      Fix #251
      Don't pretend to evaluate lambdas
      Support `-p relative`.  Fix #256
      Don't drop unused setter argument.
      fix usage
      Merge pull request #270 from michaelficarra/GH-259
      Move support for `negate_iife` in the compressor, rather than code generator
      Remove --ie-proof from the readme.
      v2.4.0
      Better reporting of parse errors
      Fix parsing regexp after unary-prefix operator
      Fix parsing `a.case /= 1`
      Better fix for #286
      Disallow `continue` referring to a non-IterationStatement.  Fix #287
      Fix names.
      minor
      Support HTML5 comment syntax (enabled by default!)
      Avoid printing <!-- in the output (HTML5 comment)
      When `unsafe` is set, evaluate [...].join() if possible
      More dirty handling of [ ... ].join() in unsafe mode
      Actually let's move away those monsters from the evaluate function
      More attempts to determine when addition is associative
      Fix error in the output minifying `Function("return this")()`
      minor optimization
      add `clean_getters` compressor option (default `false`)
      Merge pull request #308 from meteor/fix-unicode-keys
      Rename clean_getters to pure_getters; add pure_funcs.
      Don't drop_unused before compression.
      wrap up
      `arguments` outside of a function is an ordinary variable.
      v2.4.1
      Revert #3a81f60 for now
      Merge pull request #322 from rvanvelzen/test-exit-code-1
      Merge pull request #323 from rvanvelzen/undefined-drop-vars-fix
      Merge pull request #325 from rvanvelzen/fix-269
      Merge pull request #331 from rvanvelzen/rhs-strings-fix
      Merge pull request #330 from markjaquith/master
      Display number of failed tests and corresponding files
      Merge branch 'master' of github.com:mishoo/UglifyJS2
      Fix codegen for when comments_before is undefined.
      Add "preamble" output option
      Avoid shadowing name of function expression with function argument
      Fix reading arguments
      Fix typo
      minor
      Fix output for `x = 2 * (a % b / b * c)`
      indentation
      Fix regression after e4c530240650535d1cb46569dfb013193471af05
      Fix parsing setters/getters (allow keywords for name).
      Workaround for Safari bug
      [README] Fix #278
      v2.4.2
      Do not lift sequence from right-hand side of binary operation.  Fix #343
      v2.4.3
      Better fix for #343
      Only descend twice after drop_unused if it's the same node type.
      Fix faulty compression
      v2.4.4
      Add --noerr to turn off argument name checking
      v2.4.5
      v2.4.6, because npm is foobar
      Properly scope `catch` identifier when --screw-ie8
      AST_Catch shouldn't really inherit from AST_Scope.  Fix #363
      v2.4.7
      minor
      Add `drop_console` option to the compressor
      Merge pull request #245 from ForbesLindesay/patch-1
      semicolons
      Merge pull request #371 from colorhook/master
      minor
      Add option to adjust the src/target line in the source map
      v2.4.8
      Take out all comments from an AST_Exit's value
      Better fix for comments in AST_Exit
      Optimize seq,void 0.  Close #377.
      Mark `yield` as reserved word.  Close #375.
      Conditional/call optimization
      Fix parens for property access -- (foo, bar)["baz"]
      minor: exp["10"] => exp[10]
      Fix #392
      doh.
      Support SpiderMonkey AST in UglifyJS.minify.  Fix #393.
      Disable node 0.6 since the build fails consistently and it's not our fault.
      Support @ngInject with `angular` compressor option.  Close #395.
      Better process_for_angular before other statement reductions.  #395
      Unescape Unicode sequences in regexps when ascii_only is false.  #54
      simplify
      v2.4.9
      Fix example
      Don't unescape \x2f (slash) in regexps.  #54
      v2.4.10
      Merge pull request #402 from lautis/bom-regexps
      Fix end token for conditionals.  Close #404
      More chars that cannot be unescaped in regexps.
      v2.4.11
      Move unescaping regexps under a codegen option (`unescape_regexps`)
      Merge pull request #408 from danielstutzman/escape-null-in-regex
      Merge branch 'master' of github.com:mishoo/UglifyJS2
      v2.4.12
      Merge branch 'sourcesContent' of https://github.com/arty-name/UglifyJS2 into arty-name-sourcesContent
      Update source-map
      Fix if_return dropping the alternative.  Close #413
      Merge pull request #422 from mourner/patch-1
      Merge pull request #424 from mattbasta/simplify_conditionals
      Add option `keep_fargs`.
      Mangle name of exception when --screw-ie8.  Fix #430.
      Merge pull request #439 from Arnavion/null-source-in-sourcemap
      v2.4.13

Mike Bostock (1):
      Read the entire STDIN.

Nick Schonning (2):
      Add CI build for supported Node versions
      Add Travis build badge to README

Paul Miller (1):
      Add better fromstring docs.

Richard Gibson (1):
      Fix #105: property comparison to undefined is not always safe

Richard van Velzen (7):
      Add simple optimization for empty-string concats.
      Add support for somewhat preserving line numbers.
      Add an exit code to the test suite
      Fix #280
      Fix #269
      Fix RHS concat (raised in #330)
      Disallow reversal where lhs has higher or equal precedence

Roman Bataev (2):
      Add tests for typeof evaluation
      Fix typeof evaluation for regex and function

Sergej Tatarincev (2):
      Fix nodejs minify without inSourceMap exception
      Add sourceRoot option to minify

Trey Griffith (1):
      add a test for zero-length string in is_identifier_string, which is used in property compression. Also added a test exercising the change.

Uli Köhler (1):
      Add README syntax highlighting

Ville Lautanala (2):
      Escape null characters as \x00
      Don't unescape byte order marks in regexps

Visa Kopu (1):
      Fixed reading from STDIN.

Vladimir Agafonkin (1):
      fix readme typo (when -> with)

Vladimir Zhuravlev (1):
      Quote objects with numeric keys

colorhook (1):
      bugfix #242

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

No new revisions were added by this update.

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