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

@verdaccio/local-storage

Package Overview
Dependencies
Maintainers
1
Versions
156
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.0.12 to 0.0.13

7

lib/local-data.js

@@ -80,6 +80,7 @@ 'use strict';

value: function remove(name) {
var i = this.data.list.indexOf(name);
if (i !== -1) {
this.data.list.splice(i, 1);
var pkgName = this.get().indexOf(name);
if (pkgName !== -1) {
this.data.list.splice(pkgName, 1);
}
return this.sync();

@@ -86,0 +87,0 @@ }

@@ -6,2 +6,3 @@ 'use strict';

});
exports.noSuchFile = exports.fileExist = undefined;

@@ -38,7 +39,9 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var fileExist = 'EEXISTS';
var noSuchFile = 'ENOENT';
var fileExist = exports.fileExist = 'EEXISTS';
var noSuchFile = exports.noSuchFile = 'ENOENT';
var fSError = function fSError(message) {
var err = (0, _httpErrors2.default)(409, message);
err.code = message;
return err;

@@ -45,0 +48,0 @@ };

{
"name": "@verdaccio/local-storage",
"version": "0.0.12",
"version": "0.0.13",
"description": "local storage implementation",

@@ -11,2 +11,3 @@ "main": "lib/index.js",

"build": "babel src/ --out-dir lib/ --copy-files --ignore ___tests___",
"prepublish": "npm run build",
"cover": "cross-env NODE_ENV=test nyc npm t"

@@ -13,0 +14,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