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

rev-web-assets

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rev-web-assets - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

dist/rev-web-assets.d.ts

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

//! rev-web-assets v0.0.4 ~~ https://github.com/center-key/rev-web-assets ~~ MIT License
//! rev-web-assets v0.0.5 ~~ https://github.com/center-key/rev-web-assets ~~ MIT License

@@ -3,0 +3,0 @@ export declare type Settings = {

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

//! rev-web-assets v0.0.4 ~~ https://github.com/center-key/rev-web-assets ~~ MIT License
//! rev-web-assets v0.0.5 ~~ https://github.com/center-key/rev-web-assets ~~ MIT License

@@ -49,3 +49,3 @@ import crypto from 'crypto';

calcAssetHash(detail) {
const hashLen = 7;
const hashLen = 8;
const contents = fs.readFileSync(detail.origin).toString();

@@ -52,0 +52,0 @@ const hash = crypto.createHash('md5').update(contents).digest('hex');

{
"name": "rev-web-assets",
"version": "0.0.4",
"version": "0.0.5",
"description": "Revision web asset filenames with cache busting content hash fingerprints",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -11,3 +11,3 @@ # rev-web-assets

**rev-web-assets** updates the asset filenames of a website to contain a seven character hex hash. The command's console output includes a timestamp and formatting helpful in build systems.
**rev-web-assets** updates the asset filenames of a website to contain a eight-digit hex hash. The command's console output includes a timestamp and formatting helpful in build systems.

@@ -14,0 +14,0 @@ <img src=https://raw.githubusercontent.com/center-key/rev-web-assets/main/screenshot.png

Sorry, the diff of this file is not supported yet

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