Brandon Istenes
809e91f4ee
Add error message for missing content-type header ( #2197 )
...
* Add error message for missing content-type header
* Update src/extras/module-types.js
Co-authored-by: Joel Denning <joeldenning@gmail.com>
* Add tests for missing or invalid content-type headers
Co-authored-by: Joel Denning <joeldenning@gmail.com>
2020-06-26 21:39:54 -06:00
Saulo Furuta
827c644e67
Named-exports extras - Default export function with named exports ( #2186 )
...
* Allow default function to have named-exports
* Updated dist bundle
* Add tests for umd named exports
* Revert dist changes
* created fixture for Object.create(null)
* Linters 👕
* Check for enumerable safe for Object.creaate(null)
* Add tests for default export w Obj.create(null)
* 👕
2020-05-09 10:17:30 -06:00
Joel Denning
fa543d4178
Fix bug in system-node where prepareImport overwrote import map. ( #2170 )
2020-04-09 15:42:21 -06:00
Joel Denning
eeb0e1f736
Fixing tests in IE11 ( #2167 )
2020-04-09 12:16:16 -06: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
fa6afcd1ca
Fixing NodeJS build and tests. ( #2163 )
...
* Fixing NodeJS build and tests.
* Ensuring browser tests are run in firefox.
* Self review
* Making footprint command faster
* Fixing test scripts in Windows
2020-04-07 13:29:00 -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
e890d4b562
Adding test-browser-watch script, and fixing nodejs cjs/esm interop warning ( #2145 )
2020-03-15 10:52:42 -06:00
Laura
b50fd23e36
Fix AMD modules which return falsy values ( #2130 )
...
* fix: amd modules can resolves to falsy values
* test: AMD module does not need to be named
* fix: missing AMD modules should be undefined
2020-02-27 15:20:35 -07:00
Joel Denning
6caaee5921
6.2.4
2020-02-23 19:05:31 -07:00
k-j-kim
90c8490f36
fix: cleaning up registerRegistry after instantiate ( #2125 )
...
* fix: cleaning up registerRegistry after instantiate
* refactor: setting entry to null instead of using nameRegistry
* test: adding a test for named registry resolve after import cleanup
* chore: reverting dist
2020-02-23 18:55:46 -07:00
Joel Denning
3e26b1d653
Fixing more named register race conditions. ( #2121 )
...
* Fixing more named register race conditions.
* Self review
* Guy's feedback
2020-02-14 09:44:45 -07:00
Joel Denning
dfdba67f65
Supporting multiple define variations for named modules. Resolves #2118 . ( #2119 )
...
* Supporting multiple define variations for named modules. Resolves #2118 .
* Self review
2020-02-07 09:09:02 -07:00
Joel Denning
2cf8503b0f
Fix problem with named register modules. Resolves #2115 . ( #2116 )
2020-02-06 09:44:06 -07:00
Guy Bedford
f1e5ec58fa
createScript / fetch / shouldFetch hooks ( #2058 )
...
* createScript hook
* fetch, shouldFetch
Co-authored-by: Joel Denning <joeldenning@gmail.com>
2020-01-31 13:55:34 -07:00
Joel Denning
9c1fe43f05
Prefer import map resolution over registerRegistry. Resolves #2107 . ( #2108 )
...
* Prefer import map resolution over registerRegistry. Resolves #2107 .
* Guy's feedback
2020-01-25 21:18:16 -07:00
Joel Denning
8ac413f127
Fixing bug - named AMD modules were instantiated twice. Resolves #2103 . ( #2104 )
...
* Fixing bug - named AMD modules were instantiated twice. Resolves #2103 .
* Self review
* Self review
2020-01-17 11:40:15 -07:00
Joel Denning
a13f88fb25
Fixing tests in non-Chrome browsers
2020-01-11 14:12:11 -07:00
Lars den Bakker
c7f5e1273c
fix: strip search param and hash when determining module type ( #2096 )
2020-01-11 14:03:50 -07: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
Joel Denning
5338b4bb02
Fixing bug where named-exports didn't work on named registers. Resolves #2073 . ( #2074 )
...
* Fixing bug where named-exports didn't work on named registers. Resolves #2073 .
* Comment
* Comment
* Comment
* Guy's feedback
2019-11-22 14:01:06 -07:00
Guy Bedford
958aa919aa
handle resolution of relative URLs LHS in import maps ( #2039 )
2019-10-04 22:31:34 -04:00
Joel Denning
82a829e006
Fixing bug with AMD extra. Resolves #2026 . ( #2029 )
2019-09-17 16:32:25 -04:00
Joel Denning
a40a82e36d
Patching prepareImport before loading script modules. Resolves #2024 . ( #2025 )
2019-09-13 17:46:12 -04:00
Joel Denning
1b5a2bdcc8
Loading type=systemjs-module scripts. Resolves #2002 . ( #2015 )
2019-09-02 12:45:59 -04:00
Guy Bedford
e6bd2d3e15
Cascading import maps implementation ( #2009 )
2019-08-29 14:45:48 -04:00
Guy Bedford
36854be097
Module Types Extra ( #2006 )
2019-08-27 13:54:05 -04:00
Joel Denning
fc0cf78c6a
Reserve html modules for future implementation. See #1992 . ( #2000 )
2019-08-25 13:51:52 -04:00
Joel Denning
df3ac1955b
Implement loading of CSS Modules. Resolves #1991 . ( #1997 )
2019-08-25 12:57:46 -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
Joel Denning
06dadee7f7
Supporting System.import for a single named System.register module ( #1984 )
2019-08-25 11:45:24 -04:00
Guy Bedford
cbde650503
fixup importmap test
2019-07-30 23:31:04 -04:00
Guy Bedford
cde15c803a
Resolve scopes relative to import map base ( #1975 )
2019-07-30 23:25:05 -04:00
Guy Bedford
89731e8e71
fixup named exports extra for amd exports ( #1978 )
2019-07-30 23:12:46 -04:00
Guy Bedford
f0d99c13d1
json modules deferred parse, tests
2019-06-29 12:45:45 -04:00
Guy Bedford
2ee278189b
support amd importing esm through __useDefault pattern ( #1941 )
2019-06-29 12:42:14 -04:00
Lars den Bakker
17ae8b7822
Take base href into account when creating baseUrl ( #1957 )
...
* Take base href into account when creating baseUrl
* Add a test for base href logic
2019-06-29 11:35:32 -04:00
Guy Bedford
af700ef99e
update amd splice exports test with two dependencies
2019-04-18 18:43:04 +02:00
Guy Bedford
e2978d1aa9
amd, test fixup
2019-04-18 17:12:18 +02:00
Guy Bedford
532fdbdded
update iterator handling
2019-04-07 19:17:38 +02:00
Joel Denning
984dcd1c0f
Making the registry iterable. See #1918 . ( #1919 )
2019-04-07 19:07:28 +02:00
Guy Bedford
cc44badb95
fixup non-tracing async exec bug
2019-04-07 19:05:16 +02:00
Guy Bedford
a5d62bec59
update scopes examples to use trailing slash
2019-03-25 00:22:28 +02:00
Guy Bedford
56d515a288
fixup amd script error handling
2019-03-24 23:56:37 +02:00
Joel Denning
42ea052e9a
Changing basic resolve to return Promise. Resolves #1909 . ( #1915 )
2019-03-17 22:52:58 +02:00
Guy Bedford
a0d53c956b
fixup URL imports
2019-03-17 17:25:44 +02:00
Joel Denning
52a38c11cb
Implementing support for multiple import maps. ( #1912 )
2019-03-17 17:10:41 +02:00