51 Commits

Author SHA1 Message Date
guybedford
67fc5138d2 fix handling of hash bang in node 2016-03-15 23:52:49 +08:00
guybedford
5c51a535a8 implement commonjs require.resolve 2016-03-08 15:52:46 +02:00
guybedford
7ab0175731 include cjs globals in wrapper 2016-02-24 23:19:12 +02:00
guybedford
055af8a0df commonjs globals as part of function wrapper 2016-02-24 22:41:52 +02:00
guybedford
daf16dfa9a cjsDeferDeps -> cjsDeferDepsExecute 2016-02-18 17:12:43 +02:00
guybedford
a90b641266 cjsDeferDeps feature 2016-02-18 16:58:17 +02:00
guybedford
2538543630 merge paths into core 2015-12-29 17:04:57 +02:00
guybedford
46cf9ebacf move cjs filename, dirname to helpers file 2015-12-14 15:34:04 +02:00
guybedford
d8cda1de13 allow globals to be nulled out by subsequent meta 2015-12-08 23:53:18 +02:00
guybedford
8c5e170d7d detect module["exports"] in format detection 2015-12-05 03:30:23 +02:00
guybedford
df2c4d0e58 cjs require variation cases 2015-12-03 15:29:06 +02:00
guybedford
52a7ab49d1 cjsRequireDetection: false metadata option 2015-12-03 14:57:26 +02:00
guybedford
715b27551e ignore require expressions, trailing slash 2015-12-03 14:06:01 +02:00
guybedford
2c38a37bd1 trailing slash must be handled separately - resolution isnt just index 2015-11-30 16:29:27 +02:00
guybedford
5b0c782fd1 cjs trailing slash edge cases 2015-11-27 15:35:26 +02:00
guybedford
73b58b5ddb remove cjs trailing slash 2015-11-27 15:20:45 +02:00
Guy Bedford
bb41c85cc9 Merge pull request #920 from colmbrady/comment-detection-issue
Proposed fix for https://github.com/systemjs/systemjs/issues/919
2015-11-18 21:13:29 +02:00
guybedford
28631d5fe8 move @node handling back into core 2015-11-18 16:29:31 +02:00
guybedford
16dabee228 clarify node core error message 2015-11-18 16:29:31 +02:00
guybedford
98bb0181c6 alternative detection for #866 2015-11-18 12:01:48 +02:00
Colm Brady
dbf53dc539 Proposed fix for https://github.com/systemjs/systemjs/issues/919
- Fix code in cjs.js to correctly match last index of comments.
- Add test module that includes the require('') at end of comment string
- Add unit test to prove the module can be loaded OK with the comment present
2015-11-18 16:28:02 +13:00
Guy Bedford
be199a22c2 Merge pull request #726 from systemjs/strings-v2
Strings v2
2015-11-06 18:52:35 +02:00
guybedford
9a846e914c restrict @node to core modules only, handle entirely in cjs layer 2015-11-06 18:38:49 +02:00
guybedford
d4adfde0d6 IE fixes (#799) 2015-09-22 14:29:07 +02:00
guybedford
712b759bec node core module mapping fix 2015-09-14 21:53:20 +02:00
guybedford
e88e47460b consolidate normalization in Makefile, split conditional order of boolean and interpolation 2015-09-09 20:39:30 +02:00
guybedford
91b7bc01cb corrected fix for #751 2015-09-06 13:30:46 +02:00
guybedford
c2ab7142ee implements #759, defaultExtension js default, disabled for plugin syntax 2015-09-05 12:29:11 +02:00
guybedford
9f0eb3cf44 fixes #751 2015-09-04 14:52:13 +02:00
guybedford
2f58dbf9b9 another esoteric case 2015-09-02 15:30:24 +02:00
guybedford
9625e54754 experimental string tracking as well 2015-09-02 15:30:24 +02:00
guybedford
c831839973 ensure regex reset 2015-08-25 17:19:35 +02:00
guybedford
4717d58280 cjs require detection to track comments over removal (http://jsperf.com/comment-removal-v-tracking) 2015-08-25 17:19:23 +02:00
guybedford
94274088d0 support node core module loading 2015-08-20 13:41:12 +02:00
guybedford
18f9bd8aa0 implements #710 2015-08-20 13:00:16 +02:00
guybedford
734facc9c5 add support for cjs globals (#591) 2015-07-24 17:48:12 +02:00
guybedford
f949ed1161 __dirname compatibility correction 2015-06-14 22:28:16 +02:00
guybedford
2fa22fe0fc __dirname compatibility (#519) 2015-06-14 22:17:21 +02:00
guybedford
cd9067b442 globals only for globals 2015-05-31 15:21:26 +02:00
guybedford
53abed42df cjs detection fix 2015-05-21 17:29:18 +02:00
guybedford
e5644a7d14 ensure System refers to the current loader 2015-05-21 17:27:20 +02:00
guybedford
71c5bdc39f better NodeJS require detection 2015-05-21 16:50:35 +02:00
guybedford
2350351b73 meta and plugin tests 2015-05-20 23:15:56 +02:00
guybedford
02d6552854 include cjs global 2015-05-18 22:27:35 +02:00
guybedford
fc9a7c8078 port 9c6f7c 2015-05-12 13:54:06 +02:00
guybedford
1ee77a3f99 manually port bd8f42, 580666, 9d477f 2015-05-12 13:54:05 +02:00
guybedford
3bcc72797b cjs correction 2015-05-12 13:52:55 +02:00
guybedford
f924595ead minor tweaks 2015-05-12 13:52:55 +02:00
guybedford
fdb835163b autoload polyfills, register-only build, optimizations 2015-05-12 13:52:54 +02:00
guybedford
75060d94f8 global dependency shim layer (#148 variation) 2015-05-12 13:52:53 +02:00