Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-26 | augment evaluate to extract within objects (#1425) | Alex Lam S.L | |
- gated by `unsafe` - replaces previous optimisation specific to String.length - "123"[0] => 1 - [1, 2, 3][0] => 1 - [1, 2, 3].length => 3 - does not apply to objects with overridden prototype functions | |||
2017-01-19 | add missing LHS cases which global_defs should avoid | alexlamsl | |
2017-01-19 | Have minify() and tests use figure_out_scope() as uglifyjs CLI does | kzc | |
Clarify docs, help and tests for --support-ie8 and screw_ie8=false | |||
2017-01-19 | Add preventive test involving non-ascii function identifiers | Anthony Van de Gejuchte | |
2017-01-19 | Add note about name mangling when using --mangle-props=unquoted (#1314) | Wiktor Kwapisiewicz | |
2016-11-30 | remove npm-shrinkwrap.json to work around npm@4.0.2 bug (#1384) | kzc | |
2016-11-29 | v2.7.5 | Richard van Velzen | |
2016-11-29 | Generate source map data from normalized files | Martijn Swaagman | |
If using `inSourceMap` this fix will ensure the copying of `sourcesContent` is based on potentially normalized `sources` values (https://github.com/mozilla/source-map/blob/master/lib/source-map-consumer.js#L304-L309). For example `normalize` (https://github.com/mozilla/source-map/blob/master/lib/util.js#L80-L123) will rewrite `./dist/mySource.js` to `dist/mySource.js` in the target `_sources` of the `SourceMapConsumer`. As a result `orig_map.sourceContentFor(source, true);` would return `null` since the orginal `source` was no longer available in the consumer. By using the keys generating from the `SourceMapConsumer.constructor` consistency is ensured. | |||
2016-11-29 | docs: add doc for option.outFileName | 1111hui | |
2016-11-29 | feat: add option.outFileName for JS API, if absense, sourceMap.file field ↵ | 1111hui | |
will deduced | |||
2016-11-29 | Add --mangle-props-debug and fix --mangle-props=unquoted collision | Ashley (Scirra) | |
Patch by @AshleyScirra Based on: PR #1316 Renamed the CLI debug option to --mangle-props-debug Fixes: #1321 name collision in --mangle-props=unquoted | |||
2016-11-29 | Do not overwrite options.comments + cleanup | Anthony Van de Gejuchte | |
2016-10-27 | Pass mangle options to figure_out_scope before mangling in tests | Anthony Van de Gejuchte | |
2016-10-23 | v2.7.4 | Richard van Velzen | |
2016-10-23 | Don't filter shebangs when using the 'some' comment filter | Anthony Van de Gejuchte | |
Also clarify documentation a bit more about using regexp as filter | |||
2016-10-23 | fix uses_arguments handling (broken since 6605d1578351) | Jann Horn | |
Using the symbol declaration tracking of UglifyJS doesn't make sense here anyway, `arguments` always comes from something in the current scope. fixes #1299 | |||
2016-10-23 | Add an option for writing inline source map | pengzhenqing | |
2016-10-06 | Remove console.log and add extra test case | Richard van Velzen | |
2016-10-06 | Add an option to wrap IIFEs in parenthesis | Richard van Velzen | |
For #1307. | |||
2016-10-06 | Fix (typeof side_effect()) in boolean context | kzc | |
Fixes #1289 with suggestion by @rvanvelzen | |||
2016-10-01 | Optimize unmodified variables | alexlamsl | |
2016-09-06 | Make all comment options in cli available in js api | Anthony Van de Gejuchte | |
Also removing more code within "loop" while at it. | |||
2016-09-01 | Merge pull request #1277 from kzc/fix-string-plus-opt | Mihai Bazon | |
Account for side effects in `string + expr` optimization | |||
2016-09-01 | Account for side effects in `string + expr` optimization | kzc | |
2016-08-30 | implement optimization: (x = 2 * x) ---> (x *= 2) | kzc | |
2016-08-17 | v2.7.3 | Richard van Velzen | |
2016-08-17 | Fix negate_iife transform to return a correct tree for nested IIFEs | Richard van Velzen | |
Fix for #1256, partially reverts d854523783b4 | |||
2016-08-17 | v2.7.2 | Richard van Velzen | |
2016-08-17 | Fix negate_iife regression #1254 | kzc | |
2016-08-14 | v2.7.1 | Richard van Velzen | |
2016-08-14 | Add missing `{` in README | Timothy Gu | |
Also fix a trivial style mistake. | |||
2016-08-14 | Fix --mangle-props and --mangle-props=unquoted | kzc | |
Fixes: #1247 Fix --mangle-props and --name-cache inconsistency. AST_Dot and AST_Sub properties are now mangled by --mangle-props without regard to being used in an assignment statement. Note: if --mangle-props is used then *all* javascript files used must be uglified with the same mangle options. Fix the ignore_quoted=true mangle option, also known as `--mangle-props=unquoted`. If a given property is quoted anywhere it will not be mangled in any quoted or non-quoted context. | |||
2016-08-14 | Additional object literal property tests | kzc | |
2016-08-14 | Add input file glob support to minify() | kzc | |
2016-08-14 | Add simple file globbing to bin/uglifyjs for Windows | kzc | |
2016-08-14 | Moved test input files to test/input. | Lucas Wiener | |
2016-08-14 | Added test for #1236 | Lucas Wiener | |
2016-08-14 | Fixed sourceMapIncludeSources and inSourceMap = string combination of the ↵ | Lucas Wiener | |
UglifyJS.minify function. | |||
2016-08-14 | Fix unneeded parens around unary args in new expression. | kzc | |
2016-08-14 | Test reparsing test/compress/*.js output | kzc | |
2016-07-21 | Legacy octal integer strict mode fixes | Anthony Van de Gejuchte | |
2016-07-17 | Build with AppVeyor on windows | Richard van Velzen | |
2016-07-17 | Fix the document of keep_fnames option | homuler | |
2016-07-17 | Source map URL override from programmatic API | Yotam Spenser | |
2016-07-17 | lib/sourcemap.js: Copy sourceContent from old souce-map to the new ↵ | Lauri Pokka | |
source-map. Should fix #882 | |||
2016-07-15 | Keep const in own scope while compressing | Anthony Van de Gejuchte | |
- Fixes #1205 - Fix provided by @kzc | |||
2016-07-15 | Fix mangle with option keep_fnames=true for Safari. | kzc | |
Fixes: #1202 | |||
2016-07-15 | Fix error style for regex errors | Anthony Van de Gejuchte | |
2016-07-04 | Backport mocha with test from harmony | Anthony Van de Gejuchte | |
2016-07-03 | v2.7.0 | Richard van Velzen | |