789 Commits

Author SHA1 Message Date
guybedford
fee71c52df hasOwnProperty fix 2016-04-29 15:18:19 +02:00
guybedford
8d64131a03 do not evaluate empty sources 2016-04-29 13:53:02 +02:00
guybedford
9f56903834 ensure plugins arent used to load package config 2016-04-21 22:35:50 +02:00
guybedford
4f18e81a94 only throw out-of-band amd define error for git 2016-04-10 18:26:43 +02:00
guybedford
cbfb7f724d cjs ensure global eval without require in scope, over nulling global require 2016-04-10 16:54:44 +02:00
Guy Bedford
e64a62c951 Merge pull request #1193 from joeldenning/issue-1192
Fixing #1192. Falling back to normal way of setting properties when getOwnPropertyDescriptor throws
2016-04-02 12:21:59 +02:00
Joel Denning
9e4d99a9f7 Pull request feedback. 2016-04-01 10:22:26 -06:00
guybedford
c98dba3ac0 throw for out-of-format amd define 2016-04-01 13:16:22 +02:00
Joel Denning
b296a89a14 Fixing #1192. Falling back to normal setting of property of getOwnPropertyDescriptor throws. 2016-03-30 17:39:46 -06:00
guybedford
74ceede1ac proper package regex escape 2016-03-30 10:35:30 +02:00
guybedford
8ee8916b51 clear global require on executions 2016-03-29 15:12:04 +02:00
guybedford
5d20c2c797 improve unexpected anonymous register error message 2016-03-29 14:43:44 +02:00
guybedford
18be7fa917 embed URL polyfill 2016-03-28 12:19:46 +02:00
guybedford
9af28e625a token ie 2016-03-28 12:00:24 +02:00
Guy Bedford
162a5f84f4 Merge pull request #1171 from nlwillia/subPath
getMetaMatches should check for own property
2016-03-26 14:41:20 +08:00
guybedford
028293d5d8 throw on synchronous conditional loading 2016-03-26 14:20:33 +08:00
Vladimir Krivosheev
8c649e6f89 Fix "Source Maps are off"
We don't add new line in the beginning of the file to avoid one line offset issue. So we must not change existing source mappings.
2016-03-25 12:21:21 +01:00
Nathan Williams
4730fdf61f Fix for files named 'toString.js' or 'valueOf.js' not being mapped correctly 2016-03-19 14:27:07 -04:00
guybedford
9ae1527ed9 sourcemap correction 2016-03-16 00:10:30 +08:00
guybedford
67fc5138d2 fix handling of hash bang in node 2016-03-15 23:52:49 +08:00
guybedford
8699dc68cf support global format exports as an array (#443) 2016-03-09 15:40:16 +02:00
guybedford
5e0d80e4c9 update package validation 2016-03-08 19:55:46 +02:00
guybedford
207c4465fb package map chaining will not be deprecated 2016-03-08 19:53:46 +02:00
guybedford
5c51a535a8 implement commonjs require.resolve 2016-03-08 15:52:46 +02:00
guybedford
65045860db fix global leak (#1145) 2016-03-08 13:57:34 +02:00
guybedford
38d4d8513c refining map cases, experimental main object support 2016-03-07 17:24:35 +02:00
guybedford
e2f76c2b10 catch plugin self-load case 2016-03-05 15:01:51 +02:00
Guy Bedford
5e78e59d8e Merge pull request #1135 from asapach/master
added `crossOrigin` meta option
2016-03-05 14:34:06 +02:00
guybedford
fcdb904c70 map config type verification 2016-03-04 16:29:53 +02:00
guybedford
8c43327942 ensure meta normalization does defaultJSExtensions 2016-03-04 14:27:14 +02:00
Aliaksei Sapach
e482c1247f set crossOrigin attribute to allow more error info
Modern browsers restrict the amount of information available to the global event handler (`window.onerror`) when the scripts are loaded from a different origin. In order to mitigate this, the script tags need to set `crossorigin` attribute and the server needs to enable CORS to establish mutual trust.
2016-03-03 21:02:31 +03:00
guybedford
b8d27bff4a plugin instantiate hook flexibility 2016-03-02 17:21:07 +02:00
guybedford
dd935c6499 ensure plugin instantiate can return a module instance 2016-03-02 16:54:23 +02:00
guybedford
33085cc98c disallow package internal recursive map 2016-03-02 14:06:05 +02:00
guybedford
c27a467bbe error stack loader option, plugin loader normalization fix, alias and loader to use usual resolution 2016-03-01 17:20:32 +02:00
guybedford
479ecd2d2f better Node errors 2016-03-01 15:28:39 +02:00
guybedford
40bda3d87e still do esm detection for transpiler: false 2016-02-29 14:52:57 +02:00
guybedford
15d009a374 ensure csp loader defines global AMD define 2016-02-26 23:35:11 +02:00
guybedford
e56dbad5c6 remove unnecessary @@amd-helpers reference 2016-02-25 00:21:55 +02:00
guybedford
3123078265 normalization function correction for node core libs 2016-02-25 00:16:11 +02:00
guybedford
e86b385127 amd and global behaviour simplication 2016-02-25 00:12:05 +02:00
guybedford
493c92ed0d refactor resolution algorithm to be pretty 2016-02-24 23:51:32 +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
a9e2a65957 handle named, amd, named case 2016-02-23 18:26:46 +02:00
guybedford
9bcd118d8f ensure we still throw on multiple anonymous defines (#1116) 2016-02-23 18:01:22 +02:00
guybedford
bd8b0d0618 support anon and named AMD in the same file (#1116) 2016-02-23 17:53:21 +02:00
guybedford
1f31768312 export detection fix 2016-02-18 20:04:43 +02:00
guybedford
daf16dfa9a cjsDeferDeps -> cjsDeferDepsExecute 2016-02-18 17:12:43 +02:00
guybedford
2515f2a434 relax module dependency check 2016-02-18 17:05:16 +02:00