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

take optional chains into account when locating the left-most item in an expression. (close #1256)

bb2e20fd36cf3f621f85c3e5754b301058b0f9e3 authored about 2 years ago by Fábio Santos <[email protected]>
some cleanups

350f9650218f1f9a781b73e62a7b3989047b9f02 authored about 2 years ago by Fábio Santos <[email protected]>
Update actions/setup-node action to v3 (#1156)

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

5fc39255207670853fa2bf56b9d74a67a3e49a33 authored about 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Update actions/upload-artifact action to v3 (#1161)

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

be73559c715d65588b64e4ed92af0341bc7a357f authored about 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update actions/checkout action to v3 (#1158)

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

666f79ee9b1cec5d508ad281fb0e89925845432e authored about 2 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix: incorrect `to_simple_statement` (#1253)

3652dce5d75a4b8443b4287209bb4a88554fc3ee authored about 2 years ago by bohanzh <[email protected]>
chore: fixed a couple of typos (#1271)

* chore: fixed typo in comment

* chore: fixed typos in test case

34e8262b2c26b738c692e5e789a30193ad109d92 authored about 2 years ago by Tim Shilov <[email protected]>
avoid a class being inlined twice when identity can be compared. (close #1267)

089e32a72ac6a5b0e64272b9e6d64b82ac86d95e authored about 2 years ago by Fábio Santos <[email protected]>
5.15.0

13fe8ca67a3bee4bdec317aeab28728589c36505 authored over 2 years ago by Fábio Santos <[email protected]>
update changelog

d397f55e49ab310d081b33b127887c711bbebbc8 authored over 2 years ago by Fábio Santos <[email protected]>
basic support for class static blocks. Closes #1093

c677e285261a0f115409a42015bd3664c8416534 authored over 2 years ago by Fábio Santos <[email protected]>
fix (domprops): add AudioWorkletNode params to the domprops list (#1230)

These are properties of AudioWorkletNode constructor options:

- `outputChannelCount`
- `para...

5ca7d868482a0bf4cac778ce970e7b817be09f38 authored over 2 years ago by 0b5vr <[email protected]>
avoid inlining `identityFn(...expandedArgs)`. closes #1226

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

0136e8a05ef864666a6e95b0de8b679b0bc93338 authored over 2 years ago by Fábio Santos <[email protected]>
5.14.2

c5cb19de2baafa1db60b1e8c387d9d995844f7ef authored over 2 years ago by Fábio Santos <[email protected]>
fix potential regexp DDOS

a4da7349fdc92c05094f41d33d06d8cd4e90e76b authored over 2 years ago by Fábio Santos <[email protected]>
Add source mapping for closing `}` (#1211)

839b81b24d04f217e8c454990c8b1de7e5e68b6b authored over 2 years ago by Justin Ridgewell <[email protected]>
Optimize property access evaluation (#1213)

Given the input `a.b.c.d.e.f`, the previous code would call `_eval` 57 times:

```
1 a.b
2 a...

645a092323fad50d2fc4c1c6b49ce1db0d9eeb4f authored over 2 years ago by Justin Ridgewell <[email protected]>
5.14.1

6706fec4b4e0622874854e75e7855b8afca4f1cc authored over 2 years ago by Fábio Santos <[email protected]>
update changelog

4a56ef22b96ac3b565bd21066c365a360b9559f7 authored over 2 years ago by Fábio Santos <[email protected]>
Add keep_numbers option. Closes #1208

c558e1216b9f7cff21cb58ead6fb2d9785a41262 authored over 2 years ago by Fábio Santos <[email protected]>
fix parsing of nested template strings. Closes #1204

f745ac75f1adbfc5dc4d1e4a8c365eb9463def01 authored over 2 years ago by Fábio Santos <[email protected]>
5.14.0

17077538002e529ea96a37ae567d5121296177bf authored over 2 years ago by Fábio Santos <[email protected]>
update changelog

cb8283378037c6ca18c6c950e0e6f5ed9f856b64 authored over 2 years ago by Fábio Santos <[email protected]>
Fix compressed source-maps have non-terminated segments (#1106)

This reverts commit 7c1e9cceabf445e228f28496d7af37f76129c14a.

348338842ef57bcaa4ce362e1d5a760213758e46 authored over 2 years ago by Paul Gschwendtner <[email protected]>
chore: Set permissions for GitHub actions (#1195)

* chore: Set permissions for GitHub actions

Restrict the GitHub token permissions only to th...

b47c3e680e93e20c18b5e736d14235c63eb58ed1 authored over 2 years ago by nathannaveen <[email protected]>
Switch to GenMapping for sourcemap generation (#1190)

* Switch to GenMapping for sourcemap generation

[`gen-mapping`](https://github.com/jridgewell...

a47f29a57b12999c939845781daa7d6f8bdaeff2 authored over 2 years ago by Justin Ridgewell <[email protected]>
Update package.json (#1194)

8627a08fe2c91b215821900034f28c627f70538e authored over 2 years ago by Liz Fong-Jones <[email protected]>
include types export for ts4.7 nodenext resolution (#1193)

See https://github.com/microsoft/TypeScript/issues/47792#issuecomment-1043819482

2d59a1110e34cfe59f1a756abd9f92771e9d0e3e authored over 2 years ago by Liz Fong-Jones <[email protected]>
Add note about ecma parse option being deprecated

663ea2a3cecfa5462a128807e2ee142778c33eb4 authored over 2 years ago by Fábio Santos <[email protected]>
fix (domprops): add `COMPLETION_STATUS_KHR` to the domprops list (#1191)

`COMPLETION_STATUS_KHR` is a property of `KHR_parallel_shader_compile` extension of WebGLRenderi...

f80f962887dbd261001e69069bc5f505523d37ac authored over 2 years ago by 0b5vr <[email protected]>
garbage collect the AST while outputting code (#1189)

* garbage collect the AST while outputting code

* go through all the scopes before including ...

878a63178ac4f7607c2bdd8439b131f0618b158e authored over 2 years ago by Fábio Santos <[email protected]>
Switch to TraceMap for sourcemap's originalPositionFor API (#1181)

* Switch to TraceMap for sourcemap's originalPositionFor API

[trace-mapping](https://github.c...

423b30405521566135b130644fdf27f72194dcf1 authored over 2 years ago by Justin Ridgewell <[email protected]>
5.13.1

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

03a1af6efa5422a7c90c19514c7e101d760735b2 authored over 2 years ago by Fábio Santos <[email protected]>
remove spurious self-assignments. Closes #1081

adf7e8554068de308750994cc33f7db9f398a56a authored over 2 years ago by Fábio Santos <[email protected]>
factor out the inline code

56a05f0bb768c2e3b1530a2454d26bfa34dfc918 authored over 2 years ago by Fábio Santos <[email protected]>
allow multiple binding identifiers in `var` destructuring. Closes #1176

9a548ddb3b6c38cf7656ef4e11b7d4734c99daae authored over 2 years ago by Fábio Santos <[email protected]>
5.13.0

700bdba64839db657b24cecc27a21bc592a11461 authored over 2 years ago by Fábio Santos <[email protected]>
update changelog

20f1d7a0952d284da8d9d60779276cef340c3057 authored over 2 years ago by Fábio Santos <[email protected]>
Remove last new Function() call (#1184)

This is treated as an eval call by V8, and can't be executed in
environments where eval is bloc...

67887ea9ce48d9d1311b74752478018c500c9dfa authored over 2 years ago by Scott Goodhew <[email protected]>
Run Eval removing codeshift (#1171)

Remove all the places where code is built as a string and then evaled to
make a function. This ...

a8ab6845b64ec87c611511ea282dcbd2d56c074c authored over 2 years ago by Scott Goodhew <[email protected]>
stop using eval to create RegExps

52da6d2f6f7cb28179bfc5dd195d7e179cb6ed17 authored over 2 years ago by Fábio Santos <[email protected]>
Update source-map -> 0.8.0-beta.0 (#1164)

7c98c9caf70c16fe55050d3677d1822b0f7afdc5 authored over 2 years ago by Rob Hogan <[email protected]>
domprops.js: add `NavigatorUAData` to domprops (#1166)

* add userAgentData and NavigatorUAData props to domprops

* add missing props

a88f4faded370c2f1e1af7417dcda2bb9c63da65 authored almost 3 years ago by wesleyorbin <[email protected]>
5.12.1

7bc247953f36e74ded0380abe9eed53c54f494e9 authored almost 3 years ago by Fábio Santos <[email protected]>
update changelog

cd8d54375baafe141fc617b8282dce978097ec9a authored almost 3 years ago by Fábio Santos <[email protected]>
opt out of tricky mangling when a function definition is placed inside a block. Closes #1155

2c8b37d27e26594356ca0c5efe681cb3596c45df authored almost 3 years ago by Fábio Santos <[email protected]>
emit parens to disambiguate between 'new Thing()' and 'new Thing()' (closes #1159)

a6c87ad57841883c3abe7bd95052ff37519a7ba7 authored almost 3 years ago by Fábio Santos <[email protected]>
5.12.0

2142ddb238794a51a6296566b92e06a15e40e356 authored almost 3 years ago by Fábio Santos <[email protected]>
update changelog

0550bcc59912a01e9ad955a516daaac3b613cc4a authored almost 3 years ago by Fábio Santos <[email protected]>
Add TERSER_DEBUG_DIR environment variable to debug terser's input

c1d0b41771ff86b9a3e0ed0819d6b232d3cbc2fc authored almost 3 years ago by Fábio Santos <[email protected]>
Preserve @copyright comments as part of "some" default (#1153)

* preserve @copyright comments with "some" default, fixes #1151

* update relevant README not...

000dcffe2f48e30eb2a32c3a850e8a8c169c63ae authored almost 3 years ago by Nathan Vander Wilt <[email protected]>
Update README.md

2662736501bed70ce84451bc32a54b089650edd8 authored almost 3 years ago by Fábio Santos <[email protected]>
5.11.0

122b1b3da474a23d0497391f9cf63b790bd9470b authored almost 3 years ago by Fábio Santos <[email protected]>
update changelog

f84c3fe007072e454742f6e6d6657f45cf241393 authored almost 3 years ago by Fábio Santos <[email protected]>
do not emit unicode code point escapes inside RegExp literals. Closes #1147

c2e550f96584c89a47fa4b6504eb70208bf19047 authored almost 3 years ago by Fábio Santos <[email protected]>
update mocha

748e0e8bb0f25dadb275fa138e7358c2256e190d authored almost 3 years ago by Fábio Santos <[email protected]>
document how to specify option groups

Closes #1133

540e88639ecae745300b1754ab4452fade4e828c authored almost 3 years ago by Fábio Santos <[email protected]>
raise acorn to an actual dependency. Related to #1076

05b23eeb682d732484ad51b19bf528258fd5dc2a authored about 3 years ago by fabiosantoscode <[email protected]>
appease lint

3ccf5cffa6dcda1065600e2ec42f241197a4ef9c authored about 3 years ago by fabiosantoscode <[email protected]>
5.10.0

338c996a7ec0066b3c0aff469307fdda6663b3ac authored about 3 years ago by fabiosantoscode <[email protected]>
update changelog

815f59769b6593797a8551d89f32059349543a60 authored about 3 years ago by fabiosantoscode <[email protected]>
Optimize max_line_len (#1109)

The old max_line_len code fell into a surprising slowdown where repeatedly inserting chars in th...

a966e74ed4f053a60c111669d1fb628c46907162 authored about 3 years ago by Justin Ridgewell <[email protected]>
basic support for import assertions. Closes #1095

8539751932f2068c7408c89fba1f29812c4da72c authored about 3 years ago by fabiosantoscode <[email protected]>
add ES2022 Object.hasOwn as a pure function

f10938ee0d93aed28218b2871b5f22448e46f174 authored about 3 years ago by fabiosantoscode <[email protected]>
Fix delete on optional chain (#1103)

8f3035707c313368ade586bb43e0098fa9003505 authored about 3 years ago by Justin Ridgewell <[email protected]>
Ensure default case folding only happens when default is last (#1084)

* Ensure default case folding only happens when default is last

I failed to consider if multi...

aadf03db0050bf10bef25c66c46503acf4b713ee authored about 3 years ago by Justin Ridgewell <[email protected]>
Resolves: Add a CI/CD pipeline with GitHub Actions (#1057)

* Create CI/CD pipeline (#4)

* Add GitHub release (#5)

* reduce pipeline to CI only

e61a299e658f8bac1676152d455e8c1a116dbd5e authored about 3 years ago by Aleksandar Ivanov <[email protected]>
Ensure switch branches reordering happens only for constant branch expressions (#1092)

f251cd49d56ebf26e1c2e936c2cddbd43e0f8124 authored about 3 years ago by Elad Yosifon <[email protected]>
allow 'get;' as a class property without value. Closes #1078

01f1841a23b317cc91a6336ce2e34ef0a080cad9 authored about 3 years ago by fabiosantoscode <[email protected]>
make acorn an optional peerDependency. Closes #1076

fc1e6e7ac642612b81c5d919de8038a58fd19091 authored about 3 years ago by fabiosantoscode <[email protected]>
update tests

afc38a2e7e3dc8f0eef9d518c4f014cf24774cf1 authored about 3 years ago by fabiosantoscode <[email protected]>
Fix a collision with exported variables with short names (#1072)

* Fix a collision with exported variables with short names

In some cases, it's possible to ge...

ecb869e75637e3e3db1c6d34b2b2f8bdb68f01c4 authored over 3 years ago by Justin Ridgewell <[email protected]>
Keep iife assignment in return statement for async/generators (#1073)

Fixes #1029

ad494a7828daa73604d1c7221b14998a2b135e55 authored over 3 years ago by Justin Ridgewell <[email protected]>
5.9.0

320241024c236d05fbacab85b55dc9c50413697c authored over 3 years ago by fabiosantoscode <[email protected]>
update changelog

dbeb3580050623365a0cf8e76554a696af2151b6 authored over 3 years ago by Fábio Santos <[email protected]>
collapsing switch cases with same bodies, when not lined in a row (#1070)

* collapsing switch cases with same bodies, when not lined in a row

* fix side-effects bug (c...

8430c66f239333a5758bfff0d83fecf982411a14 authored over 3 years ago by Elad Yosifon <[email protected]>
Fix compress/eval of optional chains (#1062)

* Fix compress/eval of optional chains

This implements the recursion necessary to determine i...

8dea52989cac954b3db39dce1ab71a9bb23aacbc authored over 3 years ago by Justin Ridgewell <[email protected]>
Fix collisions between original property and mangled property (#1063)

* Fix collisions between original property and mangled property

This fixes a bug when an orig...

38bef40040b37c0f37b1b5f72212f796a7bd10b2 authored over 3 years ago by Justin Ridgewell <[email protected]>
fix: functions may be compressed mistakenly if passes=2 (#1047)

* fix: functions may be compressed mistakenly if passes=2

* inline functions: always clone

...

047992118085a00aa1a86d43b3b64c0be26ddd7a authored over 3 years ago by Dahan Gong <[email protected]>
Fix inlining object spread properties (#1071)

c8fa225cb4241d68c51a43f311720d73af0eb390 authored over 3 years ago by Justin Ridgewell <[email protected]>
Fix missing nth_identifier default in minify() (#1069)

c4fcdcc917e1395f9f17f919f21f9056b1140f85 authored over 3 years ago by David Michon <[email protected]>
5.8.0

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

86ea74d5c12ae51b6446882fbb17b0def8b1cb86 authored over 3 years ago by Fábio Santos <[email protected]>
update dependencies

1ea299bf556b7b9ee1f732894d17dcd0c46b17ac authored over 3 years ago by fabiosantoscode <[email protected]>
collapse_vars: fix inlining expr into scope with shadowed var (#1065)

* collapse_vars: fix inlining expr into scope with shadowed var

* Fix scope crawl

* Update...

f8a1f89fe0ea1fe563663a7f7def1b8923d76bcf authored over 3 years ago by Justin Ridgewell <[email protected]>
Create README.md

438806dcd92ad59b29a5e8a09d0ad4ce1edd4bf2 authored over 3 years ago by Fábio Santos <[email protected]>
Don't mangle computed properties with keep_quoted (#1058)

* Preserve computed attributes when mangling with keep_quoted

There were various failures whe...

3409eb6c7d663e14617f23c4700af4695d70c0be authored over 3 years ago by Justin Ridgewell <[email protected]>
Fix mangling nested dothash expressions (#1068)

We forgot to define the transform function for `AST_DotHash`. Since it's the same as `AST_Dot`, ...

748e3a64fb90aa266e3a901a14a04c48f06c674f authored over 3 years ago by Justin Ridgewell <[email protected]>
Fix private getter/setter mangling (#1060)

* Mangle private properties by default when manglin

* Fix sourcemap test for private fields
...

e6312f42eacdc4cf05f8f86d680a66de041eda38 authored over 3 years ago by Justin Ridgewell <[email protected]>
Add ability to grep for test compress test case (#1061)

f04077c91fda8ea557230e489d0b13485270dca5 authored over 3 years ago by Justin Ridgewell <[email protected]>
Added Array.from unsafe optimization (#747)

Closes #746

d3fb5b03c03ed060ac72fe8ef2db6c991af080cb authored over 3 years ago by Andrey Chalkin <[email protected]>
Support mangle.nth_identifer to customize base54 behavior (#1038)

* Support nth_identifier option to customize base54

* Ensure base54 is operational immediately

f4a3ca4b639d09257b1a67981855617c450ce334 authored over 3 years ago by David Michon <[email protected]>
Optimize various switch statements (#1044)

* Optimize various switch statements

1. This implements full case folding for equivalent bran...

75df7e091177932d1e96ec26cc3dd473fe0cecf0 authored over 3 years ago by Justin Ridgewell <[email protected]>
lint

9c0481f8e3847c8981873c79933746687956c7cb authored over 3 years ago by fabiosantoscode <[email protected]>
5.7.2

3838289ca9ff43a2076e0417306a9fa18c97368c authored over 3 years ago by fabiosantoscode <[email protected]>
update changelog

2ae3b93e5caf2a50c23d8cb0b8e3b6e60fb33bb1 authored over 3 years ago by fabiosantoscode <[email protected]>
fix: functions in global_defs may be compressed mistakenly (#1036)

* fix: functions in global_defs may be compressed mistakenly

* fix: use node.clone instead of...

23e421119737f6501e8f5c37ac610eb52fbd6cf0 authored over 3 years ago by Dahan Gong <[email protected]>
Terser for Gulp (#1035)

I wrote some code that allows using the 'terser' plugin in the 'gulp' build.
There is no longer...

c7cd53d9acbfffe76d9921c6dbcff04d6d68278b authored over 3 years ago by Artem Guskov <[email protected]>