Socket
Socket
Sign inDemoInstall

record-cache

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

record-cache - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

4

index.js

@@ -0,1 +1,3 @@

const b4a = require('b4a')
var EMPTY = []

@@ -159,3 +161,3 @@

function toString (record) {
return Buffer.isBuffer(record) ? record.toString('hex') : record
return b4a.isBuffer(record) ? b4a.toString(record, 'hex') : record
}

@@ -162,0 +164,0 @@

{
"name": "record-cache",
"version": "1.1.1",
"version": "1.2.0",
"description": "Cache optimised for record like things",
"main": "index.js",
"dependencies": {},
"dependencies": {
"b4a": "^1.3.1"
},
"devDependencies": {

@@ -8,0 +10,0 @@ "standard": "^10.0.3",

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