36 Commits

Author SHA1 Message Date
Joel Denning
5b99ee22ea
Allow deletion of uninstantiated modules whose top level parent import finished. Resolves #2286. (#2291)
* Reproduce issue #2286.

* Making test more clear

* Fix

* Self review

* Add load.p

* possible parent fix

* optional p

* parent restriction

* Fix

* Update src/system-core.js

* another variation

Co-authored-by: Guy Bedford <guybedford@gmail.com>
2020-12-31 13:05:28 -07:00
Guy Bedford
c93181c954
footprint improvement for browser (#2290) 2020-12-15 17:13:40 -07:00
Joel Denning
bbd15a3ec3
Fix deleting modules after link failure. Resolves #2286. (#2288) 2020-12-15 16:02:20 -08:00
Guy Bedford
0c03f9ba96
ensure onload hooks retain catches (#2289) 2020-12-15 14:22:02 -08:00
Guy Bedford
3eefa2daa8
Inline named exports extra into core (#2264) 2020-10-09 13:04:11 -07:00
Guy Bedford
a0dd823256
import.meta.resolve implementation (#2230) 2020-08-10 11:56:41 -07:00
Guy Bedford
c8210d60eb
depcache implementation (#2134) 2020-07-23 13:55:45 -07:00
Jamespp
b6be7a367e
Fix onload (#2204) 2020-07-21 08:24:51 -07:00
Guy Bedford
d37f7cade3
Make setters optional (#2193) 2020-06-01 16:51:53 -07:00
Joel Denning
109af162d9
Add warning for calling System.set with non-URL id. (#2161)
* Add warning for calling System.set with non-URL id.

* Fixing package.json

* Self review

* Splitting warnings from errors.

* Self review

* Fix tests

* Guy's feedback

* Fixing test
2020-04-08 16:56:19 -06:00
Joel Denning
db96b64d86
Removing const / let in favor of var, for Chrome 45. See #2098. (#2162)
* Removing const / let in favor of var, for Chrome 45. See #2098.

* Review feedback

* Fix issue with iteration scope

* Self review
2020-04-07 11:34:55 -06:00
Joel Denning
17686fbaa2
Switching to ncc, using make-fetch-happen, and source-map-support (#2158) 2020-04-06 17:47:52 -07:00
Joel Denning
7fea9d7c8c
NodeJS Support (#2150) 2020-04-06 16:04:45 -07:00
Joel Denning
243c0990ba
Switching to error codes and documentation pages (#2151)
* Beginnings of error codes

* Self review

* Merging master

* Undoing changes to dist

* Self review

* Self review

* Self review

* Self review

* Self review

* Self review

* Guy's feedback

* Guy's feedback

* Adding more documentation for error codes

* Self review

* Self review

* Last error codes

* Guy's feedback

* Self review

* Feedback

* Last feedback

* Self review

* Self review

* Feedback
2020-04-06 15:09:35 -06:00
Joel Denning
052c8747ff
Ensure that __esModule is copied to ns even if it isn't enumerable. (#2093)
* Ensure that __esModule is copied to ns even if it isn't enumerable.

* Self review

* Self review
2020-01-10 11:18:15 -07:00
Guy Bedford
85eb636f46 Support registry delete returning update function (#2020) 2019-10-20 13:59:48 -04:00
Joel Denning
24746f9e4e Removing unneeded console.log (#2046) 2019-10-12 19:54:05 -04:00
Guy Bedford
1382144893 clean up extras 2019-10-06 12:55:52 -04:00
Guy Bedford
c0226a86b5
Add deps argument to onload hook (#1998) 2019-08-25 12:57:00 -04:00
Joel Denning
3b62497acd Changing System.resolve to be synchronous. Resolves #1985. (#1996) 2019-08-25 11:53:47 -04:00
kouts
6a8aeb7a2a Fixed typo (#1970) 2019-07-14 14:31:17 -06:00
Joel Denning
18cbc5b358 Switching from new Error() -> Error() to save bytes. (#1951) 2019-06-29 11:45:30 -04:00
Guy Bedford
c274caa172 fixup async failure case bug 2019-04-13 16:49:44 +02:00
Guy Bedford
cc44badb95 fixup non-tracing async exec bug 2019-04-07 19:05:16 +02:00
Guy Bedford
cdd3551527 ensure loader.delete with instantiate errors 2019-03-03 19:42:40 +02:00
Guy Bedford
1afd8f08e9 fixup missing err parameter 2019-02-03 20:21:07 +02:00
Guy Bedford
dcf018cdb3 fixup circular top-level await 2018-09-02 20:43:09 +02:00
Guy Bedford
86aab07fd0 narrow createContext 2018-08-30 15:50:39 +02:00
Guy Bedford
79f885c18b translate -> transform, package map fixes 2018-08-30 15:31:01 +02:00
Guy Bedford
dd171d1041 provide contextual information for load failures 2018-08-22 00:51:35 +02:00
Guy Bedford
1ff3acd1ad script error detection, error tests, ie11 tests 2018-08-21 01:30:32 +02:00
Guy Bedford
4ec8ccdcf5 finish up initial extras and testing 2018-08-20 18:45:06 +02:00
Guy Bedford
e594e1b378 pad out tests, browser tests, amd tests 2018-08-20 14:47:56 +02:00
Guy Bedford
a220c8ee15 remove error wrapping to ensure direct error stacks 2018-08-19 18:52:22 +02:00
Guy Bedford
f507139bb6 test padding out 2018-08-19 17:55:46 +02:00
Guy Bedford
3c25bbdf12 SystemJS 2.0 2018-08-19 01:23:02 +02:00