Socket
Socket
Sign inDemoInstall

define-property

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.2 to 0.2.3

9

index.js

@@ -20,3 +20,10 @@ /*!

if (typeof val === 'object' && ('set' in val || 'get' in val)) {
return Object.defineProperty(receiver, key, val);
var keys = [], i = 0;
for (var k in val) {
i++;
keys.push(k);
}
if (i >= 1 && i <= 4) {
return Object.defineProperty(receiver, key, val);
}
}

@@ -23,0 +30,0 @@

2

package.json
{
"name": "define-property",
"description": "Define a non-enumerable property on an object.",
"version": "0.2.2",
"version": "0.2.3",
"homepage": "https://github.com/jonschlinkert/define-property",

@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

@@ -71,2 +71,2 @@ # define-property [![NPM version](https://badge.fury.io/js/define-property.svg)](http://badge.fury.io/js/define-property)

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 27, 2015._
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 29, 2015._
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