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

patch-package

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

patch-package - npm Package Versions

1
810

3.3.2

Diff

Changelog

Source

3.3.2

Windows fixes:

  • Use cross-spawn for spawning child processes
  • Use git apply for applying patches, rather than patch

Contribution by @ashmind

ds300
published 3.3.1 •

Changelog

Source

3.3.1

  • Use fs-extra to copy files instead of the cp shell command, which doesn't work on Windows
ds300
published 3.3.0 •

Changelog

Source

3.3.0

  • Use + instead of : in patch file names because : is illegal on Windows.
ds300
published 3.2.1 •

Changelog

Source

3.2.1

  • Make update-notifier message show local install
ds300
published 3.2.0 •

Changelog

Source

3.2.0

  • Add update-notifier to notify users of patch-package updates
ds300
published 3.1.0 •

Changelog

Source

3.1.0

  • Add support for scoped packages
ds300
published 3.0.0 •

Changelog

Source

3.0.0

  • Add support for npm5
  • Make yarn patching a cli option, off by default
ds300
published 2.1.1 •

Changelog

Source

2.1.1

Improve error messages

ds300
published 2.1.0 •

Changelog

Source

2.1.0

Reduce yarn error to a warning

ds300
published 2.0.0 •

Changelog

Source

2.0.0

  • Require yarn as a peer dependency
  • Remove support for NPM

Moving fast and breaking things. It turns out yarn doesn't run the prepare hook after removing a package, so we use patch-package to patch a local version of yarn. I'm not proud of this. Probably wouldn't have released this in the first place if I had known that yarn didn't have all the right hooks. Oh well. Now I have a reason to contribute to Yarn I guess.

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