pkg.soopen package index

brew / Rang 6313

patch-package mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für patch-package in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install patch-package

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#patch-package

nixpkgs package indexes · pkgs/by-name/pa/patch-package/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Fix broken node modules instantly

Befehle und Aliase

  • patch-package

Verlauf

Projektgeschichte und Nutzung

patch-package creates versioned diff files from local changes to Node.js dependencies and reapplies them after dependency installation.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • The project expanded from basic dependency patches to CI-aware application, dev-only patches, partial application, and ordered patch sequences.

Related projects

  • The project integrates with npm and Yarn workflows. Its documentation also discusses postinstall-postinstall for older Yarn lifecycle behavior and contrasts its workflow with maintaining dependency forks.

Quellen

  • Official changelog: https://github.com/ds300/patch-package/blob/master/CHANGELOG.md
  • Official releases: https://github.com/ds300/patch-package/releases
  • Official repository and README: https://github.com/ds300/patch-package

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
<project>/package.json
Windows
<project>\package.json

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
patch-packagecliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-09-19
Manager-Version8.0.1
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/ds300/patch-package

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:patch-package
Version8.0.1
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/patch-package
Homepagehttps://github.com/ds300/patch-package
Repositoryhttps://github.com/ds300/patch-package
LizenzMIT
Quellarchivhttps://registry.npmjs.org/patch-package/-/patch-package-8.0.1.tgz
Abhängigkeitennode
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepatch-package
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

patch-package

nix profile install nixpkgs#patch-package
  • normalized package name match
  • Abgeglichen nach: Patch Package
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pa/patch-package/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation