Socket
Socket
Sign inDemoInstall

object.getownpropertydescriptors

Package Overview
Dependencies
65
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

40

.jscs.json
{
"additionalRules": [],
"requireSemicolons": true,
"disallowMultipleSpaces": true,
"disallowIdentifierNames": [],
"requirePaddingNewLinesBeforeLineComments": true,
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],

@@ -66,4 +74,34 @@

"mark": "'"
}
},
"disallowOperatorBeforeLineBreak": [],
"requireSpaceBeforeKeywords": [
"do",
"for",
"if",
"else",
"switch",
"case",
"try",
"catch",
"finally",
"while",
"with",
"return"
],
"validateAlignedFunctionParameters": {
"lineBreakAfterOpeningBraces": true,
"lineBreakBeforeClosingBraces": true
},
"requirePaddingNewLinesBeforeExport": true,
"validateNewlineAfterArrayElements": {
"maximum": 1
},
"requirePaddingNewLinesAfterUseStrict": true
}

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

1.0.0 / 2015-03-20
1.0.2 / 2015-05-23
=================
* Update `es-abstract`, `tape`, `eslint`, `jscs`, `semver`, `covert`
* Test up to `io.js` `v2.0`
1.0.1 / 2015-03-20
=================
* Update `es-abstract`, `editorconfig-tools`, `nsp`, `eslint`, `semver`, `replace`

@@ -4,0 +9,0 @@

14

package.json
{
"name": "object.getownpropertydescriptors",
"version": "1.0.1",
"version": "1.0.2",
"author": "Jordan Harband",

@@ -35,12 +35,12 @@ "description": "ES7 spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.",

"define-properties": "^1.0.1",
"es-abstract": "^1.2.0"
"es-abstract": "^1.2.1"
},
"devDependencies": {
"tape": "^3.5.0",
"covert": "^1.0.1",
"jscs": "^1.11.3",
"tape": "^4.0.0",
"covert": "^1.1.0",
"jscs": "^1.13.1",
"editorconfig-tools": "^0.1.1",
"nsp": "^1.0.1",
"eslint": "^0.17.1",
"semver": "^4.3.1",
"eslint": "^0.21.2",
"semver": "^4.3.4",
"replace": "^0.3.0"

@@ -47,0 +47,0 @@ },

@@ -23,2 +23,3 @@ var getDescriptors = require('../');

'use strict';
var fn = function () { return this === null; };

@@ -30,2 +31,3 @@ return fn.call(null);

'use strict';
st.throws(function () { return getDescriptors(undefined, 'a'); }, TypeError, 'undefined is not an object');

@@ -32,0 +34,0 @@ st.throws(function () { return getDescriptors(null, 'a'); }, TypeError, 'null is not an object');

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