macOS
brew install patch-packagelocal Homebrew formula metadata
brew / 順位 6313
patch-package のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install patch-packagelocal Homebrew formula metadata
nix profile install nixpkgs#patch-packagenixpkgs package indexes · pkgs/by-name/pa/patch-package/package.nix · ソース: api.github.com
概要
Fix broken node modules instantly
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.json実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
patch-package | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/ds300/patch-package
インストールメタデータ
| パッケージキー | brew:patch-package |
|---|---|
| バージョン | 8.0.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/patch-package |
| ホームページ | https://github.com/ds300/patch-package |
| リポジトリ | https://github.com/ds300/patch-package |
| ライセンス | MIT |
| ソースアーカイブ | https://registry.npmjs.org/patch-package/-/patch-package-8.0.1.tgz |
| 依存関係 | node |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
patch-package
nix profile install nixpkgs#patch-packageソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.