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

babel-runtime

Package Overview
Dependencies
Maintainers
5
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-runtime - npm Package Compare versions

Comparing version 7.0.0-alpha.7 to 7.0.0-alpha.8

16

helpers/asyncToGenerator.js

@@ -23,11 +23,15 @@ exports.__esModule = true;

} else {
return _promise2.default.resolve(value).then(function (value) {
step("next", value);
}, function (err) {
step("throw", err);
});
_promise2.default.resolve(value).then(_next, _throw);
}
}
return step("next");
function _next(value) {
step("next", value);
}
function _throw(err) {
step("throw", err);
}
_next();
});

@@ -34,0 +38,0 @@ };

@@ -19,13 +19,17 @@ exports.__esModule = true;

} else {
return Promise.resolve(value).then(function (value) {
step("next", value);
}, function (err) {
step("throw", err);
});
Promise.resolve(value).then(_next, _throw);
}
}
return step("next");
function _next(value) {
step("next", value);
}
function _throw(err) {
step("throw", err);
}
_next();
});
};
};

@@ -17,13 +17,17 @@ export default function (fn) {

} else {
return Promise.resolve(value).then(function (value) {
step("next", value);
}, function (err) {
step("throw", err);
});
Promise.resolve(value).then(_next, _throw);
}
}
return step("next");
function _next(value) {
step("next", value);
}
function _throw(err) {
step("throw", err);
}
_next();
});
};
}

@@ -18,13 +18,17 @@ import _Promise from "../../core-js/promise";

} else {
return _Promise.resolve(value).then(function (value) {
step("next", value);
}, function (err) {
step("throw", err);
});
_Promise.resolve(value).then(_next, _throw);
}
}
return step("next");
function _next(value) {
step("next", value);
}
function _throw(err) {
step("throw", err);
}
_next();
});
};
}
{
"name": "babel-runtime",
"version": "7.0.0-alpha.7",
"version": "7.0.0-alpha.8",
"description": "babel selfContained runtime",

@@ -13,5 +13,5 @@ "license": "MIT",

"devDependencies": {
"babel-helpers": "7.0.0-alpha.7",
"babel-plugin-transform-runtime": "7.0.0-alpha.7"
"babel-helpers": "7.0.0-alpha.8",
"babel-plugin-transform-runtime": "7.0.0-alpha.8"
}
}
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