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

verdaccio-memory

Package Overview
Dependencies
Maintainers
3
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verdaccio-memory - npm Package Compare versions

Comparing version 10.1.0 to 10.2.0

12

lib/local-memory.js

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

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
const DEFAULT_LIMIT = 1000;

@@ -21,12 +19,2 @@

constructor(config, options) {
_defineProperty(this, "path", void 0);
_defineProperty(this, "limit", void 0);
_defineProperty(this, "logger", void 0);
_defineProperty(this, "data", void 0);
_defineProperty(this, "config", void 0);
this.config = config;

@@ -33,0 +21,0 @@ this.limit = config.limit || DEFAULT_LIMIT;

@@ -18,4 +18,2 @@ "use strict";

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
const fs = new _memoryFs.default();

@@ -25,10 +23,2 @@

constructor(packageName, data, logger) {
_defineProperty(this, "data", void 0);
_defineProperty(this, "name", void 0);
_defineProperty(this, "path", void 0);
_defineProperty(this, "logger", void 0);
// this is not need it

@@ -35,0 +25,0 @@ this.data = data;

11

package.json
{
"name": "verdaccio-memory",
"version": "10.1.0",
"version": "10.2.0",
"description": "Storage implementation in memory",

@@ -31,8 +31,8 @@ "keywords": [

"dependencies": {
"@verdaccio/commons-api": "10.1.0",
"@verdaccio/streams": "10.1.0",
"@verdaccio/commons-api": "10.2.0",
"@verdaccio/streams": "10.2.0",
"memory-fs": "0.5.0"
},
"devDependencies": {
"@verdaccio/types": "10.1.0"
"@verdaccio/types": "10.3.0"
},

@@ -51,3 +51,4 @@ "funding": {

"build": "pnpm run build:js && pnpm run build:types"
}
},
"readme": "# verdaccio-memory\n\n[![CircleCI](https://circleci.com/gh/verdaccio/verdaccio-memory.svg?style=svg)](https://circleci.com/gh/ayusharma/verdaccio-memory)\n[![codecov](https://codecov.io/gh/verdaccio/verdaccio-memory/branch/master/graph/badge.svg)](https://codecov.io/gh/verdaccio/verdaccio-memory)\n[![verdaccio (latest)](https://img.shields.io/npm/v/verdaccio-memory/latest.svg)](https://www.npmjs.com/package/verdaccio-memory)\n[![Known Vulnerabilities](https://snyk.io/test/github/verdaccio/verdaccio-memory/badge.svg?targetFile=package.json)](https://snyk.io/test/github/verdaccio/verdaccio-memory?targetFile=package.json)\n[![backers](https://opencollective.com/verdaccio/tiers/backer/badge.svg?label=Backer&color=brightgreen)](https://opencollective.com/verdaccio)\n[![discord](https://img.shields.io/discord/388674437219745793.svg)](http://chat.verdaccio.org/)\n![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)\n[![node](https://img.shields.io/node/v/verdaccio-memory/latest.svg)](https://www.npmjs.com/package/verdaccio-memory)\n\n\nA memory based **storage plugin**.\n\n```\n npm install --global verdaccio-memory\n```\n\n### Requirements\n\n>`verdaccio@3.0.0` or `verdaccio@4.x`\n\n```\nnpm install -g verdaccio\n```\n\nComplete configuration example:\n\n```yaml\nstore:\n memory:\n limit: 1000\n```\n\nin `config.yaml`\n\nIf `store:` is present `storage:` fallback is being ignored.\n\n```yaml\nstorage: /Users/user/.local/share/verdaccio/storage\nauth:\n htpasswd:\n file: ./htpasswd\nstore:\n memory:\n limit: 1000\n```\n\n## Disclaimer\n\nThis plugin should not be use for production environments. It might be useful for testing or such places as CI where data does not need to be persisted.\n\n## License\n\n[MIT](http://www.opensource.org/licenses/mit-license.php)\n"
}

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