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

cache-bust

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-bust - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

History.md

@@ -0,3 +1,7 @@

0.0.2 - September 30, 2013
--------------------------
* expose `alias` and `remove`
0.0.1 - September 30, 2013
--------------------------
:sparkles:

@@ -18,2 +18,16 @@

/**
* Expose `alias`.
*/
exports.alias = alias;
/**
* Expose `remove`.
*/
exports.remove = remove;
/**
* Cache bust a given `file`.

@@ -34,3 +48,3 @@ *

/**
* Return the cache-busted name for a `file`.
* Return the cache-busted filename for a given `file`.
*

@@ -37,0 +51,0 @@ * @param {String} file

2

package.json
{
"name": "cache-bust",
"repository": "git://github.com/segmentio/cache-bust.git",
"version": "0.0.1",
"version": "0.0.2",
"description": "Create cache-busted versions of a file using the MD5 hash of the file's contents.",

@@ -6,0 +6,0 @@ "keywords": ["cache", "bust", "contents", "md5"],

@@ -32,4 +32,12 @@ # cache-bust

### cacheBust.remove(file)
Remove any existing cache-busted versions of a `file`.
### cacheBust.alias(file)
Return the cache-busted alias for a given `file`.
## License
MIT
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