pnpm 6.27.2 → 6.28.0
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/dist/node_modules/.modules.yaml +3 -2
- package/dist/node_modules/.pnpm/lock.yaml +3 -3
- package/dist/node_modules/negotiator/index.js +4 -46
- package/dist/node_modules/negotiator/lib/language.js +3 -3
- package/dist/node_modules/negotiator/package.json +8 -8
- package/dist/pnpm.cjs +66 -53
- package/package.json +17 -17
|
@@ -4,13 +4,14 @@ included:
|
|
|
4
4
|
dependencies: true
|
|
5
5
|
devDependencies: true
|
|
6
6
|
optionalDependencies: true
|
|
7
|
+
injectedDeps: {}
|
|
7
8
|
layoutVersion: 5
|
|
8
9
|
nodeLinker: hoisted
|
|
9
|
-
packageManager: pnpm@6.27.
|
|
10
|
+
packageManager: pnpm@6.27.2
|
|
10
11
|
pendingBuilds:
|
|
11
12
|
- /node-gyp/8.4.1
|
|
12
13
|
- /encoding/0.1.13
|
|
13
|
-
prunedAt:
|
|
14
|
+
prunedAt: Sun, 23 Jan 2022 21:59:25 GMT
|
|
14
15
|
publicHoistPattern:
|
|
15
16
|
- '*types*'
|
|
16
17
|
- '*eslint*'
|
|
@@ -376,7 +376,7 @@ packages:
|
|
|
376
376
|
minipass-fetch: 1.4.1
|
|
377
377
|
minipass-flush: 1.0.5
|
|
378
378
|
minipass-pipeline: 1.2.4
|
|
379
|
-
negotiator: 0.6.
|
|
379
|
+
negotiator: 0.6.3
|
|
380
380
|
promise-retry: 2.0.1
|
|
381
381
|
socks-proxy-agent: 6.1.1
|
|
382
382
|
ssri: 8.0.1
|
|
@@ -470,8 +470,8 @@ packages:
|
|
|
470
470
|
dev: false
|
|
471
471
|
optional: true
|
|
472
472
|
|
|
473
|
-
/negotiator/0.6.
|
|
474
|
-
resolution: {integrity: sha512
|
|
473
|
+
/negotiator/0.6.3:
|
|
474
|
+
resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}
|
|
475
475
|
engines: {node: '>= 0.6'}
|
|
476
476
|
dev: false
|
|
477
477
|
optional: true
|
|
@@ -8,12 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var modules = Object.create(null);
|
|
11
|
+
var preferredCharsets = require('./lib/charset')
|
|
12
|
+
var preferredEncodings = require('./lib/encoding')
|
|
13
|
+
var preferredLanguages = require('./lib/language')
|
|
14
|
+
var preferredMediaTypes = require('./lib/mediaType')
|
|
17
15
|
|
|
18
16
|
/**
|
|
19
17
|
* Module exports.
|
|
@@ -43,7 +41,6 @@ Negotiator.prototype.charset = function charset(available) {
|
|
|
43
41
|
};
|
|
44
42
|
|
|
45
43
|
Negotiator.prototype.charsets = function charsets(available) {
|
|
46
|
-
var preferredCharsets = loadModule('charset').preferredCharsets;
|
|
47
44
|
return preferredCharsets(this.request.headers['accept-charset'], available);
|
|
48
45
|
};
|
|
49
46
|
|
|
@@ -53,7 +50,6 @@ Negotiator.prototype.encoding = function encoding(available) {
|
|
|
53
50
|
};
|
|
54
51
|
|
|
55
52
|
Negotiator.prototype.encodings = function encodings(available) {
|
|
56
|
-
var preferredEncodings = loadModule('encoding').preferredEncodings;
|
|
57
53
|
return preferredEncodings(this.request.headers['accept-encoding'], available);
|
|
58
54
|
};
|
|
59
55
|
|
|
@@ -63,7 +59,6 @@ Negotiator.prototype.language = function language(available) {
|
|
|
63
59
|
};
|
|
64
60
|
|
|
65
61
|
Negotiator.prototype.languages = function languages(available) {
|
|
66
|
-
var preferredLanguages = loadModule('language').preferredLanguages;
|
|
67
62
|
return preferredLanguages(this.request.headers['accept-language'], available);
|
|
68
63
|
};
|
|
69
64
|
|
|
@@ -73,7 +68,6 @@ Negotiator.prototype.mediaType = function mediaType(available) {
|
|
|
73
68
|
};
|
|
74
69
|
|
|
75
70
|
Negotiator.prototype.mediaTypes = function mediaTypes(available) {
|
|
76
|
-
var preferredMediaTypes = loadModule('mediaType').preferredMediaTypes;
|
|
77
71
|
return preferredMediaTypes(this.request.headers.accept, available);
|
|
78
72
|
};
|
|
79
73
|
|
|
@@ -86,39 +80,3 @@ Negotiator.prototype.preferredLanguage = Negotiator.prototype.language;
|
|
|
86
80
|
Negotiator.prototype.preferredLanguages = Negotiator.prototype.languages;
|
|
87
81
|
Negotiator.prototype.preferredMediaType = Negotiator.prototype.mediaType;
|
|
88
82
|
Negotiator.prototype.preferredMediaTypes = Negotiator.prototype.mediaTypes;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Load the given module.
|
|
92
|
-
* @private
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
function loadModule(moduleName) {
|
|
96
|
-
var module = modules[moduleName];
|
|
97
|
-
|
|
98
|
-
if (module !== undefined) {
|
|
99
|
-
return module;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// This uses a switch for static require analysis
|
|
103
|
-
switch (moduleName) {
|
|
104
|
-
case 'charset':
|
|
105
|
-
module = require('./lib/charset');
|
|
106
|
-
break;
|
|
107
|
-
case 'encoding':
|
|
108
|
-
module = require('./lib/encoding');
|
|
109
|
-
break;
|
|
110
|
-
case 'language':
|
|
111
|
-
module = require('./lib/language');
|
|
112
|
-
break;
|
|
113
|
-
case 'mediaType':
|
|
114
|
-
module = require('./lib/mediaType');
|
|
115
|
-
break;
|
|
116
|
-
default:
|
|
117
|
-
throw new Error('Cannot find module \'' + moduleName + '\'');
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// Store to prevent invoking require()
|
|
121
|
-
modules[moduleName] = module;
|
|
122
|
-
|
|
123
|
-
return module;
|
|
124
|
-
}
|
|
@@ -54,9 +54,9 @@ function parseLanguage(str, i) {
|
|
|
54
54
|
var match = simpleLanguageRegExp.exec(str);
|
|
55
55
|
if (!match) return null;
|
|
56
56
|
|
|
57
|
-
var prefix = match[1]
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
var prefix = match[1]
|
|
58
|
+
var suffix = match[2]
|
|
59
|
+
var full = prefix
|
|
60
60
|
|
|
61
61
|
if (suffix) full += "-" + suffix;
|
|
62
62
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "negotiator",
|
|
3
3
|
"description": "HTTP content negotiation",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.3",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
7
7
|
"Federico Romero <federico.romero@outboxlabs.com>",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
],
|
|
19
19
|
"repository": "jshttp/negotiator",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"eslint": "
|
|
22
|
-
"eslint-plugin-markdown": "
|
|
23
|
-
"mocha": "
|
|
24
|
-
"nyc": "
|
|
21
|
+
"eslint": "7.32.0",
|
|
22
|
+
"eslint-plugin-markdown": "2.2.1",
|
|
23
|
+
"mocha": "9.1.3",
|
|
24
|
+
"nyc": "15.1.0"
|
|
25
25
|
},
|
|
26
26
|
"files": [
|
|
27
27
|
"lib/",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"node": ">= 0.6"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
|
-
"lint": "eslint
|
|
37
|
+
"lint": "eslint .",
|
|
38
38
|
"test": "mocha --reporter spec --check-leaks --bail test/",
|
|
39
|
-
"test-
|
|
40
|
-
"test-
|
|
39
|
+
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
|
40
|
+
"test-cov": "nyc --reporter=html --reporter=text npm test"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/dist/pnpm.cjs
CHANGED
|
@@ -2846,9 +2846,9 @@ var require_chalk = __commonJS({
|
|
|
2846
2846
|
}
|
|
2847
2847
|
});
|
|
2848
2848
|
|
|
2849
|
-
// ../../node_modules/.pnpm/@babel+highlight@7.16.
|
|
2849
|
+
// ../../node_modules/.pnpm/@babel+highlight@7.16.10/node_modules/@babel/highlight/lib/index.js
|
|
2850
2850
|
var require_lib2 = __commonJS({
|
|
2851
|
-
"../../node_modules/.pnpm/@babel+highlight@7.16.
|
|
2851
|
+
"../../node_modules/.pnpm/@babel+highlight@7.16.10/node_modules/@babel/highlight/lib/index.js"(exports2) {
|
|
2852
2852
|
"use strict";
|
|
2853
2853
|
Object.defineProperty(exports2, "__esModule", {
|
|
2854
2854
|
value: true
|
|
@@ -2934,7 +2934,7 @@ var require_lib2 = __commonJS({
|
|
|
2934
2934
|
}) : _chalk;
|
|
2935
2935
|
}
|
|
2936
2936
|
function highlight(code, options = {}) {
|
|
2937
|
-
if (shouldHighlight(options)) {
|
|
2937
|
+
if (code !== "" && shouldHighlight(options)) {
|
|
2938
2938
|
const chalk = getChalk(options);
|
|
2939
2939
|
const defs = getDefs(chalk);
|
|
2940
2940
|
return highlightTokens(defs, code);
|
|
@@ -3170,7 +3170,7 @@ var require_lib4 = __commonJS({
|
|
|
3170
3170
|
var load_json_file_1 = __importDefault(require_load_json_file());
|
|
3171
3171
|
var defaultManifest = {
|
|
3172
3172
|
name: "pnpm" != null && true ? "pnpm" : "pnpm",
|
|
3173
|
-
version: "6.
|
|
3173
|
+
version: "6.28.0" != null && true ? "6.28.0" : "0.0.0"
|
|
3174
3174
|
};
|
|
3175
3175
|
var pkgJson;
|
|
3176
3176
|
if (require.main == null) {
|
|
@@ -21788,7 +21788,8 @@ var require_lib16 = __commonJS({
|
|
|
21788
21788
|
"workspace-packages": [String, Array],
|
|
21789
21789
|
"workspace-root": Boolean,
|
|
21790
21790
|
"test-pattern": [String, Array],
|
|
21791
|
-
"changed-files-ignore-pattern": [String, Array]
|
|
21791
|
+
"changed-files-ignore-pattern": [String, Array],
|
|
21792
|
+
"embed-readme": Boolean
|
|
21792
21793
|
}, types_1.default.types);
|
|
21793
21794
|
exports2.default = async (opts) => {
|
|
21794
21795
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
@@ -21862,7 +21863,8 @@ var require_lib16 = __commonJS({
|
|
|
21862
21863
|
userconfig: npmDefaults.userconfig,
|
|
21863
21864
|
"virtual-store-dir": "node_modules/.pnpm",
|
|
21864
21865
|
"workspace-concurrency": 4,
|
|
21865
|
-
"workspace-prefix": opts.workspaceDir
|
|
21866
|
+
"workspace-prefix": opts.workspaceDir,
|
|
21867
|
+
"embed-readme": true
|
|
21866
21868
|
});
|
|
21867
21869
|
npmConfig.addFile(path_1.default.resolve(path_1.default.join(__dirname, "pnpmrc")), "pnpm-builtin");
|
|
21868
21870
|
delete cliOptions.prefix;
|
|
@@ -130971,9 +130973,9 @@ ${indent}`);
|
|
|
130971
130973
|
}
|
|
130972
130974
|
});
|
|
130973
130975
|
|
|
130974
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
130976
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/constants.js
|
|
130975
130977
|
var require_constants11 = __commonJS({
|
|
130976
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
130978
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/constants.js"(exports2) {
|
|
130977
130979
|
"use strict";
|
|
130978
130980
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
130979
130981
|
var NODE_INITIAL = 0;
|
|
@@ -131001,9 +131003,9 @@ var require_constants11 = __commonJS({
|
|
|
131001
131003
|
}
|
|
131002
131004
|
});
|
|
131003
131005
|
|
|
131004
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
131006
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/errors.js
|
|
131005
131007
|
var require_errors6 = __commonJS({
|
|
131006
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
131008
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/errors.js"(exports2) {
|
|
131007
131009
|
"use strict";
|
|
131008
131010
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
131009
131011
|
var constants = require_constants11();
|
|
@@ -131080,9 +131082,9 @@ ${whileRunning(input)}`;
|
|
|
131080
131082
|
}
|
|
131081
131083
|
});
|
|
131082
131084
|
|
|
131083
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
131085
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/utils.js
|
|
131084
131086
|
var require_utils10 = __commonJS({
|
|
131085
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
131087
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/utils.js"(exports2) {
|
|
131086
131088
|
"use strict";
|
|
131087
131089
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
131088
131090
|
var errors = require_errors6();
|
|
@@ -131977,9 +131979,9 @@ var require_lib104 = __commonJS({
|
|
|
131977
131979
|
}
|
|
131978
131980
|
});
|
|
131979
131981
|
|
|
131980
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
131982
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/Command.js
|
|
131981
131983
|
var require_Command = __commonJS({
|
|
131982
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
131984
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/Command.js"(exports2) {
|
|
131983
131985
|
"use strict";
|
|
131984
131986
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
131985
131987
|
var utils = require_utils10();
|
|
@@ -132046,9 +132048,9 @@ var require_Command = __commonJS({
|
|
|
132046
132048
|
}
|
|
132047
132049
|
});
|
|
132048
132050
|
|
|
132049
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
132051
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/format.js
|
|
132050
132052
|
var require_format2 = __commonJS({
|
|
132051
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
132053
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/format.js"(exports2) {
|
|
132052
132054
|
"use strict";
|
|
132053
132055
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
132054
132056
|
var MAX_LINE_LENGTH = 80;
|
|
@@ -132083,7 +132085,7 @@ var require_format2 = __commonJS({
|
|
|
132083
132085
|
text = text.replace(/^(\s*)-([^\n]*?)\n+/gm, `$1-$2
|
|
132084
132086
|
|
|
132085
132087
|
`);
|
|
132086
|
-
text = text.replace(/\n(\n)?\n*/g,
|
|
132088
|
+
text = text.replace(/\n(\n)?\n*/g, ($0, $1) => $1 ? $1 : ` `);
|
|
132087
132089
|
if (paragraphs) {
|
|
132088
132090
|
text = text.split(/\n/).map((paragraph) => {
|
|
132089
132091
|
const bulletMatch = paragraph.match(/^\s*[*-][\t ]+(.*)/);
|
|
@@ -132114,9 +132116,9 @@ var require_format2 = __commonJS({
|
|
|
132114
132116
|
}
|
|
132115
132117
|
});
|
|
132116
132118
|
|
|
132117
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
132119
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/core.js
|
|
132118
132120
|
var require_core7 = __commonJS({
|
|
132119
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
132121
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/core.js"(exports2) {
|
|
132120
132122
|
"use strict";
|
|
132121
132123
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
132122
132124
|
var constants = require_constants11();
|
|
@@ -132889,9 +132891,9 @@ var require_core7 = __commonJS({
|
|
|
132889
132891
|
}
|
|
132890
132892
|
});
|
|
132891
132893
|
|
|
132892
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
132894
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/HelpCommand.js
|
|
132893
132895
|
var require_HelpCommand = __commonJS({
|
|
132894
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
132896
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/HelpCommand.js"(exports2) {
|
|
132895
132897
|
"use strict";
|
|
132896
132898
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
132897
132899
|
var Command = require_Command();
|
|
@@ -132947,9 +132949,9 @@ var require_HelpCommand = __commonJS({
|
|
|
132947
132949
|
}
|
|
132948
132950
|
});
|
|
132949
132951
|
|
|
132950
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
132952
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/Cli.js
|
|
132951
132953
|
var require_Cli = __commonJS({
|
|
132952
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
132954
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/Cli.js"(exports2) {
|
|
132953
132955
|
"use strict";
|
|
132954
132956
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
132955
132957
|
var constants = require_constants11();
|
|
@@ -133334,9 +133336,9 @@ var require_Cli = __commonJS({
|
|
|
133334
133336
|
}
|
|
133335
133337
|
});
|
|
133336
133338
|
|
|
133337
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133339
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/builtins/definitions.js
|
|
133338
133340
|
var require_definitions = __commonJS({
|
|
133339
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133341
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/builtins/definitions.js"(exports2) {
|
|
133340
133342
|
"use strict";
|
|
133341
133343
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133342
133344
|
var Command = require_Command();
|
|
@@ -133351,9 +133353,9 @@ var require_definitions = __commonJS({
|
|
|
133351
133353
|
}
|
|
133352
133354
|
});
|
|
133353
133355
|
|
|
133354
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133356
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/builtins/help.js
|
|
133355
133357
|
var require_help = __commonJS({
|
|
133356
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133358
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/builtins/help.js"(exports2) {
|
|
133357
133359
|
"use strict";
|
|
133358
133360
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133359
133361
|
var Command = require_Command();
|
|
@@ -133367,9 +133369,9 @@ var require_help = __commonJS({
|
|
|
133367
133369
|
}
|
|
133368
133370
|
});
|
|
133369
133371
|
|
|
133370
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133372
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/builtins/version.js
|
|
133371
133373
|
var require_version = __commonJS({
|
|
133372
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133374
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/builtins/version.js"(exports2) {
|
|
133373
133375
|
"use strict";
|
|
133374
133376
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133375
133377
|
var Command = require_Command();
|
|
@@ -133385,9 +133387,9 @@ var require_version = __commonJS({
|
|
|
133385
133387
|
}
|
|
133386
133388
|
});
|
|
133387
133389
|
|
|
133388
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133390
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/builtins/index.js
|
|
133389
133391
|
var require_builtins2 = __commonJS({
|
|
133390
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133392
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/builtins/index.js"(exports2) {
|
|
133391
133393
|
"use strict";
|
|
133392
133394
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133393
133395
|
var definitions = require_definitions();
|
|
@@ -133399,9 +133401,9 @@ var require_builtins2 = __commonJS({
|
|
|
133399
133401
|
}
|
|
133400
133402
|
});
|
|
133401
133403
|
|
|
133402
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133404
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Array.js
|
|
133403
133405
|
var require_Array = __commonJS({
|
|
133404
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133406
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Array.js"(exports2) {
|
|
133405
133407
|
"use strict";
|
|
133406
133408
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133407
133409
|
var utils = require_utils10();
|
|
@@ -133436,9 +133438,9 @@ var require_Array = __commonJS({
|
|
|
133436
133438
|
}
|
|
133437
133439
|
});
|
|
133438
133440
|
|
|
133439
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133441
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Boolean.js
|
|
133440
133442
|
var require_Boolean = __commonJS({
|
|
133441
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133443
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Boolean.js"(exports2) {
|
|
133442
133444
|
"use strict";
|
|
133443
133445
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133444
133446
|
var utils = require_utils10();
|
|
@@ -133472,9 +133474,9 @@ var require_Boolean = __commonJS({
|
|
|
133472
133474
|
}
|
|
133473
133475
|
});
|
|
133474
133476
|
|
|
133475
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133477
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Counter.js
|
|
133476
133478
|
var require_Counter = __commonJS({
|
|
133477
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133479
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Counter.js"(exports2) {
|
|
133478
133480
|
"use strict";
|
|
133479
133481
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133480
133482
|
var utils = require_utils10();
|
|
@@ -133513,9 +133515,9 @@ var require_Counter = __commonJS({
|
|
|
133513
133515
|
}
|
|
133514
133516
|
});
|
|
133515
133517
|
|
|
133516
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133518
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Proxy.js
|
|
133517
133519
|
var require_Proxy = __commonJS({
|
|
133518
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133520
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Proxy.js"(exports2) {
|
|
133519
133521
|
"use strict";
|
|
133520
133522
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133521
133523
|
var utils = require_utils10();
|
|
@@ -133537,9 +133539,9 @@ var require_Proxy = __commonJS({
|
|
|
133537
133539
|
}
|
|
133538
133540
|
});
|
|
133539
133541
|
|
|
133540
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133542
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Rest.js
|
|
133541
133543
|
var require_Rest = __commonJS({
|
|
133542
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133544
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/Rest.js"(exports2) {
|
|
133543
133545
|
"use strict";
|
|
133544
133546
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133545
133547
|
var utils = require_utils10();
|
|
@@ -133573,9 +133575,9 @@ var require_Rest = __commonJS({
|
|
|
133573
133575
|
}
|
|
133574
133576
|
});
|
|
133575
133577
|
|
|
133576
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133578
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/String.js
|
|
133577
133579
|
var require_String = __commonJS({
|
|
133578
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133580
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/String.js"(exports2) {
|
|
133579
133581
|
"use strict";
|
|
133580
133582
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133581
133583
|
var utils = require_utils10();
|
|
@@ -133649,9 +133651,9 @@ var require_String = __commonJS({
|
|
|
133649
133651
|
}
|
|
133650
133652
|
});
|
|
133651
133653
|
|
|
133652
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133654
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/index.js
|
|
133653
133655
|
var require_options3 = __commonJS({
|
|
133654
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133656
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/options/index.js"(exports2) {
|
|
133655
133657
|
"use strict";
|
|
133656
133658
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133657
133659
|
var utils = require_utils10();
|
|
@@ -133676,9 +133678,9 @@ var require_options3 = __commonJS({
|
|
|
133676
133678
|
}
|
|
133677
133679
|
});
|
|
133678
133680
|
|
|
133679
|
-
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133681
|
+
// ../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/index.js
|
|
133680
133682
|
var require_advanced = __commonJS({
|
|
133681
|
-
"../../node_modules/.pnpm/clipanion@3.2.0-rc.
|
|
133683
|
+
"../../node_modules/.pnpm/clipanion@3.2.0-rc.6/node_modules/clipanion/lib/advanced/index.js"(exports2) {
|
|
133682
133684
|
"use strict";
|
|
133683
133685
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
133684
133686
|
var errors = require_errors6();
|
|
@@ -176535,7 +176537,8 @@ var require_publish2 = __commonJS({
|
|
|
176535
176537
|
"publish-branch",
|
|
176536
176538
|
"registry",
|
|
176537
176539
|
"tag",
|
|
176538
|
-
"unsafe-perm"
|
|
176540
|
+
"unsafe-perm",
|
|
176541
|
+
"embed-readme"
|
|
176539
176542
|
], config_1.types);
|
|
176540
176543
|
}
|
|
176541
176544
|
exports2.rcOptionsTypes = rcOptionsTypes;
|
|
@@ -176800,7 +176803,12 @@ var require_pack3 = __commonJS({
|
|
|
176800
176803
|
}
|
|
176801
176804
|
}
|
|
176802
176805
|
const destDir = opts.packDestination ? path_1.default.isAbsolute(opts.packDestination) ? opts.packDestination : path_1.default.join(dir, (_b = opts.packDestination) !== null && _b !== void 0 ? _b : ".") : dir;
|
|
176803
|
-
await packPkg(
|
|
176806
|
+
await packPkg({
|
|
176807
|
+
destFile: path_1.default.join(destDir, tarballName),
|
|
176808
|
+
filesMap,
|
|
176809
|
+
projectDir: dir,
|
|
176810
|
+
embedReadme: opts.embedReadme
|
|
176811
|
+
});
|
|
176804
176812
|
if (!opts.ignoreScripts) {
|
|
176805
176813
|
await _runScriptsIfPresent(["postpack"], entryManifest);
|
|
176806
176814
|
}
|
|
@@ -176808,8 +176816,14 @@ var require_pack3 = __commonJS({
|
|
|
176808
176816
|
}
|
|
176809
176817
|
exports2.handler = handler;
|
|
176810
176818
|
var modeIsExecutable = (mode) => (mode & 73) === 73;
|
|
176811
|
-
async function
|
|
176819
|
+
async function readReadmeFile(filesMap) {
|
|
176820
|
+
const readmePath = Object.keys(filesMap).find((name) => /^package\/readme\.md$/i.test(name));
|
|
176821
|
+
const readmeFile = readmePath ? await fs_1.default.promises.readFile(filesMap[readmePath], "utf8") : void 0;
|
|
176822
|
+
return readmeFile;
|
|
176823
|
+
}
|
|
176824
|
+
async function packPkg(opts) {
|
|
176812
176825
|
var _a, _b;
|
|
176826
|
+
const { destFile, filesMap, projectDir, embedReadme } = opts;
|
|
176813
176827
|
const { manifest } = await (0, cli_utils_1.readProjectManifest)(projectDir, {});
|
|
176814
176828
|
const bins = [
|
|
176815
176829
|
...(await (0, package_bins_1.default)(manifest, projectDir)).map(({ path: path2 }) => path2),
|
|
@@ -176825,8 +176839,7 @@ var require_pack3 = __commonJS({
|
|
|
176825
176839
|
}
|
|
176826
176840
|
const mode = isExecutable ? 493 : 420;
|
|
176827
176841
|
if (/^package\/package\.(json|json5|yaml)/.test(name)) {
|
|
176828
|
-
const
|
|
176829
|
-
const readmeFile = readmePath ? await fs_1.default.promises.readFile(filesMap[readmePath], "utf8") : void 0;
|
|
176842
|
+
const readmeFile = embedReadme ? await readReadmeFile(filesMap) : void 0;
|
|
176830
176843
|
const publishManifest = await (0, exportable_manifest_1.default)(projectDir, manifest, { readmeFile });
|
|
176831
176844
|
pack.entry({ mode, mtime, name: "package/package.json" }, JSON.stringify(publishManifest, null, 2));
|
|
176832
176845
|
continue;
|
|
@@ -177608,8 +177621,8 @@ var require_exec = __commonJS({
|
|
|
177608
177621
|
...process.env,
|
|
177609
177622
|
...extraEnv,
|
|
177610
177623
|
[path_name_1.default]: [
|
|
177611
|
-
...opts.extraBinPaths,
|
|
177612
177624
|
path_1.default.join(opts.dir, "node_modules/.bin"),
|
|
177625
|
+
...opts.extraBinPaths,
|
|
177613
177626
|
process.env[path_name_1.default]
|
|
177614
177627
|
].join(path_1.default.delimiter),
|
|
177615
177628
|
PNPM_PACKAGE_NAME: (_b = (_a2 = opts.selectedProjectsGraph) === null || _a2 === void 0 ? void 0 : _a2[prefix]) === null || _b === void 0 ? void 0 : _b.package.manifest.name
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pnpm",
|
|
3
3
|
"description": "Fast, disk space efficient package manager",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.28.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pnpm": "bin/pnpm.cjs",
|
|
7
7
|
"pnpx": "bin/pnpx.cjs"
|
|
@@ -22,35 +22,35 @@
|
|
|
22
22
|
"@pnpm/assert-project": "workspace:*",
|
|
23
23
|
"@pnpm/byline": "^1.0.0",
|
|
24
24
|
"@pnpm/cli-meta": "workspace:2.0.1",
|
|
25
|
-
"@pnpm/cli-utils": "workspace:0.6.
|
|
25
|
+
"@pnpm/cli-utils": "workspace:0.6.47",
|
|
26
26
|
"@pnpm/client": "workspace:6.1.1",
|
|
27
27
|
"@pnpm/command": "workspace:2.0.0",
|
|
28
28
|
"@pnpm/common-cli-options-help": "workspace:0.8.0",
|
|
29
|
-
"@pnpm/config": "workspace:13.
|
|
29
|
+
"@pnpm/config": "workspace:13.12.0",
|
|
30
30
|
"@pnpm/constants": "workspace:5.0.0",
|
|
31
31
|
"@pnpm/core-loggers": "workspace:6.1.3",
|
|
32
|
-
"@pnpm/default-reporter": "workspace:8.5.
|
|
32
|
+
"@pnpm/default-reporter": "workspace:8.5.10",
|
|
33
33
|
"@pnpm/file-reporter": "workspace:2.0.0",
|
|
34
|
-
"@pnpm/filter-workspace-packages": "workspace:4.4.
|
|
34
|
+
"@pnpm/filter-workspace-packages": "workspace:4.4.19",
|
|
35
35
|
"@pnpm/find-workspace-dir": "workspace:3.0.1",
|
|
36
|
-
"@pnpm/find-workspace-packages": "workspace:3.1.
|
|
36
|
+
"@pnpm/find-workspace-packages": "workspace:3.1.39",
|
|
37
37
|
"@pnpm/lockfile-types": "workspace:3.1.5",
|
|
38
38
|
"@pnpm/logger": "^4.0.0",
|
|
39
39
|
"@pnpm/modules-yaml": "workspace:9.1.0",
|
|
40
40
|
"@pnpm/nopt": "^0.2.1",
|
|
41
41
|
"@pnpm/parse-cli-args": "workspace:4.4.0",
|
|
42
42
|
"@pnpm/pick-registry-for-package": "workspace:2.0.10",
|
|
43
|
-
"@pnpm/plugin-commands-audit": "workspace:5.1.
|
|
44
|
-
"@pnpm/plugin-commands-env": "workspace:1.4.
|
|
45
|
-
"@pnpm/plugin-commands-installation": "workspace:8.3.
|
|
46
|
-
"@pnpm/plugin-commands-listing": "workspace:4.1.
|
|
47
|
-
"@pnpm/plugin-commands-outdated": "workspace:5.1.
|
|
48
|
-
"@pnpm/plugin-commands-publishing": "workspace:4.
|
|
49
|
-
"@pnpm/plugin-commands-rebuild": "workspace:5.4.
|
|
50
|
-
"@pnpm/plugin-commands-script-runners": "workspace:4.5.
|
|
51
|
-
"@pnpm/plugin-commands-server": "workspace:3.0.
|
|
52
|
-
"@pnpm/plugin-commands-setup": "workspace:1.1.
|
|
53
|
-
"@pnpm/plugin-commands-store": "workspace:4.1.
|
|
43
|
+
"@pnpm/plugin-commands-audit": "workspace:5.1.39",
|
|
44
|
+
"@pnpm/plugin-commands-env": "workspace:1.4.9",
|
|
45
|
+
"@pnpm/plugin-commands-installation": "workspace:8.3.3",
|
|
46
|
+
"@pnpm/plugin-commands-listing": "workspace:4.1.8",
|
|
47
|
+
"@pnpm/plugin-commands-outdated": "workspace:5.1.7",
|
|
48
|
+
"@pnpm/plugin-commands-publishing": "workspace:4.4.0",
|
|
49
|
+
"@pnpm/plugin-commands-rebuild": "workspace:5.4.8",
|
|
50
|
+
"@pnpm/plugin-commands-script-runners": "workspace:4.5.16",
|
|
51
|
+
"@pnpm/plugin-commands-server": "workspace:3.0.65",
|
|
52
|
+
"@pnpm/plugin-commands-setup": "workspace:1.1.32",
|
|
53
|
+
"@pnpm/plugin-commands-store": "workspace:4.1.8",
|
|
54
54
|
"@pnpm/prepare": "workspace:*",
|
|
55
55
|
"@pnpm/read-package-json": "workspace:5.0.10",
|
|
56
56
|
"@pnpm/read-project-manifest": "workspace:2.0.11",
|