Socket
Socket
Sign inDemoInstall

array-includes

Package Overview
Dependencies
65
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

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": 3
},
"requirePaddingNewLinesAfterUseStrict": true
}

@@ -0,1 +1,6 @@

1.1.1 / 2015-05-23
=================
* Test up to `io.js` `v2.0`
* Update `es-abstract`, `tape`, `eslint`, `semver`, `jscs`, `semver`
1.1.0 / 2015-03-19

@@ -2,0 +7,0 @@ =================

14

package.json
{
"name": "array-includes",
"version": "1.1.0",
"version": "1.1.1",
"author": "Jordan Harband",

@@ -36,3 +36,3 @@ "description": "A spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.",

"define-properties": "^1.0.1",
"es-abstract": "^1.2.0"
"es-abstract": "^1.2.1"
},

@@ -42,10 +42,10 @@ "devDependencies": {

"function-bind": "^1.0.2",
"tape": "^3.5.0",
"tape": "^4.0.0",
"indexof": "^0.0.1",
"covert": "^1.0.1",
"jscs": "^1.11.3",
"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"

@@ -52,0 +52,0 @@ },

@@ -24,2 +24,3 @@ var includes = require('../');

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

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

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

@@ -33,0 +35,0 @@ st.throws(function () { return includes(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