Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/terser/terser

đź—ś JavaScript parser, mangler and compressor toolkit for ES6+
https://github.com/terser/terser

Fix nullish coalescing negation inference (#1045)

This PR does 2 things:

- It removes special casing for nullish coalescing (??) in negation
...

622654c210558f365bf6e6557b63f4b0cdeedb90 authored over 3 years ago by Robin Ricard <[email protected]>
be less strict about future reserved words. Closes #1041

9101e63817573e38b122daab7d9eab5f711242f4 authored over 3 years ago by fabiosantoscode <[email protected]>
factor out compressor/index into more files

d225b75e82770d0d7eedf011e4769d18a43de9c0 authored over 3 years ago by fabiosantoscode <[email protected]>
avoid unparenthesized 'in' inside the heads of for loops. Closes #1019

aa4742a611fb59d12e241b3e844c75babed2ef0f authored over 3 years ago by fabiosantoscode <[email protected]>
fix typos in README (#1025)

3f91b6cd40f134cf56c57c0d6b68d6facca3fe78 authored over 3 years ago by overlookmotel <[email protected]>
Documentation and type definition: MinifyOptions.enclose (#1021)

This patch updates the documentation to explain the existing
`enclose` option, and also modifie...

6b62c003c49d71c284b19870f68907d6b3036728 authored over 3 years ago by Kasumi Hanazuki <[email protected]>
5.7.1

d3d924fa9e4c57bbe286b811c6068bcc7026e902 authored over 3 years ago by Fábio Santos <[email protected]>
skip test

f45230a0d9229e30065d3551f7d1f6112dcfd1df authored over 3 years ago by Fábio Santos <[email protected]>
update changelog

a4154e9529e4ee674cfd191369b46898b517316f authored over 3 years ago by Fábio Santos <[email protected]>
do not collapse vars/assigns which have a chain on their right hand side. Closes #987

6d08df9044f7868ccb54ca9b635a5b3e8ad72580 authored over 3 years ago by Fábio Santos <[email protected]>
pass compressor to is_undefined

e9d32ee4c1c6f330431c1987de38d8fccd56dec2 authored over 3 years ago by Fábio Santos <[email protected]>
remove expansions from objects when we know the value being expanded is nullish. Closes #1004

6f0433879ca1b5358c1140903ac6b5e071c962a4 authored over 3 years ago by Fábio Santos <[email protected]>
fix broken names output. Closes #994

bfc332c2666585e9f354bc6ea7e41f50d664b37b authored over 3 years ago by Fábio Santos <[email protected]>
fix missing compressor argument in is_nullish and is_undefined

283558161e67e4a21db9cb2c694b903e6b601521 authored over 3 years ago by Fábio Santos <[email protected]>
fix: missing compressor arg in optimize AST_VarDef (#1009)

215db3c9d7dbff0d9ea1f6c82ff55ec2ffed4e08 authored over 3 years ago by Sebastian Meyer <[email protected]>
fix: private class element access equality (#1015)

60a74bb1679107e03a0f498b45644991dec2b19a authored over 3 years ago by Kubilay Kahveci <[email protected]>
Avoid needless args re-assign (#993)

5d8dde3c70b218b60b748a5ac27377756a0f6560 authored over 3 years ago by Mikhail Bodrov <[email protected]>
fix scope of function definitions in strict mode -- they're block scoped. Closes #978

844b31081fd233cc7bd7c5e6ad4e14be10b5b176 authored over 3 years ago by Fábio Santos <[email protected]>
update changelog

8f69f4af157fb40470ea4700a02dfb3cb0c8abda authored over 3 years ago by Fábio Santos <[email protected]>
5.7.0

2b91f644c4c1b065413a7c088ec4fb14c38b9530 authored over 3 years ago by Fábio Santos <[email protected]>
Added RegExp property evaluation (#964)

60e04aa8f627ceef7fedee1f15c214c78461bd18 authored over 3 years ago by Michael Schmidt <[email protected]>
do not flatten computed properties or __proto__. Closes #980

3250f7e98e7522f0c9ab21d55aa599f61b5d7e81 authored over 3 years ago by Fábio Santos <[email protected]>
avoid inlining anything with side effects or which may throw. Closes #979

84c1a314ed43fa3f367159c140175791b5d06b9c authored over 3 years ago by Fábio Santos <[email protected]>
rename is_expr_pure

427f2639efa0c4435916e6ea65a4db84e401b300 authored over 3 years ago by Fábio Santos <[email protected]>
avoid evaluating function calls when their arguments are other functions. Closes #965

80c18480aa7064718b458e0377eb9ed586e22362 authored over 3 years ago by Fábio Santos <[email protected]>
reinstate the reduce_funcs option. (finally) closes #696

55140ec193d81d96911454c31a12be578b160b21 authored over 3 years ago by Fábio Santos <[email protected]>
Update README.md

f8f9889270330bf1eefd83276b9edac235ee0579 authored over 3 years ago by Fábio Santos <[email protected]>
Add `spidermonkey` options to `minify` (#974)

This commit adds a `spidermonkey` option, similar to the CLI, to the `minify`
API.
`spidermonk...

c2151ed76b2ffd917109e215ab6c30c6dc37ba71 authored over 3 years ago by Titus <[email protected]>
update packages

321837181373b5dd356fa818eaa5b5977559842b authored over 3 years ago by Fábio Santos <[email protected]>
accept 'get' and 'set' argument names with defaults in destructuring. Closes #966

e2b630839665ee47a5a4cb885da9283d08c3d668 authored over 3 years ago by Fábio Santos <[email protected]>
fix: add backwards compatible change for require.resolve (#971)

We have code that relied on `require.resolve` to properly respect the path we provide it https:/...

100bd013ced88e03589f1c725d2e8dfb28123e26 authored over 3 years ago by David <[email protected]>
update docs about property mangler

cc0bac5ef3276e0141db75dc5c2a331a4744b411 authored over 3 years ago by Fábio Santos <[email protected]>
add more docs about comments=some

32dbe02de71ab5ad5dca2ef402d7d32dda24cef7 authored over 3 years ago by Fábio Santos <[email protected]>
fix export default of anonymous classes with extend. closes #924

c27b840a7136c027ac1346a3f64ce2a9aa71bbd1 authored over 3 years ago by Fábio Santos <[email protected]>
5.6.1

d2927ef4c8d23846cce2f0d0ae4ec8f17fbe4e5f authored almost 4 years ago by Fábio Santos <[email protected]>
update changelog

c3cbe94867370fe3000937b45466c67a3c0df754 authored almost 4 years ago by Fábio Santos <[email protected]>
mark assignments to the prototype of a class as pure. Closes #936

15fd4f58480650a3e354f914dd9fed5dfb3a8bb1 authored almost 4 years ago by Fábio Santos <[email protected]>
parenthesise `await` on the left hand side of `**`. Closes #945

06040a8a7f83aa9c6262c258f34504014ee8c31f authored almost 4 years ago by Fábio Santos <[email protected]>
avoid outputting NUL bytes when optimizing RegExps. Closes #942

6b30ff54a19f30ada6b8ef58882e2e53ac6ee914 authored almost 4 years ago by Fábio Santos <[email protected]>
domprops.js: add `exports` (#939)

Add `exports` attribute to domprops.js

See: https://webassembly.github.io/spec/js-api/#dom-in...

2105d1740ebe50f3e32fcc01a1a5c9498376aef7 authored almost 4 years ago by yannayl <[email protected]>
avoid spreading 'this' into an object

c8e49def920b6cbc5521bf27f331b8cc2ef4fbc3 authored almost 4 years ago by Fábio Santos <[email protected]>
fix size() of arrow functions, which was counting the fake return statement in them

4a263aeb0d8fe8fc9e3951555906a2431baabb7b authored almost 4 years ago by Fábio Santos <[email protected]>
update changelog

f388ed1587f48e8e880c0f66e93f5cc91b83e885 authored almost 4 years ago by Fábio Santos <[email protected]>
5.6.0

afb36656c6165e9b887fa56af6b3db686561b165 authored almost 4 years ago by Fábio Santos <[email protected]>
support private getters and setters

5b1799242c047b943f0dbf68fba714cf41548519 authored almost 4 years ago by Fábio Santos <[email protected]>
update packages

839a0c5c719ac2823d6f68cb76fbfc3cb2c76ee9 authored almost 4 years ago by Fábio Santos <[email protected]>
test private fields as accessors (#923)

3d6faefc73f5bcda5d03b05a9552ae13f76869f4 authored almost 4 years ago by Robin Ricard <[email protected]>
fix class property followed by generator without a semicolon in between

4aa8d95812f0459908ee107110d55e45513e64e9 authored almost 4 years ago by Fábio Santos <[email protected]>
implement mozilla AST for private properties and methods

4a12a2e2b57b89ed11a7561ff2f540352b3a4fc9 authored almost 4 years ago by Fábio Santos <[email protected]>
mangle private properties when property mangling is enabled. Closes #928

2cb6cc0af02552973ac50db74530841e069beff6 authored almost 4 years ago by Fábio Santos <[email protected]>
docs: fix mangle links (#916)

91068aea284450a8cee52d0b6d856a67610b7029 authored almost 4 years ago by Alexander Böhm <[email protected]>
Private fields and methods support (#913)

* Properly ignore the mozilla ast

* Add support for private properties

* Add private metho...

465334d0503c399eb4e0e17429c048df74345f68 authored almost 4 years ago by Robin Ricard <[email protected]>
Remove the beautify option (#895)

* Remove the beautify option

* --beautify and --format are now aliases

* Test that --forma...

2dd1680476d7fe97bdc670f8390ed7a3fd447266 authored almost 4 years ago by Anton Harniakou <[email protected]>
top-level await. Closes #903

69e250b6754b84afc6b86b177052730cff847461 authored almost 4 years ago by Fábio Santos <[email protected]>
docs(contributing): fix typo (#896)

0c5fde1f6951c70b2dfc91f6960dfedbf0e84fef authored almost 4 years ago by Max Romanyuta <[email protected]>
5.5.1

f5959c3ada5c9f47f044e8bb5cd796dad70a4290 authored about 4 years ago by Fábio Santos <[email protected]>
update changelog

6f1ba1a89bbb4f58f5cdbb4f521d8b271e979911 authored about 4 years ago by Fábio Santos <[email protected]>
ensure properties are quoted when the safari10 output option is enabled

d51b6b9c22e8e8452a7ca0bb27b0f80b54b8d415 authored about 4 years ago by Fábio Santos <[email protected]>
Fix wrong version number

7937b3dacece3a61e2639710b701f99192759a16 authored about 4 years ago by Fábio Santos <[email protected]>
5.5.0

38c4129e06ff81c8008c1fc0d45829779a6c796b authored about 4 years ago by Fábio Santos <[email protected]>
update changelog

a593e67ee791d990830e86fb5ae4841a67225aef authored about 4 years ago by Fábio Santos <[email protected]>
fix crash when inlining uninitialized variable into template string. Closes #876

0e3d07921af29399f9ae82fe2f9157d20d178041 authored about 4 years ago by Fábio Santos <[email protected]>
fix: sourcemap inline dist code (#872)

738350cb2582c7513af52004b7dd8a0ee70f4944 authored about 4 years ago by 信鑫-King <[email protected]>
5.4.0

5c6681cc3aef9aa5631593f402f0e303663a7331 authored about 4 years ago by Fábio Santos <[email protected]>
update changelog

37e432e20c0cb4942d4f31d40e30571d6b01cf86 authored about 4 years ago by Fábio Santos <[email protected]>
improve memory usage by slimming down AST_Token class

83c027e728e289a0ae1b87dc52bf3ea594387d8f authored about 4 years ago by Fábio Santos <[email protected]>
add jsdelivr example to README

a5983c321c09ad43a086ed045f047cc076f1005c authored about 4 years ago by Fábio Santos <[email protected]>
add markers for generating website

a05601e04f698021df1323bcbd39ae6f2750c8cd authored about 4 years ago by Fábio Santos <[email protected]>
gate some template string transforms behind 'unsafe' option. Closes #863

4faa53799babaa333d4d308991f66f41e78483c1 authored about 4 years ago by Fábio Santos <[email protected]>
remove undefined initialization. Closes #869

36349ecb32ed2ace6ab8985ffb278c02465f738c authored about 4 years ago by Fábio Santos <[email protected]>
build before testing

73e6536139add1bddf68368e48aedccdfc78f528 authored about 4 years ago by Fábio Santos <[email protected]>
implement logical assignment

5907df8941dcfa4b52dfd588331483923795cd1f authored about 4 years ago by Fábio Santos <[email protected]>
5.3.8

77dc12c63edada564d9eb3110a8fcad08d8b836d authored about 4 years ago by Fábio Santos <[email protected]>
update changelog

0e85eab34c84bd777fd20f769eca9ff8687ae158 authored about 4 years ago by Fábio Santos <[email protected]>
fix: ensure "exports" works on all versions of node (#861)

* fix: ensure "exports" works on all versions of node

Per https://github.com/terser/terser/is...

3d9103c6437dff1e1070af152baef8dee76a8280 authored about 4 years ago by Jordan Harband <[email protected]>
5.3.7

bcf2b71fffc915c063635dcb8f57e487f648cc7d authored about 4 years ago by Fábio Santos <[email protected]>
update changelog

cd8d09eaddbe3a004c1f2bec24c6e21298603e65 authored about 4 years ago by Fábio Santos <[email protected]>
fix: fix incorrect node engine semver versions (#855)

Currently this shows error [email protected]: The engine "node" is incompatible with this module. Exp...

1aa4ca8709d5e95b371c941aa6a301ce0e0f3a34 authored about 4 years ago by Alan Agius <[email protected]>
5.3.6

571fd998ddac312bae2e987aa622d49b11d6c97d authored about 4 years ago by Fábio Santos <[email protected]>
update changelog

6c9d332fbcde2a9ab92b0b548f6cab2b0eb0963e authored about 4 years ago by Fábio Santos <[email protected]>
update supported node versions

2703fc8c48d5d680e980ee8faf9cc8fde5ca71d0 authored about 4 years ago by Fábio Santos <[email protected]>
stop create_symbol symbol generator from creating symbols which conflict in inner scopes. Closes #851

33571704cf7118cec68011623142f126460799e2 authored about 4 years ago by Fábio Santos <[email protected]>
fix parens output for nullish coalescing operators. Closes #834

8a426499875774b8264d39791a36feb71c791bf7 authored about 4 years ago by Fábio Santos <[email protected]>
5.3.5

c881c78cbe7d1708935ffef184e3ee2c35af0d35 authored about 4 years ago by Fábio Santos <[email protected]>
update changelog

cbbea0b35650e5be04fc4ffc045bd2d8a65057a6 authored about 4 years ago by Fábio Santos <[email protected]>
avoid moving any named lambda into an export. Closes #800

4baf7641d6e13515949aa2e854fbb843bcaea56b authored about 4 years ago by Fábio Santos <[email protected]>
enable transformer for chain expressions. Closes #846

ece460d847501e2b4fe7b0f57ae173853a0e13aa authored about 4 years ago by Fábio Santos <[email protected]>
5.3.4

b681b5b169cd080933cb6f9ec9b185baaae8ea22 authored about 4 years ago by Fábio Santos <[email protected]>
update changelog

19570013b03995d749cc4d5f4d5a35be6ae83dee authored about 4 years ago by Fábio Santos <[email protected]>
fix crash when hoisting a destructuring

a626f5a162f95625f9b0d38fd9689efa7547ef5c authored about 4 years ago by Fábio Santos <[email protected]>
Configure Renovate (#843)

* Add renovate.json

* Update renovate.json

Co-authored-by: Renovate Bot <[email protected]...

54c5004e0939d7e17be80421e3c6d455bc4e9065 authored about 4 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
5.3.3

6beaabbae767918f7cf623d47245a24c82980413 authored about 4 years ago by Fábio Santos <[email protected]>
update changelog

0e1b4c4f518cd322f7eb6143227a38a15161885b authored about 4 years ago by Fábio Santos <[email protected]>
wrap_func_args should wrap arrow functions as well. Closes #839

66c3a5ce66c7873bded8c6466e72027f9816c548 authored about 4 years ago by Fábio Santos <[email protected]>
update source-map library

9fbfe010206aa02fdecadd2ba6b46dcdcb9b4797 authored about 4 years ago by Fábio Santos <[email protected]>
Add @deprecated output field to MinifyOptions type (#836)

* Add comments to MinifyOptions type

Fixes #835

* Update terser.d.ts

* Update terser.d....

a405105e722471f1405f7d5d7120705a219dcf92 authored about 4 years ago by Benny Powers <[email protected]>
5.3.2

c7ddcbfb8d901a3927b2f4b619b8332101af24d1 authored over 4 years ago by Fábio Santos <[email protected]>
update changelog

f50fe21b7ff1705ca474cef40685234feb1db785 authored over 4 years ago by Fábio Santos <[email protected]>
avoid spreading out expansions when weird stuff is found in them. Closes #787, #823

3284d8258a2c460099a56b39e500d764d2620761 authored over 4 years ago by Fábio Santos <[email protected]>
prevent self-recursion when SQUEEZED flag is not set. Closes #821

e90b4d2582aa7ba4f396ff7a76b280ae1dbeedd8 authored over 4 years ago by Fábio Santos <[email protected]>