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

level-codec

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

level-codec - npm Package Compare versions

Comparing version 6.2.0 to 7.0.0

6

lib/encodings.js

@@ -8,3 +8,7 @@

},
decode: identity,
decode: function(data){
return typeof data === 'string'
? data
: String(data)
},
buffer: false,

@@ -11,0 +15,0 @@ type: 'utf8'

2

package.json
{
"name": "level-codec",
"repository": "Level/codec",
"version": "6.2.0",
"version": "7.0.0",
"description": "Levelup's encoding logic",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -74,2 +74,7 @@ var test = require('tape');

buf = codec.decodeValue(new Buffer('hey'), {
valueEncoding: 'utf8'
});
t.equal(buf, 'hey');
t.end();

@@ -76,0 +81,0 @@ });

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