@salesforce/cli 2.9.0 → 2.9.2

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.
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2023, 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
+ const core_1 = require("@oclif/core");
10
+ // eslint-disable-next-line @typescript-eslint/require-await
11
+ const hook = async function ({ Command, config }) {
12
+ if (process.argv.includes('--json'))
13
+ return;
14
+ const { plugin } = Command;
15
+ if (!plugin)
16
+ return;
17
+ if (plugin.type === 'link')
18
+ return;
19
+ const jitPlugins = config.pjson.oclif.jitPlugins ?? {};
20
+ const deps = config.pjson.dependencies ?? {};
21
+ const specifiedVersion = jitPlugins[plugin.name] ?? deps[plugin.name];
22
+ if (!specifiedVersion)
23
+ return;
24
+ if (plugin.version !== specifiedVersion) {
25
+ core_1.ux.warn(`Plugin ${plugin.name} (${plugin.version}) differs from the version specified by ${config.bin} (${specifiedVersion})`);
26
+ }
27
+ };
28
+ exports.default = hook;
29
+ //# sourceMappingURL=prerun.js.map
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.9.0",
3
+ "version": "2.9.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "2.9.0",
9
+ "version": "2.9.2",
10
10
  "hasInstallScript": true,
11
11
  "license": "BSD-3-Clause",
12
12
  "dependencies": {
@@ -15,7 +15,7 @@
15
15
  "@oclif/plugin-commands": "2.2.25",
16
16
  "@oclif/plugin-help": "5.2.19",
17
17
  "@oclif/plugin-not-found": "2.4.1",
18
- "@oclif/plugin-plugins": "3.4.2",
18
+ "@oclif/plugin-plugins": "3.5.0",
19
19
  "@oclif/plugin-search": "0.0.22",
20
20
  "@oclif/plugin-update": "3.2.3",
21
21
  "@oclif/plugin-version": "1.3.10",
@@ -25,11 +25,11 @@
25
25
  "@salesforce/plugin-apex": "2.3.14",
26
26
  "@salesforce/plugin-auth": "2.8.16",
27
27
  "@salesforce/plugin-data": "2.5.8",
28
- "@salesforce/plugin-deploy-retrieve": "1.17.8",
28
+ "@salesforce/plugin-deploy-retrieve": "1.17.9",
29
29
  "@salesforce/plugin-info": "2.6.40",
30
30
  "@salesforce/plugin-limits": "2.3.33",
31
31
  "@salesforce/plugin-login": "1.2.29",
32
- "@salesforce/plugin-marketplace": "0.1.3",
32
+ "@salesforce/plugin-marketplace": "0.2.0",
33
33
  "@salesforce/plugin-org": "2.10.6",
34
34
  "@salesforce/plugin-schema": "2.3.25",
35
35
  "@salesforce/plugin-settings": "1.4.28",
@@ -2563,9 +2563,9 @@
2563
2563
  }
2564
2564
  },
2565
2565
  "node_modules/@oclif/plugin-plugins": {
2566
- "version": "3.4.2",
2567
- "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-3.4.2.tgz",
2568
- "integrity": "sha512-0goaZY8XOk6gH/c5nZ4k3DYnNdY0ZHCqe2bvSaT7rH2UCgeo/sS70gGYqbnn+TVIVxN6mIL9ogzsLtpQy02U3A==",
2566
+ "version": "3.5.0",
2567
+ "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-3.5.0.tgz",
2568
+ "integrity": "sha512-eE1P5jaFLLAeJvs2ilnGIHbxlhr7Z+3qgn/2uQoAGyozbSltAVkRRQ0LGPrGsqiwdgpgSpR2fPcvaskFanKfyA==",
2569
2569
  "license": "MIT",
2570
2570
  "dependencies": {
2571
2571
  "@oclif/core": "^2.11.10",
@@ -3696,16 +3696,16 @@
3696
3696
  }
3697
3697
  },
3698
3698
  "node_modules/@salesforce/plugin-deploy-retrieve": {
3699
- "version": "1.17.8",
3700
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-1.17.8.tgz",
3701
- "integrity": "sha512-7EILp+1Xj27Ha3J1IEIOqdP9T0E+fwH07wSxQhifZN6pnUMth0G3V5/DnKUfJLYcZY3a4mTgPXxdNMYGVJZZCQ==",
3699
+ "version": "1.17.9",
3700
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-1.17.9.tgz",
3701
+ "integrity": "sha512-vpeP0HPh7uQQoQj9sqcsEUt8Qj8azZ1k4ZEVm5BGEe+0mm2SKHOIMicuYFliEgSygiipdrgSBNWZovqbwcTy7A==",
3702
3702
  "license": "BSD-3-Clause",
3703
3703
  "dependencies": {
3704
- "@oclif/core": "^2.11.7",
3704
+ "@oclif/core": "^2.15.0",
3705
3705
  "@salesforce/apex-node": "^2.1.0",
3706
3706
  "@salesforce/core": "^5.2.5",
3707
3707
  "@salesforce/kit": "^3.0.9",
3708
- "@salesforce/sf-plugins-core": "^3.1.14",
3708
+ "@salesforce/sf-plugins-core": "^3.1.20",
3709
3709
  "@salesforce/source-deploy-retrieve": "^9.7.2",
3710
3710
  "@salesforce/source-tracking": "^4.2.10",
3711
3711
  "chalk": "^4.1.2",
@@ -3773,9 +3773,9 @@
3773
3773
  }
3774
3774
  },
3775
3775
  "node_modules/@salesforce/plugin-marketplace": {
3776
- "version": "0.1.3",
3777
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-marketplace/-/plugin-marketplace-0.1.3.tgz",
3778
- "integrity": "sha512-z196F42jObSln7aN2mAuPZ7ecrdBhR/ie0Fo6UTy3Vtck/Nx37jJtW/mx2QWhFIfSGbcAOEpo45Q30wYv8MwHg==",
3776
+ "version": "0.2.0",
3777
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-marketplace/-/plugin-marketplace-0.2.0.tgz",
3778
+ "integrity": "sha512-CpkqkBWs0c5ltpPHNyIS/mwb41c4fHhmkxzcNppacTevKgu0KCzya24BCsK1xGVR0fHIMU+TySZBRGpTySDTrw==",
3779
3779
  "license": "BSD-3-Clause",
3780
3780
  "dependencies": {
3781
3781
  "@oclif/core": "^2.15.0",
@@ -4168,9 +4168,9 @@
4168
4168
  }
4169
4169
  },
4170
4170
  "node_modules/@salesforce/source-deploy-retrieve": {
4171
- "version": "9.7.9",
4172
- "resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-9.7.9.tgz",
4173
- "integrity": "sha512-lp166IZX3Me8I2YUIZS4uAgKLnbGp1MdbAUlpUL5VhAQBh7dNuPcjDFSueTEVG/4vfGPkM4s+65WMi2sJfx8pg==",
4171
+ "version": "9.7.10",
4172
+ "resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-9.7.10.tgz",
4173
+ "integrity": "sha512-QbMrFq0V3YpHuI0Ad5kmltfs/ocMfms/NUpHr+pWZ5dbeXg7BcQWo3MgrfonzG5AWfSQ9YQs4AjJdQB0CeK+lw==",
4174
4174
  "license": "BSD-3-Clause",
4175
4175
  "dependencies": {
4176
4176
  "@salesforce/core": "^5.2.1",
@@ -5599,9 +5599,9 @@
5599
5599
  }
5600
5600
  },
5601
5601
  "node_modules/async-listener/node_modules/semver": {
5602
- "version": "5.7.1",
5603
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
5604
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
5602
+ "version": "5.7.2",
5603
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
5604
+ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
5605
5605
  "license": "ISC",
5606
5606
  "bin": {
5607
5607
  "semver": "bin/semver"
@@ -6744,9 +6744,9 @@
6744
6744
  }
6745
6745
  },
6746
6746
  "node_modules/cls-hooked/node_modules/semver": {
6747
- "version": "5.7.1",
6748
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
6749
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
6747
+ "version": "5.7.2",
6748
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
6749
+ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
6750
6750
  "license": "ISC",
6751
6751
  "bin": {
6752
6752
  "semver": "bin/semver"
@@ -8590,9 +8590,9 @@
8590
8590
  }
8591
8591
  },
8592
8592
  "node_modules/eslint-config-oclif-typescript/node_modules/semver": {
8593
- "version": "5.7.1",
8594
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
8595
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
8593
+ "version": "5.7.2",
8594
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
8595
+ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
8596
8596
  "dev": true,
8597
8597
  "license": "ISC",
8598
8598
  "bin": {
@@ -18646,9 +18646,9 @@
18646
18646
  }
18647
18647
  },
18648
18648
  "node_modules/password-prompt/node_modules/semver": {
18649
- "version": "5.7.1",
18650
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
18651
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
18649
+ "version": "5.7.2",
18650
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
18651
+ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
18652
18652
  "license": "ISC",
18653
18653
  "bin": {
18654
18654
  "semver": "bin/semver"
@@ -19677,9 +19677,9 @@
19677
19677
  }
19678
19678
  },
19679
19679
  "node_modules/qqjs/node_modules/semver": {
19680
- "version": "5.7.1",
19681
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
19682
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
19680
+ "version": "5.7.2",
19681
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
19682
+ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
19683
19683
  "dev": true,
19684
19684
  "license": "ISC",
19685
19685
  "bin": {
@@ -20062,9 +20062,9 @@
20062
20062
  }
20063
20063
  },
20064
20064
  "node_modules/read-pkg-up/node_modules/semver": {
20065
- "version": "5.7.1",
20066
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
20067
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
20065
+ "version": "5.7.2",
20066
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
20067
+ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
20068
20068
  "license": "ISC",
20069
20069
  "bin": {
20070
20070
  "semver": "bin/semver"
@@ -20123,9 +20123,9 @@
20123
20123
  }
20124
20124
  },
20125
20125
  "node_modules/read-pkg/node_modules/semver": {
20126
- "version": "5.7.1",
20127
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
20128
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
20126
+ "version": "5.7.2",
20127
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
20128
+ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
20129
20129
  "dev": true,
20130
20130
  "license": "ISC",
20131
20131
  "bin": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.9.0",
2
+ "version": "2.9.2",
3
3
  "commands": {
4
4
  "cmdt:generate:field": {
5
5
  "id": "cmdt:generate:field",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.9.0",
4
+ "version": "2.9.2",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run",
@@ -70,12 +70,12 @@
70
70
  "@salesforce/plugin-user"
71
71
  ],
72
72
  "jitPlugins": {
73
- "@salesforce/plugin-custom-metadata": "2.2.0",
73
+ "@salesforce/plugin-custom-metadata": "2.2.1",
74
74
  "@salesforce/plugin-community": "2.4.0",
75
75
  "@salesforce/plugin-dev": "1.1.10",
76
76
  "@salesforce/plugin-devops-center": "1.1.4",
77
77
  "@salesforce/plugin-env": "2.1.25",
78
- "@salesforce/plugin-functions": "1.21.11",
78
+ "@salesforce/plugin-functions": "1.21.12",
79
79
  "@salesforce/plugin-packaging": "1.24.0",
80
80
  "@salesforce/plugin-signups": "1.4.34",
81
81
  "@salesforce/sfdx-plugin-lwc-test": "1.0.2",
@@ -88,7 +88,8 @@
88
88
  "hooks": {
89
89
  "command_incomplete": "./dist/hooks/incomplete",
90
90
  "plugins:preinstall": "./dist/hooks/pluginsPreinstall.js",
91
- "update": "./dist/hooks/display-release-notes.js"
91
+ "update": "./dist/hooks/display-release-notes.js",
92
+ "prerun": "./dist/hooks/prerun"
92
93
  },
93
94
  "update": {
94
95
  "s3": {
@@ -125,7 +126,7 @@
125
126
  "@oclif/plugin-commands": "2.2.25",
126
127
  "@oclif/plugin-help": "5.2.19",
127
128
  "@oclif/plugin-not-found": "2.4.1",
128
- "@oclif/plugin-plugins": "3.4.2",
129
+ "@oclif/plugin-plugins": "3.5.0",
129
130
  "@oclif/plugin-search": "0.0.22",
130
131
  "@oclif/plugin-update": "3.2.3",
131
132
  "@oclif/plugin-version": "1.3.10",
@@ -135,11 +136,11 @@
135
136
  "@salesforce/plugin-apex": "2.3.14",
136
137
  "@salesforce/plugin-auth": "2.8.16",
137
138
  "@salesforce/plugin-data": "2.5.8",
138
- "@salesforce/plugin-deploy-retrieve": "1.17.8",
139
+ "@salesforce/plugin-deploy-retrieve": "1.17.9",
139
140
  "@salesforce/plugin-info": "2.6.40",
140
141
  "@salesforce/plugin-limits": "2.3.33",
141
142
  "@salesforce/plugin-login": "1.2.29",
142
- "@salesforce/plugin-marketplace": "0.1.3",
143
+ "@salesforce/plugin-marketplace": "0.2.0",
143
144
  "@salesforce/plugin-org": "2.10.6",
144
145
  "@salesforce/plugin-schema": "2.3.25",
145
146
  "@salesforce/plugin-settings": "1.4.28",
@@ -187,7 +188,7 @@
187
188
  "resolutions": {
188
189
  "@salesforce/schemas": "1.6.0",
189
190
  "@salesforce/templates": "59.0.1",
190
- "@salesforce/source-deploy-retrieve": "9.7.9",
191
+ "@salesforce/source-deploy-retrieve": "9.7.10",
191
192
  "@salesforce/source-tracking": "4.2.12"
192
193
  },
193
194
  "repository": "salesforcecli/cli",