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

react-clear-cache

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-clear-cache - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

9

bin/cli.js
#!/usr/bin/env node
// Grab provided args.
// const [, , ...args] = process.argv;
// Print hello world provided args.
// console.log(`Hello world ${args}`);
const fs = require('fs');
const path = require('path');
const uuidv4 = require('uuid/v4');

@@ -21,4 +14,2 @@

console.log(path.resolve(__dirname));
fs.writeFile(

@@ -25,0 +16,0 @@ './public/meta.json',

2

package.json
{
"name": "react-clear-cache",
"version": "1.0.6",
"version": "1.0.7",
"description": "A component to manage application updates.",

@@ -5,0 +5,0 @@ "author": "noahjohn9259",

@@ -13,2 +13,13 @@ # react-clear-cache

## Add script in package.json
This will generate `meta.json` which will contain the latest version.
```bash
{
"prebuild": "npm run generate-build-meta",
"generate-build-meta": "./node_modules/react-clear-cache/bin/cli.js"
}
```
## Usage

@@ -15,0 +26,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