@salesforce/cli 2.5.6 → 2.5.8
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 +24 -25
- package/oclif.manifest.json +1 -1
- package/package.json +4 -5
- 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,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.8",
|
|
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.8",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "BSD-3-Clause",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oclif/core": "2.11.
|
|
13
|
+
"@oclif/core": "2.11.10",
|
|
14
14
|
"@oclif/plugin-autocomplete": "2.3.6",
|
|
15
15
|
"@oclif/plugin-commands": "2.2.22",
|
|
16
16
|
"@oclif/plugin-help": "5.2.17",
|
|
@@ -38,9 +38,8 @@
|
|
|
38
38
|
"@salesforce/plugin-templates": "55.5.10",
|
|
39
39
|
"@salesforce/plugin-trust": "2.6.1",
|
|
40
40
|
"@salesforce/plugin-user": "2.3.28",
|
|
41
|
-
"@salesforce/sf-plugins-core": "3.1.
|
|
41
|
+
"@salesforce/sf-plugins-core": "3.1.18",
|
|
42
42
|
"debug": "^4.3.4",
|
|
43
|
-
"semver": "^7.5.4",
|
|
44
43
|
"tslib": "^2.4.1"
|
|
45
44
|
},
|
|
46
45
|
"bin": {
|
|
@@ -2983,9 +2982,9 @@
|
|
|
2983
2982
|
}
|
|
2984
2983
|
},
|
|
2985
2984
|
"node_modules/@oclif/core": {
|
|
2986
|
-
"version": "2.11.
|
|
2987
|
-
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.11.
|
|
2988
|
-
"integrity": "sha512
|
|
2985
|
+
"version": "2.11.10",
|
|
2986
|
+
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.11.10.tgz",
|
|
2987
|
+
"integrity": "sha512-/7Umij3OU++6o+z4U+waJ5nP6IvK9KKEVzz+xsla68YoECLQwz43boUKqYizlNMtTfiwNkiYb5QE+OU/q5qEtA==",
|
|
2989
2988
|
"license": "MIT",
|
|
2990
2989
|
"dependencies": {
|
|
2991
2990
|
"@types/cli-progress": "^3.11.0",
|
|
@@ -8193,12 +8192,12 @@
|
|
|
8193
8192
|
}
|
|
8194
8193
|
},
|
|
8195
8194
|
"node_modules/@salesforce/core": {
|
|
8196
|
-
"version": "5.2.
|
|
8197
|
-
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-5.2.
|
|
8198
|
-
"integrity": "sha512-
|
|
8195
|
+
"version": "5.2.1",
|
|
8196
|
+
"resolved": "https://registry.npmjs.org/@salesforce/core/-/core-5.2.1.tgz",
|
|
8197
|
+
"integrity": "sha512-QMx11A0KA/Vl+Ckmz83cw+fiUCMOmsUD8CA3987wAkfJOgxtqyhT4R1R8tj7ad8flQydKUyL3o4UE/2u82tXOw==",
|
|
8199
8198
|
"license": "BSD-3-Clause",
|
|
8200
8199
|
"dependencies": {
|
|
8201
|
-
"@salesforce/kit": "^3.0.
|
|
8200
|
+
"@salesforce/kit": "^3.0.9",
|
|
8202
8201
|
"@salesforce/schemas": "^1.6.0",
|
|
8203
8202
|
"@salesforce/ts-types": "^2.0.5",
|
|
8204
8203
|
"@types/semver": "^7.5.0",
|
|
@@ -9279,15 +9278,15 @@
|
|
|
9279
9278
|
"license": "ISC"
|
|
9280
9279
|
},
|
|
9281
9280
|
"node_modules/@salesforce/sf-plugins-core": {
|
|
9282
|
-
"version": "3.1.
|
|
9283
|
-
"resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-3.1.
|
|
9284
|
-
"integrity": "sha512-
|
|
9281
|
+
"version": "3.1.18",
|
|
9282
|
+
"resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-3.1.18.tgz",
|
|
9283
|
+
"integrity": "sha512-c0uhR9lcufRTz6UmEgZfAItoHVweYrJIllXtEU4Mr5qb3E03rJy0GHHf0TbO5PIH5tP1nxj9ABODoSMZBdewIw==",
|
|
9285
9284
|
"license": "BSD-3-Clause",
|
|
9286
9285
|
"dependencies": {
|
|
9287
|
-
"@oclif/core": "^2.11.
|
|
9288
|
-
"@salesforce/core": "^5.1
|
|
9286
|
+
"@oclif/core": "^2.11.10",
|
|
9287
|
+
"@salesforce/core": "^5.2.1",
|
|
9289
9288
|
"@salesforce/kit": "^3.0.9",
|
|
9290
|
-
"@salesforce/ts-types": "^2.0.
|
|
9289
|
+
"@salesforce/ts-types": "^2.0.7",
|
|
9291
9290
|
"chalk": "^4",
|
|
9292
9291
|
"inquirer": "^8.2.5"
|
|
9293
9292
|
},
|
|
@@ -9501,12 +9500,12 @@
|
|
|
9501
9500
|
}
|
|
9502
9501
|
},
|
|
9503
9502
|
"node_modules/@salesforce/ts-types": {
|
|
9504
|
-
"version": "2.0.
|
|
9505
|
-
"resolved": "https://registry.npmjs.org/@salesforce/ts-types/-/ts-types-2.0.
|
|
9506
|
-
"integrity": "sha512-
|
|
9503
|
+
"version": "2.0.7",
|
|
9504
|
+
"resolved": "https://registry.npmjs.org/@salesforce/ts-types/-/ts-types-2.0.7.tgz",
|
|
9505
|
+
"integrity": "sha512-8csXgstPuy6QXL3JavkIi/f8DOWHBNCvWeszrFu5sbVlcKO3YqOOCE+rDFGPkrZsYv5OywV6H8kEi877bWOz6Q==",
|
|
9507
9506
|
"license": "BSD-3-Clause",
|
|
9508
9507
|
"dependencies": {
|
|
9509
|
-
"tslib": "^2.6.
|
|
9508
|
+
"tslib": "^2.6.2"
|
|
9510
9509
|
},
|
|
9511
9510
|
"engines": {
|
|
9512
9511
|
"node": ">=16.0.0"
|
|
@@ -27558,9 +27557,9 @@
|
|
|
27558
27557
|
}
|
|
27559
27558
|
},
|
|
27560
27559
|
"node_modules/tslib": {
|
|
27561
|
-
"version": "2.6.
|
|
27562
|
-
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.
|
|
27563
|
-
"integrity": "sha512-
|
|
27560
|
+
"version": "2.6.2",
|
|
27561
|
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
|
27562
|
+
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==",
|
|
27564
27563
|
"license": "0BSD"
|
|
27565
27564
|
},
|
|
27566
27565
|
"node_modules/tsutils": {
|
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.8",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
]
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@oclif/core": "2.11.
|
|
122
|
+
"@oclif/core": "2.11.10",
|
|
123
123
|
"@oclif/plugin-autocomplete": "2.3.6",
|
|
124
124
|
"@oclif/plugin-commands": "2.2.22",
|
|
125
125
|
"@oclif/plugin-help": "5.2.17",
|
|
@@ -147,9 +147,8 @@
|
|
|
147
147
|
"@salesforce/plugin-templates": "55.5.10",
|
|
148
148
|
"@salesforce/plugin-trust": "2.6.1",
|
|
149
149
|
"@salesforce/plugin-user": "2.3.28",
|
|
150
|
-
"@salesforce/sf-plugins-core": "3.1.
|
|
150
|
+
"@salesforce/sf-plugins-core": "3.1.18",
|
|
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",
|
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
|