Socket
Socket
Sign inDemoInstall

regenerator-runtime

Package Overview
Dependencies
0
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.4 to 0.10.5

2

package.json

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

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

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

@@ -193,4 +193,4 @@ /**

if (typeof process === "object" && process.domain) {
invoke = process.domain.bind(invoke);
if (typeof global.process === "object" && global.process.domain) {
invoke = global.process.domain.bind(invoke);
}

@@ -420,2 +420,11 @@

// A Generator should always return itself as the iterator object when the
// @@iterator function is called on it. Some browsers' implementations of the
// iterator prototype chain incorrectly implement this, causing the Generator
// object to not be returned from this call. This ensures that doesn't happen.
// See https://github.com/facebook/regenerator/issues/274 for more details.
Gp[iteratorSymbol] = function() {
return this;
};
Gp.toString = function() {

@@ -422,0 +431,0 @@ return "[object Generator]";

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc