Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remove-array-items

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remove-array-items - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

dist/remove-array-items.cjs.js

2

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc