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

systemjs-plugin-babel

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systemjs-plugin-babel - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

1

babel-helpers.js

@@ -379,2 +379,1 @@ (function (global) {

})(typeof global === "undefined" ? self : global);

2

package.json
{
"name": "systemjs-plugin-babel",
"version": "0.0.10",
"version": "0.0.11",
"registry": "npm",

@@ -5,0 +5,0 @@ "jspmPackage": true,

@@ -94,6 +94,14 @@ var babel = require('systemjs-babel-build').babel;

babelOptions.plugins.forEach(function(plugin) {
if (typeof plugin == 'string')
pluginAndPresetModuleLoads.push(pluginLoader['import'](plugin, module.id));
else if (Array.isArray(plugin) && typeof plugin[0] == 'string')
pluginAndPresetModuleLoads.push(pluginLoader['import'](plugin[0], module.id));
plugin = typeof plugin == 'string' ? plugin : Array.isArray(plugin) && typeof plugin[0] == 'string' && plugin[0];
if (!plugin)
return;
pluginAndPresetModuleLoads.push(
pluginLoader.normalize(plugin, module.id)
.then(function(normalized) {
return pluginLoader.load(normalized)
.then(function() {
return pluginLoader.get(normalized)['default'];
});
})
);
});

@@ -100,0 +108,0 @@

@@ -314,7 +314,5 @@ export default (function(module) {

if (method === "next") {
if (state === GenStateSuspendedYield) {
context.sent = arg;
} else {
context.sent = undefined;
}
// Setting context._sent for legacy support of Babel's
// function.sent implementation.
context.sent = context._sent = arg;

@@ -492,3 +490,5 @@ } else if (method === "throw") {

this.next = 0;
this.sent = undefined;
// Resetting context._sent for legacy support of Babel's
// function.sent implementation.
this.sent = this._sent = undefined;
this.done = false;

@@ -495,0 +495,0 @@ this.delegate = null;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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