Socket
Socket
Sign inDemoInstall

@verdaccio/local-storage

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verdaccio/local-storage - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

lib/local-fs.js

@@ -172,3 +172,3 @@ 'use strict';

value: function createPackage(name, value, cb) {
this._createFile(this._getStorage(name), this._convertToString(value), cb);
this._createFile(this._getStorage(pkgFileName), this._convertToString(value), cb);
}

@@ -178,3 +178,3 @@ }, {

value: function savePackage(name, value, cb) {
this._writeFile(this._getStorage(name), this._convertToString(value), cb);
this._writeFile(this._getStorage(pkgFileName), this._convertToString(value), cb);
}

@@ -184,3 +184,3 @@ }, {

value: function readPackage(name, cb) {
this._readStorageFile(this._getStorage(name)).then(function (res) {
this._readStorageFile(this._getStorage(pkgFileName)).then(function (res) {
try {

@@ -187,0 +187,0 @@ var data = JSON.parse(res.toString('utf8'));

{
"name": "@verdaccio/local-storage",
"version": "0.1.1",
"version": "0.1.2",
"description": "local storage implementation",

@@ -5,0 +5,0 @@ "main": "lib/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