Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

systemjs-builder

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systemjs-builder - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

11

compilers/amd.js

@@ -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 {

4

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc