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

@verdaccio/local-storage

Package Overview
Dependencies
Maintainers
0
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 12.0.0-next-7.18 to 12.0.0-next-7.19

2

build/dir-utils.js

@@ -12,3 +12,3 @@ "use strict";

var _core = require("@verdaccio/core");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const debug = (0, _debug.default)('verdaccio:plugin:local-storage:utils');

@@ -15,0 +15,0 @@

@@ -10,3 +10,3 @@ "use strict";

var _fs = _interopRequireDefault(require("fs"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const fsP = _fs.default.promises ? _fs.default.promises : require('fs/promises');

@@ -13,0 +13,0 @@ const readFile = fsP.readFile;

@@ -14,4 +14,4 @@ "use strict";

var _localDatabase = _interopRequireDefault(require("./local-database"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
var _default = exports.default = _localDatabase.default;
//# sourceMappingURL=index.js.map

@@ -22,4 +22,4 @@ "use strict";

function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const TOKEN_DB_NAME = '.token-db.json';

@@ -110,3 +110,3 @@ const DB_NAME = (_process$env$VERDACCI = process.env.VERDACCIO_STORAGE_NAME) !== null && _process$env$VERDACCI !== void 0 ? _process$env$VERDACCI : _core.fileUtils.Files.DatabaseName;

var _item$name;
return (item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.match(query.text)) !== null;
return (item === null || item === void 0 || (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.match(query.text)) !== null;
});

@@ -113,0 +113,0 @@ }

@@ -17,3 +17,3 @@ "use strict";

var _fs2 = require("./fs");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
/* eslint-disable no-undef */

@@ -263,3 +263,3 @@

// if upload is aborted, we clean up the temporal file
signal === null || signal === void 0 ? void 0 : signal.addEventListener('abort', async () => {
signal === null || signal === void 0 || signal.addEventListener('abort', async () => {
if (opened) {

@@ -266,0 +266,0 @@ // close always happens, even if error

@@ -9,3 +9,3 @@ "use strict";

var _fs = require("./fs");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
async function loadPrivatePackages(path, logger) {

@@ -12,0 +12,0 @@ const list = [];

@@ -13,3 +13,3 @@ "use strict";

var _path = _interopRequireDefault(require("path"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function getFileStats(packagePath) {

@@ -16,0 +16,0 @@ return new Promise((resolve, reject) => {

{
"name": "@verdaccio/local-storage",
"version": "12.0.0-next-7.18",
"version": "12.0.0-next-7.19",
"description": "Local storage implementation",

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

"dependencies": {
"@verdaccio/core": "7.0.0-next-7.18",
"@verdaccio/core": "7.0.0-next-7.19",
"@verdaccio/file-locking": "12.0.0-next.1",
"@verdaccio/utils": "7.0.0-next-7.18",
"@verdaccio/utils": "7.0.0-next-7.19",
"core-js": "3.35.0",

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

"@types/minimatch": "5.1.2",
"@verdaccio/config": "7.0.0-next-7.18",
"@verdaccio/logger": "7.0.0-next-7.18",
"@verdaccio/config": "7.0.0-next-7.19",
"@verdaccio/logger": "7.0.0-next-7.19",
"@verdaccio/test-helper": "3.0.0-next-7.2",

@@ -58,0 +58,0 @@ "@verdaccio/types": "12.0.0-next-7.5",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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