New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sparse-array

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sparse-array - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

index.js

@@ -27,3 +27,4 @@ 'use strict'

if (pos === -1) {
pos = this._setNextBit()
pos = this._data.length
this._setBit(index)
}

@@ -116,3 +117,3 @@ this._data[pos] = value

_setBit (index, value) {
_setBit (index) {
const bytePos = this._bytePosFor(index, false)

@@ -119,0 +120,0 @@ this._bitArrays[bytePos] |= (1 << (index - (bytePos * BITS_PER_BYTE)))

2

package.json
{
"name": "sparse-array",
"version": "1.1.0",
"version": "1.1.1",
"description": "Sparse array implementation in JS with no dependencies",

@@ -5,0 +5,0 @@ "main": "index.js",

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