@salesforce/cli 2.5.6-qa.0 → 2.5.7
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/bin/run +0 -3
- package/dist/util/env.js +2 -2
- package/npm-shrinkwrap.json +29 -29
- package/oclif.manifest.json +1 -1
- package/package.json +5 -6
- package/dist/versions.js +0 -47
package/bin/run
CHANGED
|
@@ -8,9 +8,6 @@ process.setMaxListeners(parseInt(process.env.SF_MAX_EVENT_LISTENERS, 10) || 1000
|
|
|
8
8
|
// Don't let other plugins override the CLI specified max listener count
|
|
9
9
|
process.setMaxListeners = () => {};
|
|
10
10
|
|
|
11
|
-
// Check node version before requiring additional packages
|
|
12
|
-
require('../dist/versions').checkNodeVersion();
|
|
13
|
-
|
|
14
11
|
// Pre-process/prune flags before creating or running the actual CLI
|
|
15
12
|
require('../dist/flags').preprocessCliFlags(process);
|
|
16
13
|
|
package/dist/util/env.js
CHANGED
|
@@ -7,8 +7,8 @@ exports.Env = void 0;
|
|
|
7
7
|
* Licensed under the BSD 3-Clause license.
|
|
8
8
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
9
9
|
*/
|
|
10
|
-
const
|
|
11
|
-
class Env extends
|
|
10
|
+
const envVars_1 = require("@salesforce/core/lib/config/envVars");
|
|
11
|
+
class Env extends envVars_1.EnvVars {
|
|
12
12
|
constructor(env = process.env) {
|
|
13
13
|
super(env);
|
|
14
14
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.7",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.5.
|
|
9
|
+
"version": "2.5.7",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "BSD-3-Clause",
|
|
12
12
|
"dependencies": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@oclif/plugin-not-found": "2.3.37",
|
|
18
18
|
"@oclif/plugin-plugins": "3.2.6",
|
|
19
19
|
"@oclif/plugin-search": "0.0.22",
|
|
20
|
-
"@oclif/plugin-update": "
|
|
20
|
+
"@oclif/plugin-update": "3.1.32",
|
|
21
21
|
"@oclif/plugin-version": "1.3.8",
|
|
22
22
|
"@oclif/plugin-warn-if-update-available": "2.0.48",
|
|
23
23
|
"@oclif/plugin-which": "2.2.30",
|
|
@@ -36,11 +36,10 @@
|
|
|
36
36
|
"@salesforce/plugin-source": "2.10.31",
|
|
37
37
|
"@salesforce/plugin-telemetry": "2.3.0",
|
|
38
38
|
"@salesforce/plugin-templates": "55.5.10",
|
|
39
|
-
"@salesforce/plugin-trust": "2.6.
|
|
39
|
+
"@salesforce/plugin-trust": "2.6.1",
|
|
40
40
|
"@salesforce/plugin-user": "2.3.28",
|
|
41
41
|
"@salesforce/sf-plugins-core": "3.1.15",
|
|
42
42
|
"debug": "^4.3.4",
|
|
43
|
-
"semver": "^7.5.4",
|
|
44
43
|
"tslib": "^2.4.1"
|
|
45
44
|
},
|
|
46
45
|
"bin": {
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
"@oclif/plugin-command-snapshot": "^3.3.0",
|
|
52
51
|
"@salesforce/dev-config": "^4.0.1",
|
|
53
52
|
"@salesforce/dev-scripts": "^3.1.1",
|
|
54
|
-
"@salesforce/plugin-release-management": "^4.1.
|
|
53
|
+
"@salesforce/plugin-release-management": "^4.1.19",
|
|
55
54
|
"@salesforce/prettier-config": "^0.0.3",
|
|
56
55
|
"@salesforce/ts-sinon": "^1.4.14",
|
|
57
56
|
"@types/debug": "^4.1.8",
|
|
@@ -7753,16 +7752,17 @@
|
|
|
7753
7752
|
}
|
|
7754
7753
|
},
|
|
7755
7754
|
"node_modules/@oclif/plugin-update": {
|
|
7756
|
-
"version": "
|
|
7757
|
-
"resolved": "https://registry.npmjs.org/@oclif/plugin-update/-/plugin-update-
|
|
7758
|
-
"integrity": "sha512-
|
|
7755
|
+
"version": "3.1.32",
|
|
7756
|
+
"resolved": "https://registry.npmjs.org/@oclif/plugin-update/-/plugin-update-3.1.32.tgz",
|
|
7757
|
+
"integrity": "sha512-x8ND74rXXP74OOQ8y9UAWK6cTx9XgBuHnpKMTS1JGCJ3Y887uT9ccsQC03ezCyPN0+IQqexNk2lCs+FCpLKk9w==",
|
|
7759
7758
|
"license": "MIT",
|
|
7760
7759
|
"dependencies": {
|
|
7760
|
+
"@oclif/color": "^1.0.10",
|
|
7761
7761
|
"@oclif/core": "^2.11.8",
|
|
7762
|
-
"
|
|
7762
|
+
"cross-spawn": "^7.0.3",
|
|
7763
7763
|
"debug": "^4.3.1",
|
|
7764
7764
|
"filesize": "^6.1.0",
|
|
7765
|
-
"fs-extra": "^
|
|
7765
|
+
"fs-extra": "^9.0.1",
|
|
7766
7766
|
"http-call": "^5.3.0",
|
|
7767
7767
|
"inquirer": "^8.2.6",
|
|
7768
7768
|
"lodash.throttle": "^4.1.1",
|
|
@@ -7771,21 +7771,22 @@
|
|
|
7771
7771
|
"tar-fs": "^2.1.1"
|
|
7772
7772
|
},
|
|
7773
7773
|
"engines": {
|
|
7774
|
-
"node": ">=
|
|
7774
|
+
"node": ">=12.0.0"
|
|
7775
7775
|
}
|
|
7776
7776
|
},
|
|
7777
7777
|
"node_modules/@oclif/plugin-update/node_modules/fs-extra": {
|
|
7778
|
-
"version": "
|
|
7779
|
-
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-
|
|
7780
|
-
"integrity": "sha512-
|
|
7778
|
+
"version": "9.1.0",
|
|
7779
|
+
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
|
|
7780
|
+
"integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
|
|
7781
7781
|
"license": "MIT",
|
|
7782
7782
|
"dependencies": {
|
|
7783
|
+
"at-least-node": "^1.0.0",
|
|
7783
7784
|
"graceful-fs": "^4.2.0",
|
|
7784
7785
|
"jsonfile": "^6.0.1",
|
|
7785
7786
|
"universalify": "^2.0.0"
|
|
7786
7787
|
},
|
|
7787
7788
|
"engines": {
|
|
7788
|
-
"node": ">=
|
|
7789
|
+
"node": ">=10"
|
|
7789
7790
|
}
|
|
7790
7791
|
},
|
|
7791
7792
|
"node_modules/@oclif/plugin-update/node_modules/jsonfile": {
|
|
@@ -8170,15 +8171,15 @@
|
|
|
8170
8171
|
}
|
|
8171
8172
|
},
|
|
8172
8173
|
"node_modules/@salesforce/cli-plugins-testkit": {
|
|
8173
|
-
"version": "4.
|
|
8174
|
-
"resolved": "https://registry.npmjs.org/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-4.
|
|
8175
|
-
"integrity": "sha512-
|
|
8174
|
+
"version": "4.2.9",
|
|
8175
|
+
"resolved": "https://registry.npmjs.org/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-4.2.9.tgz",
|
|
8176
|
+
"integrity": "sha512-v71dFmhlgwtmehK2QJ8+toeCYc39WQFu7R2wmhsHQeVA1UuYcx3uue5JnC392PIXddxQtjdR6eazk52tQg4nyA==",
|
|
8176
8177
|
"dev": true,
|
|
8177
8178
|
"license": "BSD-3-Clause",
|
|
8178
8179
|
"dependencies": {
|
|
8179
8180
|
"@salesforce/core": "^5.2.0",
|
|
8180
8181
|
"@salesforce/kit": "^3.0.9",
|
|
8181
|
-
"@salesforce/ts-types": "^2.0.
|
|
8182
|
+
"@salesforce/ts-types": "^2.0.2",
|
|
8182
8183
|
"@types/shelljs": "^0.8.12",
|
|
8183
8184
|
"debug": "^4.3.1",
|
|
8184
8185
|
"jszip": "^3.10.1",
|
|
@@ -8935,9 +8936,9 @@
|
|
|
8935
8936
|
}
|
|
8936
8937
|
},
|
|
8937
8938
|
"node_modules/@salesforce/plugin-release-management": {
|
|
8938
|
-
"version": "4.1.
|
|
8939
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-release-management/-/plugin-release-management-4.1.
|
|
8940
|
-
"integrity": "sha512-
|
|
8939
|
+
"version": "4.1.19",
|
|
8940
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-release-management/-/plugin-release-management-4.1.19.tgz",
|
|
8941
|
+
"integrity": "sha512-LflsY09sqbGay8/YszzGB62M8CRmoab5/LB0sFppvfBbTLgjDzCuPZkIWd+vR6d+v5nUfoR5OuLSV4l3zGXOOA==",
|
|
8941
8942
|
"dev": true,
|
|
8942
8943
|
"license": "BSD-3-Clause",
|
|
8943
8944
|
"dependencies": {
|
|
@@ -8945,11 +8946,11 @@
|
|
|
8945
8946
|
"@octokit/core": "^4.2.4",
|
|
8946
8947
|
"@octokit/plugin-paginate-rest": "^6.1.2",
|
|
8947
8948
|
"@octokit/plugin-throttling": "^5.2.3",
|
|
8948
|
-
"@salesforce/cli-plugins-testkit": "^4.
|
|
8949
|
+
"@salesforce/cli-plugins-testkit": "^4.2.9",
|
|
8949
8950
|
"@salesforce/core": "^5.2.0",
|
|
8950
8951
|
"@salesforce/kit": "^3.0.9",
|
|
8951
8952
|
"@salesforce/plugin-command-reference": "^3.0.25",
|
|
8952
|
-
"@salesforce/plugin-trust": "^2.
|
|
8953
|
+
"@salesforce/plugin-trust": "^2.4.2",
|
|
8953
8954
|
"@salesforce/sf-plugins-core": "^3.1.14",
|
|
8954
8955
|
"@salesforce/ts-types": "^2.0.6",
|
|
8955
8956
|
"aws-sdk": "^2.1413.0",
|
|
@@ -9224,15 +9225,14 @@
|
|
|
9224
9225
|
}
|
|
9225
9226
|
},
|
|
9226
9227
|
"node_modules/@salesforce/plugin-trust": {
|
|
9227
|
-
"version": "2.6.
|
|
9228
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-trust/-/plugin-trust-2.6.
|
|
9229
|
-
"integrity": "sha512-
|
|
9228
|
+
"version": "2.6.1",
|
|
9229
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-trust/-/plugin-trust-2.6.1.tgz",
|
|
9230
|
+
"integrity": "sha512-rcFq2Ci++aiiGNyX4E8o/OOCKm8hqxtLkfykCP9K8c2blLl4q0uLe8i9o1oaHTIgUBxSKhhZbq5sdgRL2DNV5Q==",
|
|
9230
9231
|
"license": "BSD-3-Clause",
|
|
9231
9232
|
"dependencies": {
|
|
9232
9233
|
"@oclif/core": "^2.11.8",
|
|
9233
9234
|
"@salesforce/core": "^5.2.0",
|
|
9234
9235
|
"@salesforce/sf-plugins-core": "^3.1.14",
|
|
9235
|
-
"@salesforce/telemetry": "^4.1.0",
|
|
9236
9236
|
"got": "^11",
|
|
9237
9237
|
"npm": "^8.19.4",
|
|
9238
9238
|
"npm-run-path": "^4.0.1",
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.7",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"@oclif/plugin-not-found": "2.3.37",
|
|
127
127
|
"@oclif/plugin-plugins": "3.2.6",
|
|
128
128
|
"@oclif/plugin-search": "0.0.22",
|
|
129
|
-
"@oclif/plugin-update": "
|
|
129
|
+
"@oclif/plugin-update": "3.1.32",
|
|
130
130
|
"@oclif/plugin-version": "1.3.8",
|
|
131
131
|
"@oclif/plugin-warn-if-update-available": "2.0.48",
|
|
132
132
|
"@oclif/plugin-which": "2.2.30",
|
|
@@ -145,11 +145,10 @@
|
|
|
145
145
|
"@salesforce/plugin-source": "2.10.31",
|
|
146
146
|
"@salesforce/plugin-telemetry": "2.3.0",
|
|
147
147
|
"@salesforce/plugin-templates": "55.5.10",
|
|
148
|
-
"@salesforce/plugin-trust": "2.6.
|
|
148
|
+
"@salesforce/plugin-trust": "2.6.1",
|
|
149
149
|
"@salesforce/plugin-user": "2.3.28",
|
|
150
150
|
"@salesforce/sf-plugins-core": "3.1.15",
|
|
151
151
|
"debug": "^4.3.4",
|
|
152
|
-
"semver": "^7.5.4",
|
|
153
152
|
"tslib": "^2.4.1"
|
|
154
153
|
},
|
|
155
154
|
"pinnedDependencies": [
|
|
@@ -205,9 +204,9 @@
|
|
|
205
204
|
"pack:tarballs:sequential": "oclif pack:tarballs --xz",
|
|
206
205
|
"pack:verify": "sf-release cli:tarballs:verify --cli sf --windows-username-buffer 34",
|
|
207
206
|
"pack:win": "oclif pack:win",
|
|
207
|
+
"postinstall": "node ./scripts/post-install-release-notes.js",
|
|
208
208
|
"postpack": "rm -f oclif.manifest.json npm-shrinkwrap.json",
|
|
209
209
|
"preinstall": "node ./scripts/preinstall.js",
|
|
210
|
-
"postinstall": "node ./scripts/post-install-release-notes.js",
|
|
211
210
|
"prepack": "sf-prepack",
|
|
212
211
|
"prepare": "sf-install && yarn compile && yarn lint",
|
|
213
212
|
"prepublishOnly": "npm shrinkwrap",
|
|
@@ -231,7 +230,7 @@
|
|
|
231
230
|
"@oclif/plugin-command-snapshot": "^3.3.0",
|
|
232
231
|
"@salesforce/dev-config": "^4.0.1",
|
|
233
232
|
"@salesforce/dev-scripts": "^3.1.1",
|
|
234
|
-
"@salesforce/plugin-release-management": "^4.1.
|
|
233
|
+
"@salesforce/plugin-release-management": "^4.1.19",
|
|
235
234
|
"@salesforce/prettier-config": "^0.0.3",
|
|
236
235
|
"@salesforce/ts-sinon": "^1.4.14",
|
|
237
236
|
"@types/debug": "^4.1.8",
|
package/dist/versions.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2022, salesforce.com, inc.
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Licensed under the BSD 3-Clause license.
|
|
6
|
-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.checkNodeVersion = exports.isVersion = void 0;
|
|
10
|
-
const semver = require("semver");
|
|
11
|
-
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
12
|
-
const pjson = require('../package.json');
|
|
13
|
-
/**
|
|
14
|
-
* Determines whether or not a tag string is a semantic version.
|
|
15
|
-
*
|
|
16
|
-
* @param {*} tag The possible version string
|
|
17
|
-
* @returns {boolean} True, if the string is recognized as a semantic version
|
|
18
|
-
*/
|
|
19
|
-
function isVersion(tag) {
|
|
20
|
-
if (!tag) {
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
return !!semver.valid(tag) || false;
|
|
24
|
-
}
|
|
25
|
-
exports.isVersion = isVersion;
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
27
|
-
module.exports.isVersion = isVersion;
|
|
28
|
-
/**
|
|
29
|
-
* Checks the current Node version for compatibility before launching the CLI.
|
|
30
|
-
*/
|
|
31
|
-
function checkNodeVersion(preferThrow = false, currentVersion = process.versions.node, requiredVersion = pjson.engines.node.slice(2)) {
|
|
32
|
-
if (semver.compare(currentVersion, requiredVersion) < 0) {
|
|
33
|
-
const message = `Unsupported Node.js version ${currentVersion}, version ${requiredVersion} or later is required.`;
|
|
34
|
-
if (!preferThrow) {
|
|
35
|
-
// eslint-disable-next-line no-console
|
|
36
|
-
console.error(message);
|
|
37
|
-
process.exit(1);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
throw new Error(message);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.checkNodeVersion = checkNodeVersion;
|
|
45
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
46
|
-
module.exports.checkNodeVersion = checkNodeVersion;
|
|
47
|
-
//# sourceMappingURL=versions.js.map
|