New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

regenerator

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regenerator - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

lib/util.js

@@ -39,3 +39,3 @@ /**

exports.extend = function(obj) {
exports.defaults = function(obj) {
var len = arguments.length;

@@ -47,3 +47,3 @@ var extension;

for (var key in extension) {
if (hasOwn.call(extension, key)) {
if (hasOwn.call(extension, key) && !hasOwn.call(obj, key)) {
obj[key] = extension[key];

@@ -50,0 +50,0 @@ }

@@ -26,3 +26,3 @@ /**

function regenerator(source, options) {
options = utils.extend(options || {}, {
options = utils.defaults(options || {}, {
includeRuntime: false,

@@ -29,0 +29,0 @@ supportBlockBinding: true

@@ -19,3 +19,3 @@ {

],
"version": "0.3.0",
"version": "0.3.1",
"homepage": "http://github.com/facebook/regenerator",

@@ -22,0 +22,0 @@ "repository": {

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