es6-module-loader
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -308,2 +308,4 @@ /* | ||
Loader.prototype._link = function(source, opt) { | ||
if (!isBrowser) | ||
ES6Parser.loadTraceur(opt.normalized, source, function(){}, function(){}); | ||
var self = this; | ||
@@ -568,3 +570,3 @@ return { | ||
// module syntax, before loading Traceur for deeper analysis | ||
es6RegEx: /(?:^\s*|[}{\(\);,\n]\s*)(import|export|module\s*[^\s+]+\s*from)\s+./, | ||
es6RegEx: /(?:^\s*|[}{\(\);,\n]\s*)((import|module)\s+[^"']+\s+from\s+['"]|export\s+(\*|\{|default|function|var|const|let|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*))/, | ||
checkModuleSyntax: function(name, source) { | ||
@@ -571,0 +573,0 @@ if (name == null || this.parseNames[name] === undefined) |
{ | ||
"name": "es6-module-loader", | ||
"description": "An ES6 Module Loader shim", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"homepage": "https://github.com/ModuleLoader/es6-module-loader", | ||
@@ -6,0 +6,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42221
797