macOS
brew install patch-packagelocal Homebrew formula metadata
brew / rang 6313
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de patch-package pour les workflows d'agents IA.
installation
brew install patch-packagelocal Homebrew formula metadata
nix profile install nixpkgs#patch-packagenixpkgs package indexes · pkgs/by-name/pa/patch-package/package.nix · Source: api.github.com
aperçu
Fix broken node modules instantly
historique
patch-package creates versioned diff files from local changes to Node.js dependencies and reapplies them after dependency installation.
patch-package was created for JavaScript application authors who needed to preserve fixes made inside installed npm dependencies. The project evolved beyond basic patch creation and application to support nested packages, dev-only patches, ordered patch sequences, rebasing, partial application, reverse application, CI behavior, and alternate patch directories.
The project became a widely used workaround in npm and Yarn applications because it lets teams version local dependency fixes without publishing a fork. Its official repository documents automatic application through package-manager lifecycle hooks and has accumulated substantial community use.
A developer edits an installed dependency under node_modules and runs patch-package for that package. The tool writes a versioned patch under the application's patches directory; the patch is committed with the application and normally reapplied from a postinstall script. Teams should keep patches focused and reassess them when dependency versions change.
patch-package formalized a pragmatic pattern familiar to package maintainers: carry a small downstream patch while waiting for upstream. It makes those changes visible in ordinary code review and reproducible on developer machines and CI, occupying a useful middle ground between directly editing node_modules and maintaining a permanent fork.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
<project>/package.json<project>\package.jsonexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
patch-package | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/ds300/patch-package
métadonnées d'installation
| Clé du paquet | brew:patch-package |
|---|---|
| Version | 8.0.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/patch-package |
| Page d'accueil | https://github.com/ds300/patch-package |
| Dépôt | https://github.com/ds300/patch-package |
| Licence | MIT |
| Archive source | https://registry.npmjs.org/patch-package/-/patch-package-8.0.1.tgz |
| Dépendances | node |
| Bouteille | disponible (sur all) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | patch-package |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
patch-package
nix profile install nixpkgs#patch-packagepiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.