remove-array-items
Advanced tools
Comparing version 1.1.1 to 2.0.0
@@ -11,3 +11,3 @@ 'use strict' | ||
*/ | ||
module.exports = function removeItems (arr, startIdx, removeCount) { | ||
export default function removeItems (arr, startIdx, removeCount) { | ||
var i, length = arr.length | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "remove-array-items", | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"description": "remove items from a javascript array without generating memory garbage", | ||
"main": "index.js", | ||
"main": "dist/remove-array-items.cjs.js", | ||
"module": "dist/remove-array-items.esm.js", | ||
"scripts": { | ||
"build": "npm-run-all -p build:*", | ||
"build:cjs": "rollup index.js --file dist/remove-array-items.cjs.js --format cjs", | ||
"build:esm": "rollup index.js --file dist/remove-array-items.esm.js --format esm", | ||
"prepublishOnly": "npm run build", | ||
"test": "tap ./test" | ||
@@ -27,4 +32,6 @@ }, | ||
"devDependencies": { | ||
"npm-run-all": "^4.1.3", | ||
"rollup": "^0.67.1", | ||
"tap": "^12.0.1" | ||
} | ||
} |
'use strict' | ||
var removeItems = require('../index.js') | ||
var removeItems = require('../dist/remove-array-items.cjs.js') | ||
var test = require('tap').test | ||
@@ -5,0 +5,0 @@ |
Sorry, the diff of this file is not supported yet
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
7155
8
91
3
78840