systemjs-builder
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -8,3 +8,3 @@ // converts anonymous AMDs into named AMD for the module | ||
// NB need to handle naming the module itself as the last defined | ||
// TODO convert into System.register dynamic form rather | ||
@@ -25,3 +25,10 @@ | ||
if (match[3]) { | ||
lastName = match[3].substr(1, match[3].length - 2); | ||
// named -> just rename it | ||
// NB need to handle naming the module itself as the last defined | ||
// lastName = match[3].split(/["']/)[1]; | ||
var nameIndex = amdRegEx.lastIndex - match[0].length + match[1].length; | ||
parts.push(load.source.substr(lastIndex, nameIndex)); | ||
parts.push('"' + load.name + '", '); | ||
parts.push(load.source.substr(nameIndex + match[3].length, amdRegEx.lastIndex - nameIndex - match[3].length)); | ||
lastIndex = amdRegEx.lastIndex; | ||
} | ||
@@ -28,0 +35,0 @@ else { |
{ | ||
"name": "systemjs-builder", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"systemjs": "^0.6.1", | ||
"traceur": "git+ssh://git@github.com/google/traceur-compiler.git" | ||
"traceur": "google/traceur-compiler#0.0.43" | ||
}, | ||
@@ -15,0 +15,0 @@ "devDependencies": { |
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
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
16149
326