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

regenerator-runtime

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regenerator-runtime - npm Package Compare versions

Comparing version 0.9.4 to 0.9.5

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Runtime for Regenerator-compiled generator and async functions.",
"version": "0.9.4",
"version": "0.9.5",
"main": "runtime-module.js",

@@ -8,0 +8,0 @@ "keywords": [

@@ -313,7 +313,5 @@ /**

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;

@@ -491,3 +489,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;

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

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