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

encoding-down

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

encoding-down - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

14

index.js

@@ -89,8 +89,12 @@ 'use strict'

if (err) return cb(err)
if (typeof key !== 'undefined') {
key = self.codec.decodeKey(key, self.opts)
try {
if (typeof key !== 'undefined') {
key = self.codec.decodeKey(key, self.opts)
}
if (typeof value !== 'undefined') {
value = self.codec.decodeValue(value, self.opts)
}
} catch (err) {
return cb(new EncodingError(err))
}
if (typeof value !== 'undefined') {
value = self.codec.decodeValue(value, self.opts)
}
cb(null, key, value)

@@ -97,0 +101,0 @@ })

{
"name": "encoding-down",
"version": "2.1.1",
"version": "2.1.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": "level/encoding-down",

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