Socket
Socket
Sign inDemoInstall

define-properties

Package Overview
Dependencies
2
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

29

.jscs.json
{
"es3": true,
"additionalRules": [],

@@ -16,2 +18,15 @@

"disallowSpaceBeforeComma": true,
"disallowSpaceBeforeSemicolon": true,
"disallowNodeTypes": [
"DebuggerStatement",
"LabeledStatement",
"SwitchCase",
"SwitchStatement",
"WithStatement"
],
"requireObjectKeysOnNewLine": false,
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },

@@ -103,4 +118,16 @@ "requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },

"requirePaddingNewLinesAfterUseStrict": true
"requirePaddingNewLinesAfterUseStrict": true,
"disallowArrowFunctions": true,
"disallowMultiLineTernary": true,
"validateOrderInObjectKeys": "asc-insensitive",
"disallowIdenticalDestructuringNames": true,
"disallowNestedTernaries": { "maxLevel": 1 },
"requireSpaceAfterComma": true
}

@@ -0,1 +1,8 @@

1.1.2 / 2015-10-14
=================
* [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG
* [Deps] Update `object-keys`
* [Dev Deps] update `jscs`, `tape`, `eslint`, `@ljharb/eslint-config`, `nsp`
* [Tests] up to `io.js` `v3.3`, `node` `v4.2`
1.1.1 / 2015-07-21

@@ -2,0 +9,0 @@ =================

10

index.js

@@ -16,6 +16,6 @@ 'use strict';

try {
Object.defineProperty(obj, 'x', { value: obj, enumerable: false });
/* eslint-disable no-unused-vars */
Object.defineProperty(obj, 'x', { enumerable: false, value: obj });
/* eslint-disable no-unused-vars, no-restricted-syntax */
for (var _ in obj) { return false; }
/* eslint-enable no-unused-vars */
/* eslint-enable no-unused-vars, no-restricted-syntax */
return obj.x === obj;

@@ -36,4 +36,4 @@ } catch (e) { /* this is IE 8. */

enumerable: false,
writable: true,
value: value
value: value,
writable: true
});

@@ -40,0 +40,0 @@ } else {

{
"name": "define-properties",
"version": "1.1.1",
"version": "1.1.2",
"author": "Jordan Harband",

@@ -33,11 +33,12 @@ "description": "Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.",

"foreach": "^2.0.5",
"object-keys": "^1.0.7"
"object-keys": "^1.0.8"
},
"devDependencies": {
"tape": "^4.0.1",
"tape": "^4.2.1",
"covert": "^1.1.0",
"jscs": "^1.13.1",
"jscs": "^2.3.1",
"editorconfig-tools": "^0.1.1",
"nsp": "^1.0.3",
"eslint": "^1.0.0-rc-1"
"nsp": "^1.1.0",
"eslint": "^1.6.0",
"@ljharb/eslint-config": "^1.3.0"
},

@@ -44,0 +45,0 @@ "testling": {

@@ -72,3 +72,3 @@ #define-properties <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

[package-url]: https://npmjs.org/package/define-properties
[npm-version-svg]: http://vb.teelaun.ch/ljharb/define-properties.svg
[npm-version-svg]: http://versionbadg.es/ljharb/define-properties.svg
[travis-svg]: https://travis-ci.org/ljharb/define-properties.svg

@@ -75,0 +75,0 @@ [travis-url]: https://travis-ci.org/ljharb/define-properties

@@ -27,4 +27,4 @@ 'use strict';

enumerable: false,
writable: true,
value: value
value: value,
writable: true
};

@@ -31,0 +31,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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