New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

parcel-plugin-bundle-deep-hash

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parcel-plugin-bundle-deep-hash

Workaround filename hashing issue in parcel bundler

1.0.2
latest
npm
Version published
Weekly downloads
28
21.74%
Maintainers
1
Weekly downloads
 
Created
Source

This plugin monkey-patches parcel-bundler to consider all inputs when calculating a bundle hash.

This avoid problems with the bundle hash not updating when indirect dependencies of the bundle change.

For example, if you had an html file that reference a js file that reference a css file that references an image, this plugin makes the hash of the js file change if the image file changes.

To use, just install this as a dev dependency.

See also:

  • https://github.com/parcel-bundler/parcel/pull/2179
  • https://github.com/parcel-bundler/parcel/issues/1481

History

1.0.2

Remove unnecessary console.log

1.0.0

First release

FAQs

Package last updated on 06 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts