diff --git a/.bettercodehub.yml b/.bettercodehub.yml index 4603683..39135a7 100644 --- a/.bettercodehub.yml +++ b/.bettercodehub.yml @@ -13,4 +13,4 @@ exclude: - /__tests__/__snapshots__/.* - .*/webpack\.config\.js - .*/jest\.config\.js - - .*/eslintrc\.js + - .*/\.eslintrc\.js diff --git a/.eslintrc.js b/.eslintrc.js index 359fffe..6e94f52 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -68,6 +68,7 @@ module.exports = { 'RangeErrorConstructor', 'Readonly', 'ReadonlyArray', + 'Iterator', ], }, ], diff --git a/__tests__/.eslintrc.js b/__tests__/.eslintrc.js index c05b190..3aaa014 100644 --- a/__tests__/.eslintrc.js +++ b/__tests__/.eslintrc.js @@ -6,5 +6,6 @@ module.exports = { 'compat/compat': 'off', 'prefer-rest-params': 'off', 'no-prototype-builtins': 'off', + 'jest/no-standalone-expect': 'warn', }, }; diff --git a/dist/index-of-x.js b/dist/index-of-x.js index 00cf1cf..3a427eb 100644 --- a/dist/index-of-x.js +++ b/dist/index-of-x.js @@ -2,13 +2,13 @@ { "author": "Graham Fairweather", "copywrite": "Copyright (c) 2015-2017", - "date": "2019-07-26T14:39:03.998Z", + "date": "2019-07-27T08:57:52.746Z", "describe": "", "description": "An extended ES6 indexOf.", "file": "index-of-x.js", "hash": "7af426a54a3de012f872", "license": "MIT", - "version": "3.0.14" + "version": "3.0.15" } */ (function webpackUniversalModuleDefinition(root, factory) { diff --git a/dist/index-of-x.min.js b/dist/index-of-x.min.js index a2672a7..f9616e9 100644 --- a/dist/index-of-x.min.js +++ b/dist/index-of-x.min.js @@ -2,13 +2,13 @@ { "author": "Graham Fairweather", "copywrite": "Copyright (c) 2015-2017", - "date": "2019-07-26T14:39:03.998Z", + "date": "2019-07-27T08:57:52.746Z", "describe": "", "description": "An extended ES6 indexOf.", "file": "index-of-x.min.js", "hash": "0dee869db00795495ed7", "license": "MIT", - "version": "3.0.14" + "version": "3.0.15" } */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.indexOfX=t():e.indexOfX=t()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){"use strict";var n=Object.prototype.toString;if(r(4)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,r){"use strict"; diff --git a/package-lock.json b/package-lock.json index 9742787..f819036 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "index-of-x", - "version": "3.0.14", + "version": "3.0.15", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1462,9 +1462,9 @@ } }, "@prorenata/eslint-config-vue": { - "version": "1.13.12", - "resolved": "https://registry.npmjs.org/@prorenata/eslint-config-vue/-/eslint-config-vue-1.13.12.tgz", - "integrity": "sha512-BOEoTe6T/FCUXgB38FQ5muago6A3aG20Gcf6KEsgmQsuYfdvqJU9sYlwa+wz53wvkuwPKp8ly7V/dnNL25mL1w==", + "version": "1.13.14", + "resolved": "https://registry.npmjs.org/@prorenata/eslint-config-vue/-/eslint-config-vue-1.13.14.tgz", + "integrity": "sha512-ukDiWkBmBywLDGKRxJntXL0NFy7b1HpyfnBYsb0K2sH5rd4atpHwx+xK69PUfn8adJvQpBNsX5cpQ6lif0J8mA==", "dev": true, "requires": { "eslint-config-airbnb-base": "^13.2.0", @@ -2060,13 +2060,13 @@ } }, "assert-is-function-x": { - "version": "3.0.16", - "resolved": "https://registry.npmjs.org/assert-is-function-x/-/assert-is-function-x-3.0.16.tgz", - "integrity": "sha512-xxJusyBs2QSBtEGXwWdy2aigwPWGqAR9AMwCg62I3GyYiZ7aE7gPOpSupxyR+i1/caR+cwj+5EsSaE3A+m9M9g==", + "version": "3.0.17", + "resolved": "https://registry.npmjs.org/assert-is-function-x/-/assert-is-function-x-3.0.17.tgz", + "integrity": "sha512-hzu8s92rEhThFl5Nfb/Yz8GXdQ/UsfqGvtfD+wcWBJJ4N6gyf48Be9icojfU0OpoVkjx0doHQvp+ADkUnieLtA==", "requires": { - "is-function-x": "^4.0.25", + "is-function-x": "^4.0.26", "is-primitive": "^3.0.1", - "to-string-symbols-supported-x": "^2.0.19" + "to-string-symbols-supported-x": "^2.0.20" } }, "assert-plus": { @@ -2127,9 +2127,9 @@ "dev": true }, "attempt-x": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/attempt-x/-/attempt-x-2.0.20.tgz", - "integrity": "sha512-8AheiY28QAVD7PViCH9qs+yNG0HaKzNBKiO8rbh5CIB3IPDglUq08iyIONae+S3L0+hRQdYoiQGjX1I+aaituw==" + "version": "2.0.21", + "resolved": "https://registry.npmjs.org/attempt-x/-/attempt-x-2.0.21.tgz", + "integrity": "sha512-tyYGuv9hk1Xnr7cLpa24NSeNnZyxGJfeIIIOdgxKdfSgKRw/P7X0QaazDmEYOl7kUdDweUE5KgvZHepHuqCDrQ==" }, "aws-sign2": { "version": "0.7.0", @@ -2676,19 +2676,19 @@ } }, "cached-constructors-x": { - "version": "2.0.21", - "resolved": "https://registry.npmjs.org/cached-constructors-x/-/cached-constructors-x-2.0.21.tgz", - "integrity": "sha512-kfjf3r9v85KEoIvHqrl9W1sfZZfXRWV2UIAm7waEHpJkfNNDHngS/9yIKoiuNXJgfZad4HdAn5TxqmvFqnNdGw==" + "version": "2.0.23", + "resolved": "https://registry.npmjs.org/cached-constructors-x/-/cached-constructors-x-2.0.23.tgz", + "integrity": "sha512-BYcCGmD5E90Pw1aLVA2IAusavUWi5FvMFRpKF08H98xG/lpGYsTaWJ9sGuF3BQjAUSPJXnqNfvL3u/QXvTJdcA==" }, "calculate-from-index-x": { - "version": "3.0.15", - "resolved": "https://registry.npmjs.org/calculate-from-index-x/-/calculate-from-index-x-3.0.15.tgz", - "integrity": "sha512-orL/nzmfqk67E3Ys7YJqZs2kzzMM/CKdGRu6JPjaQ33lKd+GJixQHEwSuP+z+wKRqP4p00JJix7gyL+XreU9KQ==", + "version": "3.0.16", + "resolved": "https://registry.npmjs.org/calculate-from-index-x/-/calculate-from-index-x-3.0.16.tgz", + "integrity": "sha512-zqfpYofdyD4PL/0oE53mM4mPYzrYWqgP5wWcvU42DetrXgASPfup7Lq34KHviSuFrncn/56HoM4pHqkKIJkCiQ==", "requires": { - "is-array-like-x": "^2.0.15", - "to-integer-x": "^4.0.25", - "to-length-x": "^4.0.22", - "to-object-x": "^2.0.18" + "is-array-like-x": "^2.0.16", + "to-integer-x": "^4.0.26", + "to-length-x": "^4.0.23", + "to-object-x": "^2.0.19" } }, "callsites": { @@ -4206,9 +4206,9 @@ } }, "eslint-plugin-jest": { - "version": "22.13.7", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.13.7.tgz", - "integrity": "sha512-ckgSt9YHwgYd0PgMGtdYei4dfjsPmKnQlNs+Hr238sLKiLXODu38nbumtpDloa6uqUN/NVzHGYG9lV+X7iUv6Q==", + "version": "22.14.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.14.0.tgz", + "integrity": "sha512-Xtc9ZTtxdYFC7vu0PHxDeQ9lOMQ8gjwMmSQq/ni83TdflgL3eVh/qg3t99I7gcDxpeXfcp+lHu9C0vN3QAhATw==", "dev": true, "requires": { "@typescript-eslint/experimental-utils": "^1.13.0" @@ -4804,15 +4804,15 @@ } }, "find-index-x": { - "version": "3.0.14", - "resolved": "https://registry.npmjs.org/find-index-x/-/find-index-x-3.0.14.tgz", - "integrity": "sha512-eLSmcydZOY1dmbsT25kWlKt63hZsgzKD8DuwQb23Rw2GoZt+Dfy5CTNyUuYYKJsoin1mGDBbo+y4Sp9SmoVwiA==", + "version": "3.0.15", + "resolved": "https://registry.npmjs.org/find-index-x/-/find-index-x-3.0.15.tgz", + "integrity": "sha512-3u3JUT7IWLTiTYnbDEK1FEdjCgvMBp1Ej6QXwuDI6QH+8qhjc8+uXv7mPRu6wJqw+2iHSBCTDMOYi+dvq6hXQw==", "requires": { - "assert-is-function-x": "^3.0.16", - "attempt-x": "^2.0.20", - "split-if-boxed-bug-x": "^2.0.20", - "to-length-x": "^4.0.22", - "to-object-x": "^2.0.18" + "assert-is-function-x": "^3.0.17", + "attempt-x": "^2.0.21", + "split-if-boxed-bug-x": "^2.0.21", + "to-length-x": "^4.0.23", + "to-object-x": "^2.0.19" } }, "find-replace": { @@ -5824,9 +5824,9 @@ } }, "has-boxed-string-x": { - "version": "2.0.21", - "resolved": "https://registry.npmjs.org/has-boxed-string-x/-/has-boxed-string-x-2.0.21.tgz", - "integrity": "sha512-Fr5/zkcE6gTq21v9pAT5gQyP+AMa1Lp2wJT7lJvHPLKt0u0HAMknjXvs5GaapO4hwUrAwZRClk7GC1ur6+6LHQ==" + "version": "2.0.23", + "resolved": "https://registry.npmjs.org/has-boxed-string-x/-/has-boxed-string-x-2.0.23.tgz", + "integrity": "sha512-xdN0XFIh+GLP/Z8SccKz2ccyawwTKG2BupivpI3Uv3hH1t20b9F+1PAZDoCq8vXVtl2448H+O9vDYBYr42uVwg==" }, "has-flag": { "version": "3.0.0", @@ -5835,11 +5835,11 @@ "dev": true }, "has-symbol-support-x": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-2.0.19.tgz", - "integrity": "sha512-VLFHwxJo6vOWJUpwiJZct7erIEFAEzFeTpnU4t4emMK/qOPFv9q6E37INuWL+Oj6cEGKGsLGxmWMpGjghnuy1A==", + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-2.0.20.tgz", + "integrity": "sha512-j++jUapuBBOLK99eQxUYUV5C+7F1kMXHjr9E4uMMPHgDybi2eOHqiN/wpZLRLnxn/iSoUr/Hxq1bOlM54ps7NA==", "requires": { - "attempt-x": "^2.0.20", + "attempt-x": "^2.0.21", "is-symbol": "^1.0.2" } }, @@ -5849,11 +5849,11 @@ "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=" }, "has-to-string-tag-x": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-2.0.20.tgz", - "integrity": "sha512-/8kIFmMCNBZJqU3QgehBhuiRXSBZRNkp1h6jaxwVY6E1mvtih23ACe7seaQFlvekF3hWLAsZEHGR512nITUrcg==", + "version": "2.0.21", + "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-2.0.21.tgz", + "integrity": "sha512-750KxClIDYAW/xORetNoTHDWQS51eaSa5vaW/6JMfaE56sOLv0S9zdgGwv8+IfceC7lP1Nx/vYv7QaRIZdK/+g==", "requires": { - "has-symbol-support-x": "^2.0.19", + "has-symbol-support-x": "^2.0.20", "is-symbol": "^1.0.2" } }, @@ -6090,9 +6090,9 @@ "dev": true }, "infinity-x": { - "version": "2.0.25", - "resolved": "https://registry.npmjs.org/infinity-x/-/infinity-x-2.0.25.tgz", - "integrity": "sha512-rIwTrvu7x9wRjYPzCXWwf9yuAOdXzX4rJE/CERmbHKoz8txmXqbCPUIrsQSzvJ2FP2JxlzmR781Uho6ug6S9GQ==" + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/infinity-x/-/infinity-x-2.0.27.tgz", + "integrity": "sha512-CW0FEyqvf9Xy3L87G72OjcuytK9G6nNthb1/92EjUwEFz+Q/E2u7isiuqTLUZlQUp7uGsHCy5NcgLec0bjPwag==" }, "inflight": { "version": "1.0.6", @@ -6202,13 +6202,13 @@ } }, "is-array-like-x": { - "version": "2.0.15", - "resolved": "https://registry.npmjs.org/is-array-like-x/-/is-array-like-x-2.0.15.tgz", - "integrity": "sha512-D/6QYrjMe27kF08dd3Z90LRogvJNTzTszozmSSWvb+t6yvd2NOjVekEWpEWHDav/NhOLujh0LROfko51TESjXg==", + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/is-array-like-x/-/is-array-like-x-2.0.16.tgz", + "integrity": "sha512-pxVgPVNtafEXJWbFn8dDSc2MZrHQ5how6gJHo3qPhYjfobcEG0rHrpCcwmH2bblaKacvqig98j0Pc/gT/PZw8A==", "requires": { - "is-function-x": "^4.0.25", - "is-length-x": "^3.0.21", - "is-nil-x": "^2.0.23" + "is-function-x": "^4.0.26", + "is-length-x": "^3.0.22", + "is-nil-x": "^2.0.24" } }, "is-arrayish": { @@ -6304,12 +6304,12 @@ "dev": true }, "is-finite-x": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/is-finite-x/-/is-finite-x-4.0.23.tgz", - "integrity": "sha512-kKzyg4QupGgDgSiPrswnGut6K6RN//Wh0GYukp+g0GbcGJL1NjSnoe/OTw7wrarGgU6uQRNfl5ssgFm98tjSkg==", + "version": "4.0.24", + "resolved": "https://registry.npmjs.org/is-finite-x/-/is-finite-x-4.0.24.tgz", + "integrity": "sha512-Q7WHGtSMTDD4dyQceIGzNiLyH7r6PHfJAZysgnXynzFAhC8u+FIUXurLGbO/CY/575H+Rwc1MBGRmMEXMgcMiw==", "requires": { - "infinity-x": "^2.0.25", - "is-nan-x": "^2.0.26" + "infinity-x": "^2.0.27", + "is-nan-x": "^2.0.28" } }, "is-fullwidth-code-point": { @@ -6319,17 +6319,17 @@ "dev": true }, "is-function-x": { - "version": "4.0.25", - "resolved": "https://registry.npmjs.org/is-function-x/-/is-function-x-4.0.25.tgz", - "integrity": "sha512-Sw/OiaJI1IhIJmVZ7spd6olSuApR7HJSO7RdY3hnhKN/nDTC8NHLArOcEHNJ/+pttBASuSC237lolb0SiuwliA==", + "version": "4.0.26", + "resolved": "https://registry.npmjs.org/is-function-x/-/is-function-x-4.0.26.tgz", + "integrity": "sha512-7oukHcOK/o30MslY6MEMq0VT3YN7jl0XpLRY4PLbx//fwCCVYz3ZXKiRL083+q9YivYTAfgALnkBu8Z798LuoA==", "requires": { - "attempt-x": "^2.0.20", - "has-to-string-tag-x": "^2.0.20", + "attempt-x": "^2.0.21", + "has-to-string-tag-x": "^2.0.21", "is-primitive": "^3.0.1", - "normalize-space-x": "^4.0.35", - "replace-comments-x": "^3.0.22", - "to-boolean-x": "^2.0.22", - "to-string-tag-x": "^2.0.24" + "normalize-space-x": "^4.0.36", + "replace-comments-x": "^3.0.23", + "to-boolean-x": "^2.0.23", + "to-string-tag-x": "^2.0.25" } }, "is-generator-fn": { @@ -6368,12 +6368,12 @@ } }, "is-integer-x": { - "version": "2.0.22", - "resolved": "https://registry.npmjs.org/is-integer-x/-/is-integer-x-2.0.22.tgz", - "integrity": "sha512-7NlxezEAyxXaT5cxF5G81K4QvpDVechV6BkKoFp8wQ3E7iO2tgyF9afTGQQfOVZTcvOw2fu8VdJuejy4/28gmg==", + "version": "2.0.23", + "resolved": "https://registry.npmjs.org/is-integer-x/-/is-integer-x-2.0.23.tgz", + "integrity": "sha512-B6s51jILzgYSOMxQ3zKdmHa6c5eqo40v9cPbOmGtnKB9u9M3/JTxn8CpbpV0jzlk7tBYNGAcI72SeJJUkOE11A==", "requires": { - "is-finite-x": "^4.0.23", - "to-integer-x": "^4.0.25" + "is-finite-x": "^4.0.24", + "to-integer-x": "^4.0.26" } }, "is-js-type": { @@ -6386,22 +6386,22 @@ } }, "is-length-x": { - "version": "3.0.21", - "resolved": "https://registry.npmjs.org/is-length-x/-/is-length-x-3.0.21.tgz", - "integrity": "sha512-mPLHYTTOqbeuFTcUkhDeyM/yvtHvAuHPOAW1Nca2cfRivMQsuzCMjcvvRg9h8Pvr9SdlNcRPlI9i72hFqZ/n3g==", + "version": "3.0.22", + "resolved": "https://registry.npmjs.org/is-length-x/-/is-length-x-3.0.22.tgz", + "integrity": "sha512-DuOaYjPioM3/HpxRl/1YjjHhb0F014k3sbqPnvbrY1gbbQ9fTJFKd9bZOQ4S2vUAgj0JDUuUGgUwtdjv6ZiTLg==", "requires": { - "is-safe-integer-x": "^2.0.21" + "is-safe-integer-x": "^2.0.22" } }, "is-nan-x": { - "version": "2.0.26", - "resolved": "https://registry.npmjs.org/is-nan-x/-/is-nan-x-2.0.26.tgz", - "integrity": "sha512-c5Ud9eF7bnjuT2JoiAGZD7tCWaEEwCB0RbUn4/EDbMGmCYC9/bQ0ih9gSvNLSYpDURH/KABUjju89f/E566+xA==" + "version": "2.0.28", + "resolved": "https://registry.npmjs.org/is-nan-x/-/is-nan-x-2.0.28.tgz", + "integrity": "sha512-4WhPcEePsGBGSM+XfpDhBSYuCaWICBer7Ystj7aO90rqZGxRKQXGpcxc4d51xx4aj1mU8HHxkWb320lYUrdKNA==" }, "is-nil-x": { - "version": "2.0.23", - "resolved": "https://registry.npmjs.org/is-nil-x/-/is-nil-x-2.0.23.tgz", - "integrity": "sha512-rrrqoKcuSqzVPCg1pgbH0zP0UpX9nszKU+rnrRNSpFhkAgEpd7FXhnyu1ixId2y8BvIYsRGLPSd8p6p4UF3iUg==" + "version": "2.0.24", + "resolved": "https://registry.npmjs.org/is-nil-x/-/is-nil-x-2.0.24.tgz", + "integrity": "sha512-Pckclob0rXcWbyyU6FnAkzCUqGopDMHxPTv8/1N7LSK7EFAWAt5z1s/ekWRrt2Y5lt0NxCeTwk9HxYy0tafiRg==" }, "is-npm": { "version": "1.0.0", @@ -6512,11 +6512,11 @@ "dev": true }, "is-safe-integer-x": { - "version": "2.0.21", - "resolved": "https://registry.npmjs.org/is-safe-integer-x/-/is-safe-integer-x-2.0.21.tgz", - "integrity": "sha512-je8OolhYTEu0p3xVfQfspjo45CnWez+TPxRmyFwsgI9XK/hv5PBjs1ZsawoRZ6KwcVKyoexHioClu0/h3SRsCA==", + "version": "2.0.22", + "resolved": "https://registry.npmjs.org/is-safe-integer-x/-/is-safe-integer-x-2.0.22.tgz", + "integrity": "sha512-fvDK6O4ZDLHsbjFz3d0IicWZTo5Vlj01Z4822mwT04o2AiENvEBjiFkvnpDx35LgyPYc00P+OC2fmGl4DUsABQ==", "requires": { - "is-integer-x": "^2.0.22" + "is-integer-x": "^2.0.23" } }, "is-stream": { @@ -7730,12 +7730,12 @@ "dev": true }, "math-sign-x": { - "version": "4.0.26", - "resolved": "https://registry.npmjs.org/math-sign-x/-/math-sign-x-4.0.26.tgz", - "integrity": "sha512-vwUDzOHtswsgvaw+MYDe+DBvMteBiQJMWu764TbsgXS0otV9OZNP7codR+aDlgSzESbpe7vlamhXxg01mqGmtQ==", + "version": "4.0.27", + "resolved": "https://registry.npmjs.org/math-sign-x/-/math-sign-x-4.0.27.tgz", + "integrity": "sha512-LwPykAq8lKbYAjcZXmvWA5xIasHq7bXDCkWDiAdCoJ/PpKQK0JCx9ZmnSEBhAQYtK5z7xGq89g2pTHw0C7pJ4w==", "requires": { - "is-nan-x": "^2.0.26", - "to-number-x": "^3.0.25" + "is-nan-x": "^2.0.28", + "to-number-x": "^3.0.26" } }, "md5.js": { @@ -7981,9 +7981,9 @@ "optional": true }, "nan-x": { - "version": "2.0.28", - "resolved": "https://registry.npmjs.org/nan-x/-/nan-x-2.0.28.tgz", - "integrity": "sha512-o0Y8wglJE3sidjvR8dZoPRHAS6xE/b3SgCdjwQYMueqgqp8/9Tj/SmhJNxsPlQrtqwoatwgIGu+sxt8GDKKPhQ==" + "version": "2.0.30", + "resolved": "https://registry.npmjs.org/nan-x/-/nan-x-2.0.30.tgz", + "integrity": "sha512-8IOTwjsvErrbT5tt6s7FdIQFgNmdjAxoP50aVxY3WsO8JmKg4JztrcsXYCsmUcxqUDTqAGwGb1jdYWcL0g4DeQ==" }, "nanomatch": { "version": "1.2.13", @@ -8212,12 +8212,12 @@ "dev": true }, "normalize-space-x": { - "version": "4.0.35", - "resolved": "https://registry.npmjs.org/normalize-space-x/-/normalize-space-x-4.0.35.tgz", - "integrity": "sha512-f7JHHm2sJvtdaSA2lIIcs828oEBpJBEZ2f16FRptRfIoSo6B33wbtEU0gvLbky/DUsLAjJVReHc385tVQffU0Q==", + "version": "4.0.36", + "resolved": "https://registry.npmjs.org/normalize-space-x/-/normalize-space-x-4.0.36.tgz", + "integrity": "sha512-niOijec4rn7PDURugmqtpxxFX76yw6no1dCQgrvQ3EYEs/HQbI135ubGoXElUFtkikdYzxjeIj5JBKIx1lLisw==", "requires": { - "trim-x": "^4.0.24", - "white-space-x": "^4.0.21" + "trim-x": "^4.0.25", + "white-space-x": "^4.0.22" } }, "npm-run-path": { @@ -8609,13 +8609,13 @@ } }, "parse-int-x": { - "version": "3.0.23", - "resolved": "https://registry.npmjs.org/parse-int-x/-/parse-int-x-3.0.23.tgz", - "integrity": "sha512-3TbMymv+r6xeiXFOhKDGjKijsESB+ba0A47rhLd8u2IS2GoxZuFWE7hVJEYS+ns3g9UU0ZolLtEnkjDOGrxZug==", + "version": "3.0.24", + "resolved": "https://registry.npmjs.org/parse-int-x/-/parse-int-x-3.0.24.tgz", + "integrity": "sha512-U1XPG2iCw2FH/zeC0ndW+45jt5S88bAcwoQA5aV2tF05UVCGirWODSPr9bHh7woZSGxQWg5FqVXzUh/P91mArA==", "requires": { - "nan-x": "^2.0.28", - "to-string-x": "^2.0.32", - "trim-left-x": "^4.0.25" + "nan-x": "^2.0.30", + "to-string-x": "^2.0.33", + "trim-left-x": "^4.0.26" } }, "parse-json": { @@ -9373,12 +9373,12 @@ "dev": true }, "replace-comments-x": { - "version": "3.0.22", - "resolved": "https://registry.npmjs.org/replace-comments-x/-/replace-comments-x-3.0.22.tgz", - "integrity": "sha512-AeQkW+GXK6IpHrSIMR+6wW3PZ6/+Mvuelfkk+DIszh1NhMzBKTSJH59QPMVUY4kAo1x3WbPQlXY9QMwUfBF/Hg==", + "version": "3.0.23", + "resolved": "https://registry.npmjs.org/replace-comments-x/-/replace-comments-x-3.0.23.tgz", + "integrity": "sha512-Axj+uaxbM6oTKAYs0DMfQpEa705aQSHhPvAULrSS0PoJqygQwnT9u5mVOU3o6Zsl5Txyj0fzTlgA8ghGxs70qg==", "requires": { - "require-coercible-to-string-x": "^2.0.23", - "to-string-x": "^2.0.32" + "require-coercible-to-string-x": "^2.0.24", + "to-string-x": "^2.0.33" } }, "request": { @@ -9448,12 +9448,12 @@ } }, "require-coercible-to-string-x": { - "version": "2.0.23", - "resolved": "https://registry.npmjs.org/require-coercible-to-string-x/-/require-coercible-to-string-x-2.0.23.tgz", - "integrity": "sha512-N1/48kofLDhvP54vv+ZEM4GLuwOmEM0G9ntpu79PGQmE7MBNEDsHCdj5rf4G2A/TDG5kgIGYgdV4J+W3IgTMYg==", + "version": "2.0.24", + "resolved": "https://registry.npmjs.org/require-coercible-to-string-x/-/require-coercible-to-string-x-2.0.24.tgz", + "integrity": "sha512-/g8WoLpNUhiZc3kNDhJrdswbKHapCOXL4eHy2k0f7PIGwrPOwMOxHuDwYoWgiT+vO3J4FWb4y90rn2ETcd1QVQ==", "requires": { - "require-object-coercible-x": "^2.0.24", - "to-string-x": "^2.0.32" + "require-object-coercible-x": "^2.0.25", + "to-string-x": "^2.0.33" } }, "require-directory": { @@ -9469,11 +9469,11 @@ "dev": true }, "require-object-coercible-x": { - "version": "2.0.24", - "resolved": "https://registry.npmjs.org/require-object-coercible-x/-/require-object-coercible-x-2.0.24.tgz", - "integrity": "sha512-iamz5wMLxyHcJCdkpEN2RV+tvBlk3e1P7WaPkKtem2HTlrj73l+kN+1BShlFSKSwi94Y80t1bxwGSKQwDY1N/g==", + "version": "2.0.25", + "resolved": "https://registry.npmjs.org/require-object-coercible-x/-/require-object-coercible-x-2.0.25.tgz", + "integrity": "sha512-tIaVliMbqQ5eG93Yawc+MMc3h1bi6CHMYqNklEQmd5wp7Vx5ile0kjpzlHVd3J7GalErUYEqKd/E8VvLV9xLFg==", "requires": { - "is-nil-x": "^2.0.23" + "is-nil-x": "^2.0.24" } }, "require-package-name": { @@ -9642,19 +9642,19 @@ "dev": true }, "same-value-x": { - "version": "2.0.26", - "resolved": "https://registry.npmjs.org/same-value-x/-/same-value-x-2.0.26.tgz", - "integrity": "sha512-DjicL+NMjx7qf6V0KtMeXsTyQHOgILGboasR/NkckBEjFjpezVq6+KZB7fwpf3RSqUdnAb0kc3PZ/WnLjb43tg==", + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/same-value-x/-/same-value-x-2.0.27.tgz", + "integrity": "sha512-tFIgdrGt2BzBm1fPlZ1VK+cAE+au3B7cTlOeUA4/qn8Hj95ORCYH9ht5HAVh3Lxsi1sbcW6LU7MftSfSUArG6g==", "requires": { - "is-nan-x": "^2.0.26" + "is-nan-x": "^2.0.28" } }, "same-value-zero-x": { - "version": "2.0.26", - "resolved": "https://registry.npmjs.org/same-value-zero-x/-/same-value-zero-x-2.0.26.tgz", - "integrity": "sha512-foUWZV7jDwzbNYJ0JQYoAhNoFWVIdOaOyBMs8TUiuW0O2nyrwuRGFT7NWXLrYnCnmzwonJSNpVScY3oXtKhmjw==", + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/same-value-zero-x/-/same-value-zero-x-2.0.27.tgz", + "integrity": "sha512-uLR6vKB/UXqKj0v+uzue8zjEARCUcr8wdvv6L2UfCCMSED4qG4T7e4IExxBvcfkETJEo5L9usUBejcSN62IcmQ==", "requires": { - "same-value-x": "^2.0.26" + "same-value-x": "^2.0.27" } }, "sane": { @@ -10097,11 +10097,11 @@ "dev": true }, "split-if-boxed-bug-x": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/split-if-boxed-bug-x/-/split-if-boxed-bug-x-2.0.20.tgz", - "integrity": "sha512-04fepz6u+QlbiSFyJHIpX6jdDFcD+xog61OtRxgWDrTYu/xMez2ISELhY4VHiU1lD7Hjvb0U6zdWWc4qG3+U+w==", + "version": "2.0.21", + "resolved": "https://registry.npmjs.org/split-if-boxed-bug-x/-/split-if-boxed-bug-x-2.0.21.tgz", + "integrity": "sha512-6Oo7G83UdHHz9ybr9QdLVx1XV0GaSYVq+ZbFTplhiy6F4II6aHEdbaJfCVXg+/j6NVFHkIQLK6zsENpaArnk1w==", "requires": { - "has-boxed-string-x": "^2.0.21", + "has-boxed-string-x": "^2.0.23", "is-string": "^1.0.4" } }, @@ -10681,9 +10681,9 @@ "dev": true }, "to-boolean-x": { - "version": "2.0.22", - "resolved": "https://registry.npmjs.org/to-boolean-x/-/to-boolean-x-2.0.22.tgz", - "integrity": "sha512-LDR/hQi76cf/E4VTCNRMo524qgvkUCA2D/Dj90Djg6O50Icc5/kyhlH8lcCepTVg3qE0fUM3zhtPdLD6KSf5iQ==" + "version": "2.0.23", + "resolved": "https://registry.npmjs.org/to-boolean-x/-/to-boolean-x-2.0.23.tgz", + "integrity": "sha512-/REPWjNklieonLl9RHJeAlVpNohu8v6bF8aCKoO2xOfyJVJAVe9dl1n00FbGClOH6fo8EDRb9L4sFSJE8o4f6Q==" }, "to-fast-properties": { "version": "2.0.0", @@ -10692,34 +10692,34 @@ "dev": true }, "to-integer-x": { - "version": "4.0.25", - "resolved": "https://registry.npmjs.org/to-integer-x/-/to-integer-x-4.0.25.tgz", - "integrity": "sha512-cfuAifaVEGC3A5+Giu36xpXpIADum4N97aTB5qrrnkoeM0O3rY8LXCW5HupvpeOC88/umiIcG9suGXUTu74C9w==", + "version": "4.0.26", + "resolved": "https://registry.npmjs.org/to-integer-x/-/to-integer-x-4.0.26.tgz", + "integrity": "sha512-t1QB6rfbpekLuPUG7PUtFg3MsjSx5zxnT9pgIgJNcCwNR/aYNio434SDUoaqLX7YDYoFvVMBbEtbC0hcU9B0ag==", "requires": { - "is-finite-x": "^4.0.23", - "is-nan-x": "^2.0.26", - "math-sign-x": "^4.0.26", - "to-number-x": "^3.0.25" + "is-finite-x": "^4.0.24", + "is-nan-x": "^2.0.28", + "math-sign-x": "^4.0.27", + "to-number-x": "^3.0.26" } }, "to-length-x": { - "version": "4.0.22", - "resolved": "https://registry.npmjs.org/to-length-x/-/to-length-x-4.0.22.tgz", - "integrity": "sha512-ZTWoYAj+gLpVLXUYCtt45cEzlHxSkAS1k+MgiW1RrL1j8p7WAt+ZqbjeuxvXrsIUgEy0kaAckZwBHGvwyLjo3g==", + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/to-length-x/-/to-length-x-4.0.23.tgz", + "integrity": "sha512-A19GxAYcM3oC1Ood+mwkUkIvlq4cQRNvOfi31ZBXsUarKYYLzU/xaURZzhNRcV+FnHynJifVcYFaBc4Yg9WXdA==", "requires": { - "to-integer-x": "^4.0.25" + "to-integer-x": "^4.0.26" } }, "to-number-x": { - "version": "3.0.25", - "resolved": "https://registry.npmjs.org/to-number-x/-/to-number-x-3.0.25.tgz", - "integrity": "sha512-3CyIcaw+QiNeHOngyyyo/pHuT7JyfL0LXTvMlZ3z3FUmOUKDInEQ0VF81Zw5iV6JUSU8ImN+lBiDgtmL0jFU0g==", + "version": "3.0.26", + "resolved": "https://registry.npmjs.org/to-number-x/-/to-number-x-3.0.26.tgz", + "integrity": "sha512-G1uGyf8b6FDfBTeK7HrH/D6iM90LEUSl6Cj+lli9yv9NZcvnv0E0FWQcLGyy1Esp9KrKfnA0SEQvhsI4GRn5SQ==", "requires": { "is-symbol": "^1.0.2", - "nan-x": "^2.0.28", - "parse-int-x": "^3.0.23", - "to-primitive-x": "^2.0.24", - "trim-x": "^4.0.24" + "nan-x": "^2.0.30", + "parse-int-x": "^3.0.24", + "to-primitive-x": "^2.0.25", + "trim-x": "^4.0.25" } }, "to-object-path": { @@ -10743,26 +10743,26 @@ } }, "to-object-x": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/to-object-x/-/to-object-x-2.0.18.tgz", - "integrity": "sha512-en0f906l/XAVLUjIEX/DF2eEVCkw8kFePhDQd+tqIc6fUqq1FqrdLuMAvydUcwcehQLddDAiQZnIuAkxnyd9ng==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/to-object-x/-/to-object-x-2.0.19.tgz", + "integrity": "sha512-5B7sR+auuVQf53qWYelFlPvP4giByNi5UTA2dYaHdJvZusCBqKnIDD+AxBAwYEleQ5gj40eq7SOsBc1SNujkWA==", "requires": { - "cached-constructors-x": "^2.0.21", - "require-object-coercible-x": "^2.0.24" + "cached-constructors-x": "^2.0.23", + "require-object-coercible-x": "^2.0.25" } }, "to-primitive-x": { - "version": "2.0.24", - "resolved": "https://registry.npmjs.org/to-primitive-x/-/to-primitive-x-2.0.24.tgz", - "integrity": "sha512-Jn0z/Q1JPvCzqmAGK6nifCTOCZxiS37fN6K+bmuwcqdDzf+JYShNj1iX6bQDCaYf/vxaK9tCg4brrtfQxK7O8w==", + "version": "2.0.25", + "resolved": "https://registry.npmjs.org/to-primitive-x/-/to-primitive-x-2.0.25.tgz", + "integrity": "sha512-ZX9gL4FYgYYbFOft3dGTmZydrxPG9HIi8ggUF+yWXVzYoP7vh97N6GYPDIkm0Msv40tb6hoEA8VriPMmxKs6lg==", "requires": { - "has-symbol-support-x": "^2.0.19", + "has-symbol-support-x": "^2.0.20", "is-date-object": "^1.0.1", - "is-function-x": "^4.0.25", - "is-nil-x": "^2.0.23", + "is-function-x": "^4.0.26", + "is-nil-x": "^2.0.24", "is-primitive": "^3.0.1", "is-symbol": "^1.0.2", - "require-object-coercible-x": "^2.0.24" + "require-object-coercible-x": "^2.0.25" } }, "to-regex": { @@ -10788,23 +10788,23 @@ } }, "to-string-symbols-supported-x": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/to-string-symbols-supported-x/-/to-string-symbols-supported-x-2.0.19.tgz", - "integrity": "sha512-XUuUhV6ku7K9LlllBbQ7d/jLnLK6dToTWHN+0KN5FAmygyuMUE39H5nqoP6dcTosuxUGUT555CZ6Y774hisYpg==", + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/to-string-symbols-supported-x/-/to-string-symbols-supported-x-2.0.20.tgz", + "integrity": "sha512-vKaNIVNn8tZ+fm0xYQXjmEw4qDDiPI0+b/TOSI+xYNcJ+Yj0ptCk4cxP1mYZt6a0pSoN7FekY90yMJoQLtskTw==", "requires": { - "has-symbol-support-x": "^2.0.19", + "has-symbol-support-x": "^2.0.20", "is-symbol": "^1.0.2" } }, "to-string-tag-x": { - "version": "2.0.24", - "resolved": "https://registry.npmjs.org/to-string-tag-x/-/to-string-tag-x-2.0.24.tgz", - "integrity": "sha512-g9LuKm/svGHgTbhA4Ehtx3oxXOSFvVzkNHbkHdEeMH0giy3guM4uncblTUharhBoNwMAg99GmrtEIO/pCXS/Jw==" + "version": "2.0.25", + "resolved": "https://registry.npmjs.org/to-string-tag-x/-/to-string-tag-x-2.0.25.tgz", + "integrity": "sha512-mng59YAGnxHR1cl1JQsSXdrV4qFKK8Ed3LB2Y4taITzaPLq3r//f12K+/aKDNXLW1yIhI0JJowbrfqtGGaCTQg==" }, "to-string-x": { - "version": "2.0.32", - "resolved": "https://registry.npmjs.org/to-string-x/-/to-string-x-2.0.32.tgz", - "integrity": "sha512-PQlB/03L1oVdVoxIkqVghbEYMxblPSJx0Xqoprh1VawnqphAyKNSV7xRBfpjnWt48g3P1ufDCBztWOE3zZVjgg==", + "version": "2.0.33", + "resolved": "https://registry.npmjs.org/to-string-x/-/to-string-x-2.0.33.tgz", + "integrity": "sha512-mZp4VbvzVp7W6hE8oj1ZQVzRgMXD0Xw6H2cUxN+qOpvq4JU9ZRbgRq+bkhDw75ESXrctKI/bLaspqKNzgbAEwQ==", "requires": { "is-symbol": "^1.0.2" } @@ -10850,12 +10850,12 @@ "dev": true }, "trim-left-x": { - "version": "4.0.25", - "resolved": "https://registry.npmjs.org/trim-left-x/-/trim-left-x-4.0.25.tgz", - "integrity": "sha512-9x78WX0XMPD0ozu61gzqIRh6XN6jFz3hH8aDa0QPXFb69WzmZGZQxprDpwNoZqMeLjV9z46TZCJpWn5Rjweuxg==", + "version": "4.0.26", + "resolved": "https://registry.npmjs.org/trim-left-x/-/trim-left-x-4.0.26.tgz", + "integrity": "sha512-Dlbxn/04NqMZRrvZJ9NWo/ZqvTz3QEADZz4WbHqMmkzFHFmn1PtMLudOUAki2MAtdVWBJ8xu/mbWV/t2768HsA==", "requires": { - "require-coercible-to-string-x": "^2.0.23", - "white-space-x": "^4.0.21" + "require-coercible-to-string-x": "^2.0.24", + "white-space-x": "^4.0.22" } }, "trim-right": { @@ -10865,21 +10865,21 @@ "dev": true }, "trim-right-x": { - "version": "4.0.23", - "resolved": "https://registry.npmjs.org/trim-right-x/-/trim-right-x-4.0.23.tgz", - "integrity": "sha512-3VY4z2k2Pqvq8vaXuEEf9pPT5pA1gprfp7M8tzITAJR7qgz6XJzOQK62zKD98dopCrjlPIV3jb3B0bT7g+drZw==", + "version": "4.0.24", + "resolved": "https://registry.npmjs.org/trim-right-x/-/trim-right-x-4.0.24.tgz", + "integrity": "sha512-rXFfZ/ZxQXvvXqmIisBudPuaUCYl9zuEpx+/z+OWqChTHYDfm6iM4kGD4k1Zp81ZA282kPhcr+5q8FG1ssY6jw==", "requires": { - "require-coercible-to-string-x": "^2.0.23", - "white-space-x": "^4.0.21" + "require-coercible-to-string-x": "^2.0.24", + "white-space-x": "^4.0.22" } }, "trim-x": { - "version": "4.0.24", - "resolved": "https://registry.npmjs.org/trim-x/-/trim-x-4.0.24.tgz", - "integrity": "sha512-/YlOgmoknImawaJX9wB7FH0e6N9w3ZcXf9dpT6Dd+H+tyCvH/d3/EIgBPmSqLkXvczo1r6+NGm3LFO8N6wS7WQ==", + "version": "4.0.25", + "resolved": "https://registry.npmjs.org/trim-x/-/trim-x-4.0.25.tgz", + "integrity": "sha512-D0vSG/NriHDAN1ttT1HfNzoDcSSjAWU7g1zdUUtl9IpB1gFDtCJoMa5WR+CXp/XsIweU0J/UyZUzJooGWSFyOg==", "requires": { - "trim-left-x": "^4.0.25", - "trim-right-x": "^4.0.23" + "trim-left-x": "^4.0.26", + "trim-right-x": "^4.0.24" } }, "tryer": { @@ -11734,9 +11734,9 @@ "dev": true }, "white-space-x": { - "version": "4.0.21", - "resolved": "https://registry.npmjs.org/white-space-x/-/white-space-x-4.0.21.tgz", - "integrity": "sha512-vkfwKprhwGx7e3yxMbUIs+AJhcnuVTtv58CeeeYlVQTkKoeWGVqjdtu4KVtRK9IY9nUK2ii6isdEVJchJEbF8A==" + "version": "4.0.22", + "resolved": "https://registry.npmjs.org/white-space-x/-/white-space-x-4.0.22.tgz", + "integrity": "sha512-1pIBguQTj6x0ZxvjS5s1g0ZNwOXg932bMnYT4QDrnh7TUszwrSoa5+B6cfmLmUw+1D56a5NexFkE1QQc8UMepQ==" }, "widest-line": { "version": "2.0.1", diff --git a/package.json b/package.json index 131f5e9..4c1c593 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "index-of-x", - "version": "3.0.14", + "version": "3.0.15", "description": "An extended ES6 indexOf.", "homepage": "https://github.com/Xotic750/index-of-x", "author": { @@ -31,7 +31,7 @@ "build:dev": "npm run build:base --", "clean": "rimraf dist && npm run clean:coverage", "clean:coverage": "rimraf __tests__/coverage", - "lint": "eslint -f 'node_modules/eslint-friendly-formatter' --ext .js .", + "lint": "eslint -f 'node_modules/eslint-friendly-formatter' --ext .js,.json .", "lint-fix": "npm run lint -- --fix", "report": "npm run build -- --env.report", "report:dev": "npm run build:dev -- --env.report", @@ -51,16 +51,16 @@ "url": "https://github.com/Xotic750/index-of-x/issues" }, "dependencies": { - "attempt-x": "^2.0.20", - "calculate-from-index-x": "^3.0.15", - "find-index-x": "^3.0.14", - "is-nan-x": "^2.0.26", + "attempt-x": "^2.0.21", + "calculate-from-index-x": "^3.0.16", + "find-index-x": "^3.0.15", + "is-nan-x": "^2.0.28", "is-string": "^1.0.4", - "same-value-x": "^2.0.26", - "same-value-zero-x": "^2.0.26", - "split-if-boxed-bug-x": "^2.0.20", - "to-length-x": "^4.0.22", - "to-object-x": "^2.0.18" + "same-value-x": "^2.0.27", + "same-value-zero-x": "^2.0.27", + "split-if-boxed-bug-x": "^2.0.21", + "to-length-x": "^4.0.23", + "to-object-x": "^2.0.19" }, "devDependencies": { "@babel/cli": "^7.5.5", @@ -74,7 +74,7 @@ "@babel/plugin-transform-runtime": "^7.5.5", "@babel/preset-env": "^7.5.5", "@babel/runtime": "^7.5.5", - "@prorenata/eslint-config-vue": "^1.13.12", + "@prorenata/eslint-config-vue": "^1.13.14", "@types/jest": "^24.0.15", "@types/node": "^12.6.8", "babel-core": "^7.0.0-0", @@ -97,7 +97,7 @@ "eslint-plugin-eslint-comments": "^3.1.2", "eslint-plugin-html": "^6.0.0", "eslint-plugin-import": "^2.18.2", - "eslint-plugin-jest": "^22.13.7", + "eslint-plugin-jest": "^22.14.0", "eslint-plugin-jsdoc": "^15.7.2", "eslint-plugin-json": "^1.4.0", "eslint-plugin-lodash": "^5.1.0",