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.5.0 to 0.5.1

6

compilers/amd.js

@@ -210,4 +210,6 @@ var System = require('systemjs');

if (requireIndex != -1) {
var fnParameters = factory.parameterList.parameters;
var reqName = fnParameters[requireIndex] && fnParameters[requireIndex].parameter.binding.identifierToken.value;
if (factory.parameterList) {
var fnParameters = factory.parameterList.parameters;
var reqName = fnParameters[requireIndex] && fnParameters[requireIndex].parameter.binding.identifierToken.value;
}
var cjsRequireTransformer = new CJSRequireTransformer(reqName, function(v) { return self.depMap[v] || v });

@@ -214,0 +216,0 @@ factory.body = cjsRequireTransformer.transformAny(factory.body);

{
"name": "systemjs-builder",
"version": "0.5.0",
"version": "0.5.1",
"description": "SystemJS Build Tool ===",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -39,4 +39,2 @@ "format register";

// ES6 declarative
if (deps.length > 0 && declare.length != 1)
throw 'Invalid System.register form for ' + name + '. Declare function must take one argument.';
entry = {

@@ -165,3 +163,3 @@ declarative: true,

if (!module.setters || !module.execute)
throw "Invalid System.register form for " + entry.name;
throw new TypeError("Invalid System.register form for " + entry.name);

@@ -216,3 +214,3 @@ // now link all the module dependencies

if (!exports)
throw "System Register: The module requested " + name + " but this was not declared as a dependency";
throw new Error("Unable to load dependency " + name + ".");
}

@@ -262,2 +260,3 @@

}
throw new TypeError('Module ' + name + ' not declared as a dependency.');
}, exports, module);

@@ -264,0 +263,0 @@

@@ -39,4 +39,2 @@ "format register";

// ES6 declarative
if (deps.length > 0 && declare.length != 1)
throw 'Invalid System.register form for ' + name + '. Declare function must take one argument.';
entry = {

@@ -165,3 +163,3 @@ declarative: true,

if (!module.setters || !module.execute)
throw "Invalid System.register form for " + entry.name;
throw new TypeError("Invalid System.register form for " + entry.name);

@@ -216,3 +214,3 @@ // now link all the module dependencies

if (!exports)
throw "System Register: The module requested " + name + " but this was not declared as a dependency";
throw new Error("Unable to load dependency " + name + ".");
}

@@ -262,2 +260,3 @@

}
throw new TypeError('Module ' + name + ' not declared as a dependency.');
}, exports, module);

@@ -264,0 +263,0 @@

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