45 Commits

Author SHA1 Message Date
Evan Wallace
f392a14fd0 Implement ergonomic brand checks for private fields (#1177) 2021-04-22 04:12:50 -07:00
Evan Wallace
9a1c85f6db Avoid using the same helper function names as TypeScript (#1103) 2021-04-02 15:28:50 -07:00
Evan Wallace
f4a730886f implement lazy evaluation of esm code 2021-03-28 19:34:49 -07:00
Evan Wallace
842e0a60b6 fix #1066: private fields inside destructuring 2021-03-26 15:41:47 -07:00
Evan Wallace
9992b432a6 shorten commonjs helper 2021-03-25 01:42:36 -07:00
Evan Wallace
9d44e66ff1 do not use Object.assign for object spread (#1018) 2021-03-20 02:07:37 -07:00
Evan Wallace
f578d5d771 mix babel and node semantics for "default" (#532) 2021-03-03 20:42:41 -08:00
Evan Wallace
2eeb8b4841 fix #532: use node's "default" semantics for cjs-in-esm 2021-03-03 19:01:14 -08:00
Evan Wallace
81a1117681 fix #758: subtle circular dependency issue 2021-02-08 00:04:03 -08:00
Evan Wallace
d1725c902a fix for "module.exports = null" (#532) 2020-11-17 20:59:51 -08:00
Evan Wallace
a370d53517 fix #510: add the "--keep-names" option 2020-11-11 02:38:13 -08:00
Evan Wallace
29b9e13429 fix #489: work around safari getOwnPropDesc bugs 2020-10-28 07:02:02 -07:00
Evan Wallace
27903552aa fix strict class transform with computed toString 2020-10-26 01:33:13 -07:00
Evan Wallace
fdf682425b fix #472: import non-enumerable properties 2020-10-20 00:31:09 -07:00
Evan Wallace
d989dd35e1 fix bugs with "=>" when target is "es5" 2020-10-19 23:35:09 -07:00
Evan Wallace
7c84029542 Revert "fix #455: "module.require" forwards to "require""
This reverts commit 9dbe4c8793.
2020-10-16 02:08:00 -07:00
Evan Wallace
9dbe4c8793 fix #455: "module.require" forwards to "require" 2020-10-13 22:24:11 -07:00
Evan Wallace
0a0b1f0325 rename compat table to js compat table 2020-09-29 22:03:30 -07:00
Evan Wallace
bee2b297f8 lower arrow functions for es5 (#182, #297) 2020-09-18 17:26:10 -07:00
Evan Wallace
334f4a8a6c "logging" => "logger" 2020-09-10 15:18:39 -07:00
Evan Wallace
49635c1dbc "ast" depends on "logging" instead of vice versa 2020-09-10 15:14:36 -07:00
Evan Wallace
81fee8d931 export prototype properties of cjs modules (#326) 2020-08-12 16:10:51 -07:00
Evan Wallace
d196f6f0db change absolute path to key path on source 2020-07-08 02:52:24 -07:00
Evan Wallace
a296649e9c add test coverage for es5 errors 2020-07-07 19:00:18 -07:00
Evan Wallace
ba88f9b281 use es5 code in runtime for es5 target 2020-07-07 18:49:53 -07:00
Evan Wallace
ece931d3aa add the "binary" loader 2020-07-06 23:14:26 -07:00
Evan Wallace
149d70bdca perf improvement for repeated api calls 2020-07-06 21:30:03 -07:00
Evan Wallace
c8234e4c92 move runtime source index to runtime folder 2020-07-03 12:03:11 -07:00
Evan Wallace
450e7f45ea optimize export star helper to avoid string keys 2020-06-29 22:28:00 -07:00
Evan Wallace
92b3a3038b implement lowering for object rest bindings 2020-06-23 02:11:45 -07:00
Evan Wallace
6f1888e86f greatly simplify typescript namespace exports 2020-06-21 23:34:53 -07:00
Evan Wallace
894a815bab attempt to optimize strict class field transform 2020-06-21 18:12:04 -07:00
Evan Wallace
0a1d57a6e2 fix #185: add strict option for class fields 2020-06-21 16:56:22 -07:00
Evan Wallace
e687e360e1 better minification of private member helpers 2020-06-21 15:21:15 -07:00
Evan Wallace
2f131135e4 fix #137: implement lowering for async/await 2020-06-21 01:35:42 -07:00
Evan Wallace
07b121822c fix #47: implement lowering for private members 2020-06-20 23:06:17 -07:00
Evan Wallace
da6b9582f0 fix #159: implement "export * from ..." for commonjs modules 2020-06-08 17:09:12 -07:00
Evan Wallace
2cf35ea612 fix #104: initial implementation of typescript decorators 2020-06-08 04:52:06 -07:00
Evan Wallace
700ffda8dc implement the "sideEffects" package.json field (#50) 2020-06-04 17:20:45 -07:00
Evan Wallace
883d61c7c9 fix multiple defines ending in the same property 2020-05-25 01:32:06 -07:00
Evan Wallace
de6f0ec865 lots of work on entry point exports 2020-05-23 19:34:28 -07:00
Evan Wallace
aaca12e35e immediately evaluate commonjs entry points 2020-05-22 17:14:22 -07:00
Evan Wallace
7449d42f64 re-implement star imports 2020-05-22 17:14:22 -07:00
Evan Wallace
9cb931dbd5 make runtime more like a normal module 2020-05-22 17:14:22 -07:00
Evan Wallace
a94685dd3a move go source code for #66 2020-05-06 23:41:26 -07:00