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

@envelop/validation-cache

Package Overview
Dependencies
Maintainers
1
Versions
1528
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@envelop/validation-cache - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

index.js

21

package.json
{
"name": "@envelop/validation-cache",
"version": "0.1.0",
"version": "0.2.0",
"sideEffects": false,

@@ -11,10 +11,25 @@ "peerDependencies": {

},
"repository": {
"type": "git",
"url": "https://github.com/dotansimha/envelop.git",
"directory": "packages/plugins/validation-cache"
},
"author": "Dotan Simha <dotansimha@gmail.com>",
"license": "MIT",
"main": "index.cjs.js",
"module": "index.esm.js",
"main": "index.js",
"module": "index.mjs",
"typings": "index.d.ts",
"typescript": {
"definition": "index.d.ts"
},
"exports": {
".": {
"require": "./index.js",
"import": "./index.mjs"
},
"./*": {
"require": "./*.js",
"import": "./*.mjs"
}
}
}

4

README.md
## `@envelop/validation-cache`
This plugins adds simple LRU caching to your `validate`, to execurion improve performance by caching the validation result.
This plugins adds simple LRU caching to your `validate`, to improve performance by caching the validation result.
This plugins improves performance of validating by ~50% (based on benchmarks).
## Getting Started

@@ -6,0 +8,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