Huge News!Announcing our $40M Series B led by Abstract Ventures.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
  • Socket score

Version published
Weekly downloads
8
decreased by-69.23%
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

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