Socket
Socket
Sign inDemoInstall

cache-buster

Package Overview
Dependencies
4
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 7.0.0

.idea/vcs.xml

7

bin/index.js

@@ -13,7 +13,10 @@ #!/usr/bin/env node

var buildNum = process.env.BUILD_NUMBER || Math.floor(new Date() / 1000) + '';
var html = fs.readFileSync(__dirname + '/index.html', 'utf-8')
var index = fs.readFileSync(__dirname + '/index.html', 'utf-8')
.replace('{{index}}', commander.indexFileName)
.replace('{{build}}', buildNum);
var login = fs.readFileSync(__dirname + '/login.html', 'utf-8')
.replace('{{build}}', buildNum);
fs.outputFileSync(path.join(process.cwd(), 'deploy/index.html'), html);
fs.outputFileSync(path.join(process.cwd(), 'deploy/index.html'), index);
fs.outputFileSync(path.join(process.cwd(), 'deploy/login.html'), login);

@@ -20,0 +23,0 @@ var src = path.join(process.cwd(), commander.webappDir);

{
"name": "cache-buster",
"version": "6.0.0",
"version": "7.0.0",
"description": "cache buster for static webapp",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,1 +0,1 @@

In Progress
Work In Progress

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc