New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

next-build-cache

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-build-cache - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

lib/cache.d.ts

13

package.json
{
"name": "next-build-cache",
"version": "1.0.3",
"version": "1.0.4",
"description": "Ultra simple file system based caching built for the next.js build process.",
"main": "lib/cjs/index.js",
"module": "./lib/esm/index.js",
"main": "lib/index.js",
"files": [
"lib/"
],
"types": "lib/cjs",
"types": "lib",
"scripts": {
"prepublishOnly": "npm run build",
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json"
"build": "tsc -p tsconfig.json"
},

@@ -26,3 +25,7 @@ "keywords": [

"typescript": "^4.1.5"
},
"repository": {
"type": "git",
"url": "https://github.com/erikjs14/next-build-cache"
}
}

@@ -20,3 +20,3 @@ # next-build-cache

```bash
$ yarn next-build-cache
$ yarn add next-build-cache
```

@@ -27,5 +27,8 @@

```javascript
// using es modules
import { accessCache } from 'next-build-cache';
// using commonjs
const { accessCache } = require('next-build-cache');
// Access the cache using the file 'build.cache'
// access the cache using the file 'build.cache'
const cache = accessCache('build.cache');

@@ -37,3 +40,3 @@

// get the value of a key
await cache.get('mykey');
const value = await cache.get('mykey');
```

@@ -40,0 +43,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