gitextract_e8t5d49f/ ├── .github/ │ ├── FUNDING.yml │ └── workflows/ │ └── main.yml ├── .gitignore ├── .prettierrc ├── .vscode/ │ ├── launch.json │ └── settings.json ├── .yarn/ │ └── releases/ │ └── yarn-1.22.19.cjs ├── .yarnrc ├── .yarnrc.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── endless-tests.sh ├── index.js ├── integration-tests/ │ ├── adding-and-deleting-files/ │ │ ├── adding-and-deleting-files.sh │ │ ├── adding-and-deleting-files.test.ts │ │ └── package.json │ ├── append-patches/ │ │ ├── __snapshots__/ │ │ │ └── append-patches.test.ts.snap │ │ ├── append-patches.sh │ │ ├── append-patches.test.ts │ │ └── package.json │ ├── apply-multiple-patches/ │ │ ├── __snapshots__/ │ │ │ └── apply-multiple-patches.test.ts.snap │ │ ├── apply-multiple-patches.sh │ │ ├── apply-multiple-patches.test.ts │ │ ├── left-pad+1.3.0+002+broken.patch │ │ ├── package.json │ │ └── patches/ │ │ ├── left-pad+1.3.0+001+hello.patch │ │ ├── left-pad+1.3.0+003+world.patch │ │ └── left-pad+1.3.0+004+goodbye.patch │ ├── broken-patch-file/ │ │ ├── __snapshots__/ │ │ │ └── broken-patch-file.test.ts.snap │ │ ├── broken-patch-file.sh │ │ ├── broken-patch-file.test.ts │ │ ├── package.json │ │ └── patches/ │ │ └── left-pad+1.1.3.patch │ ├── collate-errors/ │ │ ├── __snapshots__/ │ │ │ └── collate-errors.test.ts.snap │ │ ├── collate-errors.sh │ │ ├── collate-errors.test.ts │ │ ├── package.json │ │ └── patches/ │ │ ├── left-pad+1.1.1.patch │ │ ├── lodash+4.17.21.patch │ │ ├── underscore+1.0.3.patch │ │ └── zfs+1.3.0.patch │ ├── create-issue/ │ │ ├── __snapshots__/ │ │ │ └── create-issue.test.ts.snap │ │ ├── create-issue.sh │ │ ├── create-issue.test.ts │ │ ├── open.mock.js │ │ └── package.json │ ├── custom-patch-dir/ │ │ ├── custom-patch-dir.sh │ │ ├── custom-patch-dir.test.ts │ │ └── package.json │ ├── custom-resolutions/ │ │ ├── blahblahblah-definitely-not-a-real-package-name/ │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── custom-resolutions.sh │ │ ├── custom-resolutions.test.ts │ │ ├── dependency/ │ │ │ ├── index.js │ │ │ └── package.json │ │ └── package.json │ ├── delete-scripts/ │ │ ├── __snapshots__/ │ │ │ └── delete-scripts.test.ts.snap │ │ ├── delete-scripts.sh │ │ ├── delete-scripts.test.ts │ │ └── package.json │ ├── dev-only-patches/ │ │ ├── __snapshots__/ │ │ │ └── dev-only-patches.test.ts.snap │ │ ├── dev-only-patches.sh │ │ ├── dev-only-patches.test.ts │ │ ├── package.json │ │ └── patches/ │ │ ├── left-pad+1.3.0.patch │ │ └── slash+3.0.0.patch │ ├── error-on-fail/ │ │ ├── __snapshots__/ │ │ │ └── error-on-fail.test.ts.snap │ │ ├── error-on-fail.sh │ │ ├── error-on-fail.test.ts │ │ ├── package.json │ │ └── patches/ │ │ └── left-pad+1.3.0.patch │ ├── error-on-warn/ │ │ ├── __snapshots__/ │ │ │ └── error-on-warn.test.ts.snap │ │ ├── error-on-warn.sh │ │ ├── error-on-warn.test.ts │ │ ├── package.json │ │ └── patches/ │ │ └── left-pad+1.1.2.patch │ ├── fails-when-no-package/ │ │ ├── __snapshots__/ │ │ │ └── fails-when-no-package.test.ts.snap │ │ ├── fails-when-no-package.sh │ │ ├── fails-when-no-package.test.ts │ │ ├── package.json │ │ └── patches/ │ │ └── left-pad+1.1.3.patch │ ├── file-mode-changes/ │ │ ├── __snapshots__/ │ │ │ └── file-mode-changes.test.ts.snap │ │ ├── assert-executable.js │ │ ├── assert-not-executable.js │ │ ├── file-mode-changes.sh │ │ ├── file-mode-changes.test.ts │ │ └── package.json │ ├── happy-path-npm/ │ │ ├── __snapshots__/ │ │ │ └── happy-path-npm.test.ts.snap │ │ ├── add-postinstall.js │ │ ├── happy-path-npm.sh │ │ ├── happy-path-npm.test.ts │ │ └── package.json │ ├── happy-path-yarn/ │ │ ├── __snapshots__/ │ │ │ └── happy-path-yarn.test.ts.snap │ │ ├── add-postinstall.js │ │ ├── happy-path-yarn.sh │ │ ├── happy-path-yarn.test.ts │ │ └── package.json │ ├── ignore-whitespace/ │ │ ├── __snapshots__/ │ │ │ └── ignore-whitespace.test.ts.snap │ │ ├── add-whitespace.js │ │ ├── alphabet/ │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── ignore-whitespace.sh │ │ ├── ignore-whitespace.test.ts │ │ ├── package.json │ │ └── strip-whitespace.js │ ├── ignores-scripts-when-making-patch/ │ │ ├── __snapshots__/ │ │ │ └── ignores-scripts-when-making-patch.test.ts.snap │ │ ├── ignores-scripts-when-making-patch.sh │ │ ├── ignores-scripts-when-making-patch.test.ts │ │ ├── naughty-package/ │ │ │ ├── package.json │ │ │ └── postinstall.sh │ │ └── package.json │ ├── include-exclude-paths/ │ │ ├── __snapshots__/ │ │ │ └── include-exclude-paths.test.ts.snap │ │ ├── include-exclude-paths.sh │ │ ├── include-exclude-paths.test.ts │ │ └── package.json │ ├── include-exclude-regex-relativity/ │ │ ├── include-exclude-regex-relativity.sh │ │ ├── include-exclude-regex-relativity.test.ts │ │ └── package.json │ ├── lerna-canary/ │ │ ├── __snapshots__/ │ │ │ └── lerna-canary.test.ts.snap │ │ ├── lerna-canary.sh │ │ ├── lerna-canary.test.ts │ │ └── package.json │ ├── lockfile/ │ │ ├── lockfile.sh │ │ ├── lockfile.test.ts │ │ └── package.json │ ├── nested-packages/ │ │ ├── __snapshots__/ │ │ │ └── nested-packages.test.ts.snap │ │ ├── nested-packages.sh │ │ ├── nested-packages.test.ts │ │ └── package.json │ ├── nested-scoped-packages/ │ │ ├── __snapshots__/ │ │ │ └── nested-scoped-packages.test.ts.snap │ │ ├── nested-scoped-packages.sh │ │ ├── nested-scoped-packages.test.ts │ │ └── package.json │ ├── newIntegrationTest.ts │ ├── no-symbolic-links/ │ │ ├── __snapshots__/ │ │ │ └── no-symbolic-links.test.ts.snap │ │ ├── no-symbolic-links.sh │ │ ├── no-symbolic-links.test.ts │ │ └── package.json │ ├── package-gets-updated/ │ │ ├── __snapshots__/ │ │ │ └── package-gets-updated.test.ts.snap │ │ ├── package-gets-updated.sh │ │ ├── package-gets-updated.test.ts │ │ ├── package.json │ │ └── patches/ │ │ └── left-pad+1.1.1.patch │ ├── partial-apply/ │ │ ├── __snapshots__/ │ │ │ └── partial-apply.test.ts.snap │ │ ├── package.json │ │ ├── partial-apply.sh │ │ ├── partial-apply.test.ts │ │ └── patches/ │ │ ├── left-pad+1.3.0+001+hello.patch │ │ ├── left-pad+1.3.0+002+world.patch │ │ └── left-pad+1.3.0+003+goodbye.patch │ ├── patch-parse-failure/ │ │ ├── __snapshots__/ │ │ │ └── patch-parse-failure.test.ts.snap │ │ ├── package.json │ │ ├── patch-parse-failure.sh │ │ ├── patch-parse-failure.test.ts │ │ └── patches/ │ │ └── left-pad+1.3.0.patch │ ├── patches/ │ │ └── left-pad+1.1.3.patch │ ├── rebase-fast-forward-failures/ │ │ ├── __snapshots__/ │ │ │ └── rebase-fast-forward-failures.test.ts.snap │ │ ├── package.json │ │ ├── patches/ │ │ │ ├── left-pad+1.3.0+001+hello.patch │ │ │ ├── left-pad+1.3.0+002+world.patch │ │ │ └── left-pad+1.3.0+003+goodbye.patch │ │ ├── rebase-fast-forward-failures.sh │ │ └── rebase-fast-forward-failures.test.ts │ ├── rebase-insert/ │ │ ├── __snapshots__/ │ │ │ └── rebase-insert.test.ts.snap │ │ ├── package.json │ │ ├── patches/ │ │ │ ├── left-pad+1.3.0+001+hello.patch │ │ │ ├── left-pad+1.3.0+002+world.patch │ │ │ └── left-pad+1.3.0+003+goodbye.patch │ │ ├── rebase-insert.sh │ │ └── rebase-insert.test.ts │ ├── rebase-update/ │ │ ├── __snapshots__/ │ │ │ └── rebase-update.test.ts.snap │ │ ├── package.json │ │ ├── patches/ │ │ │ ├── left-pad+1.3.0+001+hello.patch │ │ │ ├── left-pad+1.3.0+002+world.patch │ │ │ └── left-pad+1.3.0+003+goodbye.patch │ │ ├── rebase-update.sh │ │ └── rebase-update.test.ts │ ├── rebase-zero/ │ │ ├── __snapshots__/ │ │ │ └── rebase-zero.test.ts.snap │ │ ├── package.json │ │ ├── patches/ │ │ │ ├── left-pad+1.3.0+001+hello.patch │ │ │ ├── left-pad+1.3.0+002+world.patch │ │ │ └── left-pad+1.3.0+003+goodbye.patch │ │ ├── rebase-zero.sh │ │ └── rebase-zero.test.ts │ ├── reverse-multiple-patches/ │ │ ├── __snapshots__/ │ │ │ └── reverse-multiple-patches.test.ts.snap │ │ ├── package.json │ │ ├── patches/ │ │ │ ├── left-pad+1.3.0+001+hello.patch │ │ │ ├── left-pad+1.3.0+002+world.patch │ │ │ └── left-pad+1.3.0+003+goodbye.patch │ │ ├── reverse-multiple-patches.sh │ │ └── reverse-multiple-patches.test.ts │ ├── reverse-option/ │ │ ├── package.json │ │ ├── reverse-option.sh │ │ └── reverse-option.test.ts │ ├── runIntegrationTest.ts │ ├── scoped-package/ │ │ ├── __snapshots__/ │ │ │ └── scoped-package.test.ts.snap │ │ ├── package.json │ │ ├── patches/ │ │ │ └── @types/ │ │ │ └── left-pad+1.1.1.patch │ │ ├── scoped-package.sh │ │ └── scoped-package.test.ts │ ├── shrinkwrap/ │ │ ├── __snapshots__/ │ │ │ └── shrinkwrap.test.ts.snap │ │ ├── npm-shrinkwrap.json │ │ ├── package.json │ │ ├── patches/ │ │ │ └── left-pad+1.1.3.patch │ │ ├── shrinkwrap.sh │ │ └── shrinkwrap.test.ts │ ├── unexpected-patch-creation-failure/ │ │ ├── __snapshots__/ │ │ │ └── unexpected-patch-creation-failure.test.ts.snap │ │ ├── package.json │ │ ├── unexpected-patch-creation-failure.sh │ │ └── unexpected-patch-creation-failure.test.ts │ └── yarn-workspaces/ │ ├── add-postinstall-commands.js │ ├── package.json │ ├── packages/ │ │ ├── a/ │ │ │ └── package.json │ │ └── b/ │ │ └── package.json │ ├── yarn-workspaces.sh │ └── yarn-workspaces.test.ts ├── package.json ├── property-based-tests/ │ ├── executeTestCase.ts │ ├── generativeTests.test.ts │ ├── regressionTests.test.ts │ └── testCases.ts ├── run-tests.sh ├── src/ │ ├── PackageDetails.test.ts │ ├── PackageDetails.ts │ ├── applyPatches.ts │ ├── assertNever.ts │ ├── coerceSemVer.ts │ ├── createIssue.test.ts │ ├── createIssue.ts │ ├── detectPackageManager.ts │ ├── filterFiles.ts │ ├── getAppRootPath.ts │ ├── getPackageResolution.ts │ ├── getPackageVersion.test.ts │ ├── getPackageVersion.ts │ ├── hash.ts │ ├── index.ts │ ├── makePatch.ts │ ├── makeRegExp.ts │ ├── packageIsDevDependency.test.ts │ ├── packageIsDevDependency.ts │ ├── patch/ │ │ ├── __snapshots__/ │ │ │ └── parse.test.ts.snap │ │ ├── apply.ts │ │ ├── parse.test.ts │ │ ├── parse.ts │ │ ├── read.test.ts │ │ ├── read.ts │ │ └── reverse.ts │ ├── patchFs.ts │ ├── path.ts │ ├── rebase.ts │ ├── resolveRelativeFileDependencies.test.ts │ ├── resolveRelativeFileDependencies.ts │ ├── spawnSafe.ts │ └── stateFile.ts ├── tsconfig.build.json ├── tsconfig.json ├── tslint.json └── typings/ ├── @yarnpkg/ │ └── lockfile.d.ts ├── klaw-sync.d.ts ├── randomstring.d.ts └── slash.d.ts