@pnpm/plugin-commands-patching 1000.3.50 → 1000.3.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/isSubdirectory.d.ts +7 -0
- package/lib/isSubdirectory.js +14 -0
- package/lib/isSubdirectory.js.map +1 -0
- package/lib/patchRemove.js +97 -10
- package/lib/patchRemove.js.map +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.isSubdirectory = isSubdirectory;
|
|
7
|
+
const path_1 = __importDefault(require("path"));
|
|
8
|
+
function isSubdirectory(parentDir, childPath, pathUtils = path_1.default) {
|
|
9
|
+
const relativePath = pathUtils.relative(parentDir, childPath);
|
|
10
|
+
return relativePath === '' || (relativePath !== '..' &&
|
|
11
|
+
!relativePath.startsWith(`..${pathUtils.sep}`) &&
|
|
12
|
+
!pathUtils.isAbsolute(relativePath));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=isSubdirectory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isSubdirectory.js","sourceRoot":"","sources":["../src/isSubdirectory.ts"],"names":[],"mappings":";;;;;AAQA,wCAQC;AAhBD,gDAAuB;AAQvB,SAAgB,cAAc,CAAE,SAAiB,EAAE,SAAiB,EAAE,YAAuB,cAAI;IAC/F,MAAM,YAAY,GAAG,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;IAE7D,OAAO,YAAY,KAAK,EAAE,IAAI,CAC5B,YAAY,KAAK,IAAI;QACrB,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,SAAS,CAAC,GAAG,EAAE,CAAC;QAC9C,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CACpC,CAAA;AACH,CAAC"}
|
package/lib/patchRemove.js
CHANGED
|
@@ -8,8 +8,8 @@ exports.rcOptionsTypes = rcOptionsTypes;
|
|
|
8
8
|
exports.cliOptionsTypes = cliOptionsTypes;
|
|
9
9
|
exports.help = help;
|
|
10
10
|
exports.handler = handler;
|
|
11
|
-
const path_1 = __importDefault(require("path"));
|
|
12
11
|
const promises_1 = __importDefault(require("fs/promises"));
|
|
12
|
+
const path_1 = __importDefault(require("path"));
|
|
13
13
|
const cli_utils_1 = require("@pnpm/cli-utils");
|
|
14
14
|
const plugin_commands_installation_1 = require("@pnpm/plugin-commands-installation");
|
|
15
15
|
const config_1 = require("@pnpm/config");
|
|
@@ -17,6 +17,7 @@ const error_1 = require("@pnpm/error");
|
|
|
17
17
|
const render_help_1 = __importDefault(require("render-help"));
|
|
18
18
|
const enquirer_1 = require("enquirer");
|
|
19
19
|
const pick_1 = __importDefault(require("ramda/src/pick"));
|
|
20
|
+
const isSubdirectory_js_1 = require("./isSubdirectory.js");
|
|
20
21
|
const updatePatchedDependencies_js_1 = require("./updatePatchedDependencies.js");
|
|
21
22
|
function rcOptionsTypes() {
|
|
22
23
|
return (0, pick_1.default)([], config_1.types);
|
|
@@ -34,7 +35,7 @@ function help() {
|
|
|
34
35
|
}
|
|
35
36
|
async function handler(opts, params) {
|
|
36
37
|
let patchesToRemove = params;
|
|
37
|
-
const patchedDependencies = opts.patchedDependencies
|
|
38
|
+
const patchedDependencies = { ...opts.patchedDependencies };
|
|
38
39
|
if (!params.length) {
|
|
39
40
|
const allPatches = Object.keys(patchedDependencies);
|
|
40
41
|
if (allPatches.length) {
|
|
@@ -57,15 +58,19 @@ async function handler(opts, params) {
|
|
|
57
58
|
throw new error_1.PnpmError('PATCH_NOT_FOUND', `Patch "${patch}" not found in patched dependencies`);
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
|
-
const
|
|
61
|
-
await Promise.all(patchesToRemove.map(async (patch) => {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
await promises_1.default.rm(patchFile, { force: true });
|
|
66
|
-
delete patchedDependencies[patch];
|
|
61
|
+
const patchRemovalContext = await getPatchRemovalContext(opts);
|
|
62
|
+
const patchesToRemoveTargets = await Promise.all(patchesToRemove.map(async (patch) => {
|
|
63
|
+
const patchFile = patchedDependencies[patch];
|
|
64
|
+
if (patchFile == null) {
|
|
65
|
+
throw new error_1.PnpmError('PATCH_NOT_FOUND', `Patch "${patch}" not found in patched dependencies`);
|
|
67
66
|
}
|
|
67
|
+
return getPatchRemovalTarget(patch, patchFile, patchRemovalContext);
|
|
68
68
|
}));
|
|
69
|
+
await Promise.all(patchesToRemoveTargets.map(unlinkPatchIfExists));
|
|
70
|
+
for (const { patch } of patchesToRemoveTargets) {
|
|
71
|
+
delete patchedDependencies[patch];
|
|
72
|
+
}
|
|
73
|
+
const patchesDirs = new Set(patchesToRemoveTargets.map(({ parentDir }) => parentDir));
|
|
69
74
|
await Promise.all(Array.from(patchesDirs).map(async (dir) => {
|
|
70
75
|
try {
|
|
71
76
|
const files = await promises_1.default.readdir(dir);
|
|
@@ -79,6 +84,88 @@ async function handler(opts, params) {
|
|
|
79
84
|
...opts,
|
|
80
85
|
workspaceDir: opts.workspaceDir ?? opts.rootProjectManifestDir,
|
|
81
86
|
});
|
|
82
|
-
return plugin_commands_installation_1.install.handler(
|
|
87
|
+
return plugin_commands_installation_1.install.handler({
|
|
88
|
+
...opts,
|
|
89
|
+
patchedDependencies,
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
async function getPatchRemovalContext(opts) {
|
|
93
|
+
const lockfileDir = path_1.default.resolve(opts.lockfileDir ?? opts.dir ?? process.cwd());
|
|
94
|
+
const realLockfileDir = await promises_1.default.realpath(lockfileDir);
|
|
95
|
+
const patchesDirSetting = opts.patchesDir ?? 'patches';
|
|
96
|
+
const patchesDir = path_1.default.join(lockfileDir, path_1.default.normalize(patchesDirSetting));
|
|
97
|
+
if (!(0, isSubdirectory_js_1.isSubdirectory)(lockfileDir, patchesDir)) {
|
|
98
|
+
throw new error_1.PnpmError('PATCHES_DIR_OUTSIDE_PROJECT', `The configured patches directory is outside the project: ${patchesDirSetting}`);
|
|
99
|
+
}
|
|
100
|
+
const realPatchesDir = await realpathIfExists(patchesDir);
|
|
101
|
+
if (realPatchesDir != null && !(0, isSubdirectory_js_1.isSubdirectory)(realLockfileDir, realPatchesDir)) {
|
|
102
|
+
throw new error_1.PnpmError('PATCHES_DIR_OUTSIDE_PROJECT', `The configured patches directory is outside the project: ${patchesDirSetting}`);
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
lockfileDir,
|
|
106
|
+
patchesDir,
|
|
107
|
+
realPatchesDir,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
async function getPatchRemovalTarget(patch, patchFile, ctx) {
|
|
111
|
+
const targetPath = path_1.default.resolve(ctx.lockfileDir, patchFile);
|
|
112
|
+
if (targetPath === ctx.patchesDir ||
|
|
113
|
+
!(0, isSubdirectory_js_1.isSubdirectory)(ctx.patchesDir, targetPath)) {
|
|
114
|
+
throw new error_1.PnpmError('PATCH_FILE_OUTSIDE_PATCHES_DIR', `Patch file "${patchFile}" is outside the configured patches directory`);
|
|
115
|
+
}
|
|
116
|
+
const parentDir = path_1.default.dirname(targetPath);
|
|
117
|
+
const targetStats = await lstatIfExists(targetPath);
|
|
118
|
+
const realParentDir = await realpathIfExists(parentDir);
|
|
119
|
+
const realPatchesDir = ctx.realPatchesDir ?? (await realpathIfExists(ctx.patchesDir));
|
|
120
|
+
if (realParentDir != null &&
|
|
121
|
+
realPatchesDir != null &&
|
|
122
|
+
!(0, isSubdirectory_js_1.isSubdirectory)(realPatchesDir, realParentDir)) {
|
|
123
|
+
throw new error_1.PnpmError('PATCH_FILE_OUTSIDE_PATCHES_DIR', `Patch file "${patchFile}" is outside the configured patches directory`);
|
|
124
|
+
}
|
|
125
|
+
if (targetStats?.isDirectory()) {
|
|
126
|
+
throw new error_1.PnpmError('PATCH_FILE_IS_DIRECTORY', `Patch file "${patchFile}" is a directory`);
|
|
127
|
+
}
|
|
128
|
+
return {
|
|
129
|
+
patch,
|
|
130
|
+
patchFile,
|
|
131
|
+
parentDir,
|
|
132
|
+
targetPath,
|
|
133
|
+
targetExists: targetStats != null,
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
async function unlinkPatchIfExists({ targetExists, targetPath }) {
|
|
137
|
+
if (!targetExists)
|
|
138
|
+
return;
|
|
139
|
+
try {
|
|
140
|
+
await promises_1.default.unlink(targetPath);
|
|
141
|
+
}
|
|
142
|
+
catch (err) {
|
|
143
|
+
if (isErrorWithCode(err, 'ENOENT'))
|
|
144
|
+
return;
|
|
145
|
+
throw err;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
async function lstatIfExists(targetPath) {
|
|
149
|
+
try {
|
|
150
|
+
return await promises_1.default.lstat(targetPath);
|
|
151
|
+
}
|
|
152
|
+
catch (err) {
|
|
153
|
+
if (isErrorWithCode(err, 'ENOENT'))
|
|
154
|
+
return undefined;
|
|
155
|
+
throw err;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
async function realpathIfExists(targetPath) {
|
|
159
|
+
try {
|
|
160
|
+
return await promises_1.default.realpath(targetPath);
|
|
161
|
+
}
|
|
162
|
+
catch (err) {
|
|
163
|
+
if (isErrorWithCode(err, 'ENOENT'))
|
|
164
|
+
return undefined;
|
|
165
|
+
throw err;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
function isErrorWithCode(err, code) {
|
|
169
|
+
return typeof err === 'object' && err !== null && 'code' in err && err.code === code;
|
|
83
170
|
}
|
|
84
171
|
//# sourceMappingURL=patchRemove.js.map
|
package/lib/patchRemove.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patchRemove.js","sourceRoot":"","sources":["../src/patchRemove.ts"],"names":[],"mappings":";;;;;;
|
|
1
|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ClD,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,KAAK,IAAI,CAAA;AACtF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/plugin-commands-patching",
|
|
3
|
-
"version": "1000.3.
|
|
3
|
+
"version": "1000.3.52",
|
|
4
4
|
"description": "Commands for creating patches",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -38,23 +38,23 @@
|
|
|
38
38
|
"semver": "^7.7.4",
|
|
39
39
|
"terminal-link": "^2.1.1",
|
|
40
40
|
"tinyglobby": "^0.2.16",
|
|
41
|
-
"@pnpm/cli-utils": "1001.3.
|
|
41
|
+
"@pnpm/cli-utils": "1001.3.15",
|
|
42
42
|
"@pnpm/config.config-writer": "1000.1.5",
|
|
43
|
-
"@pnpm/config": "1004.11.3",
|
|
44
43
|
"@pnpm/constants": "1001.3.1",
|
|
45
|
-
"@pnpm/
|
|
44
|
+
"@pnpm/crypto.hash": "1000.2.2",
|
|
46
45
|
"@pnpm/fs.packlist": "1000.0.0",
|
|
46
|
+
"@pnpm/config": "1004.11.5",
|
|
47
|
+
"@pnpm/error": "1000.1.0",
|
|
47
48
|
"@pnpm/lockfile.fs": "1001.1.35",
|
|
48
49
|
"@pnpm/modules-yaml": "1002.0.2",
|
|
49
50
|
"@pnpm/lockfile.utils": "1004.0.6",
|
|
50
51
|
"@pnpm/parse-wanted-dependency": "1001.0.0",
|
|
51
52
|
"@pnpm/patching.apply-patch": "1000.0.9",
|
|
52
|
-
"@pnpm/
|
|
53
|
-
"@pnpm/
|
|
54
|
-
"@pnpm/read-package-json": "1000.1.9",
|
|
53
|
+
"@pnpm/plugin-commands-installation": "1004.10.4",
|
|
54
|
+
"@pnpm/store-connection-manager": "1002.3.24",
|
|
55
55
|
"@pnpm/read-project-manifest": "1001.2.7",
|
|
56
56
|
"@pnpm/pick-fetcher": "1001.0.1",
|
|
57
|
-
"@pnpm/
|
|
57
|
+
"@pnpm/read-package-json": "1000.1.9",
|
|
58
58
|
"@pnpm/store-path": "1000.0.6",
|
|
59
59
|
"@pnpm/types": "1001.3.1",
|
|
60
60
|
"@pnpm/workspace.read-manifest": "1000.3.2"
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
"@types/semver": "7.5.3",
|
|
72
72
|
"tempy": "^1.0.1",
|
|
73
73
|
"write-yaml-file": "^5.0.0",
|
|
74
|
+
"@pnpm/test-fixtures": "1000.0.0",
|
|
74
75
|
"@pnpm/logger": "1001.0.1",
|
|
75
76
|
"@pnpm/prepare": "1000.0.18",
|
|
76
|
-
"@pnpm/
|
|
77
|
-
"@pnpm/workspace.filter-packages-from-dir": "1000.0.
|
|
78
|
-
"@pnpm/plugin-commands-patching": "1000.3.50"
|
|
77
|
+
"@pnpm/plugin-commands-patching": "1000.3.52",
|
|
78
|
+
"@pnpm/workspace.filter-packages-from-dir": "1000.0.70"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">=18.12"
|