@verdaccio/local-storage
Advanced tools
Comparing version 11.0.0-6-next.45 to 11.0.0-6-next.46
@@ -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'; |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117725
+ Added@verdaccio/core@6.0.0-6-next.76(transitive)
+ Added@verdaccio/utils@6.0.0-6-next.44(transitive)
- Removed@verdaccio/core@6.0.0-6-next.75(transitive)
- Removed@verdaccio/utils@6.0.0-6-next.43(transitive)