307 Commits

Author SHA1 Message Date
guybedford
01670edac1 test for # loading 2015-09-22 19:31:50 +02:00
guybedford
ec859c6ba2 0.19.0 2015-09-18 14:53:02 +02:00
guybedford
f670e8b7cc include jquery cdn test 2015-09-18 11:43:44 +02:00
guybedford
fa2d32c6a0 ensure format detection is disabled for bundles 2015-09-18 11:25:49 +02:00
guybedford
118d086c2b backtracking main loading test 2015-09-14 21:30:03 +02:00
guybedford
e8826947d2 package relative and self-loading adjustments 2015-09-14 16:07:29 +02:00
guybedford
84cd10b531 clarify extension handling 2015-09-13 17:34:22 +02:00
guybedford
2797114a4d negation reversion for non member conditions, boolean conditional ordering 2015-09-10 10:37:55 +02:00
guybedford
1cfd5fe623 include both conditional package map tests 2015-09-09 21:55:37 +02:00
guybedford
5b84a433d3 negation adjustment, boolean fix for package map 2015-09-09 21:52:51 +02:00
guybedford
cd4a8352b7 package-level conditional interpolation, | as conditional member expression, conditional build adjustments 2015-09-09 15:08:51 +02:00
guybedford
5ad84497bd support multiple config paths per package 2015-09-08 00:13:17 +02:00
guybedford
7a080167ff support package-level depCache 2015-09-07 21:25:40 +02:00
guybedford
4bed51330b support non-standard versions in test 2015-09-06 10:09:20 +02:00
guybedford
3adf8a9d10 ensure test case catches register perf issue 2015-09-05 15:38:42 +02:00
guybedford
4968f1a51f correct slow register regex (#762) 2015-09-05 15:37:10 +02:00
guybedford
7c9c93b303 add 0.19 deprecation warnings (#758) 2015-09-05 12:58:53 +02:00
guybedford
961bc37fd7 support package config array main 2015-09-04 22:23:13 +02:00
guybedford
d782a4b1e0 ensure prefixing under systemjs not system 2015-09-04 20:56:30 +02:00
guybedford
89ea2940bf packageConfigPaths edge cases 2015-09-04 20:05:16 +02:00
guybedford
77a1dd8ced system prefixing, warning 2015-09-04 19:07:58 +02:00
guybedford
3e40b1e332 packageConfigPaths config file flexibility 2015-09-04 18:40:28 +02:00
guybedford
897403e057 fix test conflict 2015-09-03 18:28:43 +02:00
guybedford
d0e4efb537 defaultExtension to always apply, loader meta to skip package defaultExtension (#756) 2015-09-03 18:22:33 +02:00
guybedford
336008b488 support System.transpiler = false 2015-09-03 09:13:58 +02:00
guybedford
9ded329fd3 support node version as well 2015-09-02 14:58:52 +02:00
guybedford
55aa65936e implement System.version 2015-09-02 14:51:23 +02:00
guybedford
06fff2d5b7 packagePaths -> packageConfigPaths 2015-08-27 17:52:09 +02:00
guybedford
37c1360d96 fix test conflicts, ie8 tests, edge case refinements 2015-08-27 16:22:37 +02:00
guybedford
4a0a980dc2 equivalence check tweak 2015-08-27 15:54:04 +02:00
guybedford
2b7609925a package naming edge cases and specificity (#722) 2015-08-27 15:48:18 +02:00
guybedford
5ad9d2e524 add defaultExtension false test 2015-08-26 12:30:13 +02:00
guybedford
ea16d855cf package global map fix 2015-08-24 22:58:05 +02:00
guybedford
e6d6552ee2 fix defaultJSExtensions test for basePath 2015-08-21 18:53:48 +02:00
guybedford
06f5d77f8b basePath implementation 2015-08-21 18:51:09 +02:00
guybedford
aab3d9c298 package self-referencing (#410) 2015-08-20 13:45:17 +02:00
guybedford
94274088d0 support node core module loading 2015-08-20 13:41:12 +02:00
guybedford
ce80316eae test package extension preferences 2015-08-20 12:44:48 +02:00
guybedford
3cdf2c437e dynamic configuration requests for packages 2015-08-20 12:36:01 +02:00
guybedford
8fc4bb60db register only test 2015-08-18 11:44:11 +02:00
guybedford
5622e15a07 ie8 adjustment 2015-08-18 11:36:16 +02:00
guybedford
37c051c1d7 integrity, nonce test tweaks 2015-08-18 11:34:41 +02:00
Matthew Justin Bauer
18e6945646 Enable setting properties on script element.
The script loader will use load metadata to set script properties. This allows what is in the script tag to be set in meta.

There are two primary use cases: CSP nonce and subresource integrity.

Users of SystemJS wanting to take advantage of CSP can set a "nonce" value in their CSP config. Setting the meta attribute "nonce" for plugins and formats that cannot use CSP allows safely bypassing CSP. Note that this will only work in places where "document" is available. See the test-csp-inline.html file for a full example.

In addition, subresource checking mentions in #639 is also implemented. In the same way setting "integrity" in the meta should make this possible. See test-csp.html for a full example.

Post Rebase Notes:
* Corrected indention.
* Fix load.metadata issue.
* Fixed test-csp-inline.html stuff.
* White-list correct properties.
* Reword error messages.
2015-08-15 16:03:17 -05:00
Matthew Justin Bauer
46c6719954 Respect "pluginFirst" property.
The "pluginFirst" is a boolean property of loader similar to defaultJSExensions. Setting it to true causes SystemJS to follow the plugin syntax of AMD and webpack, where the plugin name comes before the resource identifier. Old syntax was [resource ID]![plugin module ID]. With pluginFirst turned on, [plugin module ID]![resource ID]. See https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md for exact details. Should resolve issue #549.

so require('./index.coffee!coffee')
becomes require('coffee!./index.coffee")

Note that the old anonymous plugin support like require("file.coffee!") which is short for require("file.coffee!coffee") is not enabled. require("!file.coffee") doesn't make as much sense but if necessary it can certainly be enabled.

SystemJS builder may also need to be updated for complete support for this option.
2015-08-12 11:21:56 -05:00
guybedford
e7ac0ccb92 ie test fixes 2015-08-09 11:58:32 +02:00
guybedford
c3d6dd4165 package map corrections 2015-08-09 11:07:13 +02:00
guybedford
0a5f10a6bd sync normalize to apply package config, package env -> package env map 2015-08-09 01:04:08 +02:00
guybedford
def97e2c6b warn on invalid packages 2015-08-08 13:38:01 +02:00
DivDE
7fb8eaf099 fixes #652 2015-08-05 15:33:39 +02:00
guybedford
1169d188ff update typescript tests for 1.6 nightly 2015-08-03 14:00:16 +02:00