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

node-kv-storage

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-kv-storage - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

cjs/index.cjs

13

package.json
{
"name": "node-kv-storage",
"version": "3.0.0",
"version": "3.0.1",
"description": "Wrapper around node-persist that conforms to the std:kv-storage interface",
"type": "module",
"main": "cjs/index.js",
"main": "cjs/index.cjs",
"module": "index.js",

@@ -17,7 +17,7 @@ "files": [

"import": "./index.js",
"require": "./cjs/index.js"
"require": "./cjs/index.cjs"
}
},
"scripts": {
"clean": "rm -rf *.d.ts *.js *.js.map *.d.ts.map cjs",
"clean": "shx rm -rf *.d.ts *.js *.js.map *.d.ts.map cjs",
"test": "npm run build:mjs && node test/index.js",

@@ -27,3 +27,5 @@ "prepublishOnly": "npm run build",

"build:mjs": "tsc -d -p tsconfig.json",
"build:cjs": "tsc -d -p tsconfig.cjs.json"
"build:cjs": "tsc -d -p tsconfig.cjs.json && npm run sed && npm run mv",
"sed": "shx sed -i 's/\\.(.*)\\.js/\\.$1\\.cjs/g' cjs/*.js > /dev/null ",
"mv": "for f in cjs/*.js; do shx mv \"$f\" \"${f%.js}.cjs\"; done"
},

@@ -42,2 +44,3 @@ "author": "Florian Klampfer <mail@qwtel.com> (https://qwtel.com/)",

"@types/assert": "^1.5.4",
"shx": "^0.3.3",
"typescript": "^4.2.2"

@@ -44,0 +47,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