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

level-js

Package Overview
Dependencies
Maintainers
5
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

level-js - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

6

index.js

@@ -68,3 +68,7 @@ module.exports = Level

if (Buffer.isBuffer(obj.value)) {
obj.value = new Uint8Array(value.toArrayBuffer())
if (typeof value.toArrayBuffer === 'function') {
obj.value = new Uint8Array(value.toArrayBuffer())
} else {
obj.value = new Uint8Array(value)
}
}

@@ -71,0 +75,0 @@ this.idb.put(obj.key, obj.value, function() { callback() }, callback)

2

package.json
{
"name": "level-js",
"version": "2.2.3",
"version": "2.2.4",
"description": "leveldown/leveldb library for browsers using IndexedDB",

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