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

@sparkbox/cachebust

Package Overview
Dependencies
Maintainers
9
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sparkbox/cachebust - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

3

lib/cachebust.js

@@ -32,2 +32,5 @@ const finger = require('fingerprinting');

// Sort the files and then reverse the order.
sourceFiles.sort().reverse(); // Fixes issue #5
for (let file of sourceFiles) {

@@ -34,0 +37,0 @@ const fileName = path.parse(file).name;

2

package.json
{
"name": "@sparkbox/cachebust",
"version": "0.2.2",
"version": "0.2.3",
"description": "A simple cache buster",

@@ -5,0 +5,0 @@ "bin": {

@@ -26,2 +26,4 @@ # cachebust

**Update**: [Globbing](https://github.com/sindresorhus/globby) is allowed for `target` files. So `"target": ["path/to/target/**/*.html"]` is allowed.
### Package.json

@@ -49,4 +51,2 @@

**Update**: [Globbing](https://github.com/sindresorhus/globby) is allowed for `target` files. So `"target": ["path/to/target/**/*.html"]` is allowed.
Also you may create a config file in the root of the project directory called `.cachebust.config`

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