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

@verdaccio/local-storage

Package Overview
Dependencies
Maintainers
4
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 11.0.0-6-next.45 to 11.0.0-6-next.46

5

build/local-database.js

@@ -20,9 +20,8 @@ "use strict";

var _utils2 = require("./utils");
var _process$env$VERDACCI; // import LRU from 'lru-cache';
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// import LRU from 'lru-cache';
const TOKEN_DB_NAME = '.token-db.json';
const DB_NAME = process.env.VERDACCIO_STORAGE_NAME ?? _core.fileUtils.Files.DatabaseName;
const DB_NAME = (_process$env$VERDACCI = process.env.VERDACCIO_STORAGE_NAME) !== null && _process$env$VERDACCI !== void 0 ? _process$env$VERDACCI : _core.fileUtils.Files.DatabaseName;
const debug = (0, _debug.default)('verdaccio:plugin:local-storage');

@@ -29,0 +28,0 @@ const ERROR_DB_LOCKED = 'Database is locked, please check error message printed during startup to prevent data loss';

10

package.json
{
"name": "@verdaccio/local-storage",
"version": "11.0.0-6-next.45",
"version": "11.0.0-6-next.46",
"description": "Local storage implementation",

@@ -40,5 +40,5 @@ "keywords": [

"dependencies": {
"@verdaccio/core": "6.0.0-6-next.75",
"@verdaccio/core": "6.0.0-6-next.76",
"@verdaccio/file-locking": "11.0.0-6-next.7",
"@verdaccio/utils": "6.0.0-6-next.43",
"@verdaccio/utils": "6.0.0-6-next.44",
"core-js": "3.30.2",

@@ -56,4 +56,4 @@ "debug": "4.3.4",

"@verdaccio/types": "11.0.0-6-next.25",
"@verdaccio/config": "6.0.0-6-next.75",
"@verdaccio/logger": "6.0.0-6-next.43",
"@verdaccio/config": "6.0.0-6-next.76",
"@verdaccio/logger": "6.0.0-6-next.44",
"@verdaccio/test-helper": "2.0.0-6-next.8",

@@ -60,0 +60,0 @@ "minimatch": "3.1.2"

Sorry, the diff of this file is not supported yet

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