@salesforce/cli 1.15.0 → 1.16.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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.16.0](https://github.com/salesforcecli/cli/compare/v1.15.0...v1.16.0) (2022-02-23)
6
+
5
7
  ## [1.15.0](https://github.com/salesforcecli/cli/compare/v1.14.0...v1.15.0) (2022-02-16)
6
8
 
7
9
  ## [1.14.0](https://github.com/salesforcecli/cli/compare/v1.13.0...v1.14.0) (2022-02-15)
package/README.md CHANGED
@@ -31,7 +31,7 @@ $ npm install -g @salesforce/cli
31
31
  $ sf COMMAND
32
32
  running command...
33
33
  $ sf (--version|-v)
34
- @salesforce/cli/1.15.0 linux-x64 node-v14.19.0
34
+ @salesforce/cli/1.16.0 linux-x64 node-v14.19.0
35
35
  $ sf --help [COMMAND]
36
36
  USAGE
37
37
  $ sf COMMAND
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.hook = void 0;
4
+ /*
5
+ * Copyright (c) 2022, salesforce.com, inc.
6
+ * All rights reserved.
7
+ * Licensed under the BSD 3-Clause license.
8
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
+ */
10
+ const core_1 = require("@oclif/core");
11
+ // eslint-disable-next-line @typescript-eslint/require-await
12
+ const hook = async function (opts) {
13
+ if (opts.config.root.includes('sfdx')) {
14
+ core_1.CliUx.ux.warn('Running "sf update" has no effect because you\'re using a version of sf that was installed by sfdx. To update sf, run "sfdx update".');
15
+ }
16
+ };
17
+ exports.hook = hook;
18
+ //# sourceMappingURL=preupdate.js.map
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "1.15.0",
9
+ "version": "1.16.0",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^1.3.4",
@@ -20529,9 +20529,7 @@
20529
20529
  "license": "MIT"
20530
20530
  },
20531
20531
  "node_modules/npm/node_modules/gauge": {
20532
- "version": "3.0.2",
20533
- "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz",
20534
- "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==",
20532
+ "version": "3.0.1",
20535
20533
  "dev": true,
20536
20534
  "inBundle": true,
20537
20535
  "license": "ISC",
@@ -20542,8 +20540,8 @@
20542
20540
  "has-unicode": "^2.0.1",
20543
20541
  "object-assign": "^4.1.1",
20544
20542
  "signal-exit": "^3.0.0",
20545
- "string-width": "^4.2.3",
20546
- "strip-ansi": "^6.0.1",
20543
+ "string-width": "^1.0.1 || ^2.0.0",
20544
+ "strip-ansi": "^3.0.1 || ^4.0.0",
20547
20545
  "wide-align": "^1.1.2"
20548
20546
  },
20549
20547
  "engines": {
@@ -28815,9 +28813,9 @@
28815
28813
  }
28816
28814
  },
28817
28815
  "node_modules/url-parse": {
28818
- "version": "1.5.3",
28819
- "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.3.tgz",
28820
- "integrity": "sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ==",
28816
+ "version": "1.5.7",
28817
+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.7.tgz",
28818
+ "integrity": "sha512-HxWkieX+STA38EDk7CE9MEryFeHCKzgagxlGvsdS7WBImq9Mk+PGwiT56w82WI3aicwJA8REp42Cxo98c8FZMA==",
28821
28819
  "license": "MIT",
28822
28820
  "dependencies": {
28823
28821
  "querystringify": "^2.1.1",
@@ -45697,9 +45695,7 @@
45697
45695
  "dev": true
45698
45696
  },
45699
45697
  "gauge": {
45700
- "version": "3.0.2",
45701
- "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz",
45702
- "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==",
45698
+ "version": "3.0.1",
45703
45699
  "bundled": true,
45704
45700
  "dev": true,
45705
45701
  "requires": {
@@ -45709,8 +45705,8 @@
45709
45705
  "has-unicode": "^2.0.1",
45710
45706
  "object-assign": "^4.1.1",
45711
45707
  "signal-exit": "^3.0.0",
45712
- "string-width": "^4.2.3",
45713
- "strip-ansi": "^6.0.1",
45708
+ "string-width": "^1.0.1 || ^2.0.0",
45709
+ "strip-ansi": "^3.0.1 || ^4.0.0",
45714
45710
  "wide-align": "^1.1.2"
45715
45711
  }
45716
45712
  },
@@ -51847,9 +51843,9 @@
51847
51843
  }
51848
51844
  },
51849
51845
  "url-parse": {
51850
- "version": "1.5.3",
51851
- "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.3.tgz",
51852
- "integrity": "sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ==",
51846
+ "version": "1.5.7",
51847
+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.7.tgz",
51848
+ "integrity": "sha512-HxWkieX+STA38EDk7CE9MEryFeHCKzgagxlGvsdS7WBImq9Mk+PGwiT56w82WI3aicwJA8REp42Cxo98c8FZMA==",
51853
51849
  "requires": {
51854
51850
  "querystringify": "^2.1.1",
51855
51851
  "requires-port": "^1.0.0"
@@ -1 +1 @@
1
- {"version":"1.15.0","commands":{}}
1
+ {"version":"1.16.0","commands":{}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "1.15.0",
4
+ "version": "1.16.0",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run"
@@ -52,6 +52,9 @@
52
52
  "@oclif/plugin-command-snapshot",
53
53
  "@salesforce/plugin-release-management"
54
54
  ],
55
+ "hooks": {
56
+ "preupdate": "./lib/hooks/preupdate"
57
+ },
55
58
  "update": {
56
59
  "s3": {
57
60
  "bucket": "dfc-data-production",