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

@travetto/cache

Package Overview
Dependencies
Maintainers
1
Versions
324
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/cache - npm Package Compare versions

Comparing version 0.4.5 to 0.4.6

8

package.json

@@ -10,3 +10,3 @@ {

"dependencies": {
"@travetto/compiler": "^0.4.3",
"@travetto/compiler": "^0.4.4",
"@types/lru-cache": "^4.1.1",

@@ -17,3 +17,3 @@ "lru-cache": "^4.1.3"

"devDependencies": {
"@travetto/test": "^0.4.5"
"@travetto/test": "^0.4.6"
},

@@ -32,4 +32,4 @@ "homepage": "https://travetto.io",

},
"version": "0.4.5",
"gitHead": "c723494714573aef32891181519ccceb988b3f41"
"version": "0.4.6",
"gitHead": "cd17462f7331b7a5a74181cfa9a1573b7cd26f9e"
}
travetto: Cache
===
**Install: primary**
```bash
$ npm install @travetto/cache
```
Provides a simple wrapper around [`lru-cache`](https://github.com/isaacs/node-lru-cache) to provide standard caching constructs.

@@ -8,2 +13,3 @@

**Code: Using decorators to cache expensive async call**
```typescript

@@ -10,0 +16,0 @@ class Worker {

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