ml-array-sequential-fill
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.1.5](https://github.com/mljs/array/compare/ml-array-sequential-fill@1.1.4...ml-array-sequential-fill@1.1.5) (2021-03-24) | ||
### Bug Fixes | ||
* update is-any-array to v1 ([578e6d6](https://github.com/mljs/array/commit/578e6d68a429ebc72a2eaa991eec6baf377f2405)) | ||
## [1.1.4](https://github.com/mljs/array/compare/ml-array-sequential-fill@1.1.3...ml-array-sequential-fill@1.1.4) (2021-02-17) | ||
@@ -8,0 +19,0 @@ |
'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var isArray = require('is-any-array'); | ||
var isArray = _interopDefault(require('is-any-array')); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray); | ||
/** | ||
@@ -18,3 +20,3 @@ * Fill an array with sequential numbers | ||
function sequentialFill(input = [], options = {}) { | ||
if (typeof input === 'object' && !isArray(input)) { | ||
if (typeof input === 'object' && !isArray__default['default'](input)) { | ||
options = input; | ||
@@ -24,3 +26,3 @@ input = []; | ||
if (!isArray(input)) { | ||
if (!isArray__default['default'](input)) { | ||
throw new TypeError('input must be an array'); | ||
@@ -27,0 +29,0 @@ } |
{ | ||
"name": "ml-array-sequential-fill", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Create an array with sequential numbers", | ||
@@ -26,5 +26,5 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"is-any-array": "0.1.0" | ||
"is-any-array": "1.0.0" | ||
}, | ||
"gitHead": "b7308a19652e54e78c9113a797ead5fcc09a0e22" | ||
"gitHead": "d06a16075e582be7b7c553cd1aecbe1d03c64b7a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13288
298
+ Addedis-any-array@1.0.0(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removed@types/node@22.10.5(transitive)
- Removedacorn@7.4.1(transitive)
- Removedis-any-array@0.1.0(transitive)
- Removedrollup@1.32.1(transitive)
- Removedundici-types@6.20.0(transitive)
Updatedis-any-array@1.0.0