@salesforce/cli 1.71.0 → 1.73.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.71.0",
2
+ "version": "1.73.0",
3
3
  "commands": {
4
4
  "cmdt:generate:field": {
5
5
  "id": "cmdt:generate:field",
@@ -1177,6 +1177,169 @@
1177
1177
  "flags": {},
1178
1178
  "args": {}
1179
1179
  },
1180
+ "env:display": {
1181
+ "id": "env:display",
1182
+ "summary": "Display details about an environment.",
1183
+ "description": "Specify an environment with either the username you used when you logged into the environment with \"sf login\", or the alias you gave the environment when you created it. Run \"sf env list\" to view all your environments and their aliases.\n\nOutput depends on the type of environment.",
1184
+ "strict": true,
1185
+ "pluginName": "@salesforce/plugin-env",
1186
+ "pluginAlias": "@salesforce/plugin-env",
1187
+ "pluginType": "jit",
1188
+ "aliases": [],
1189
+ "examples": [
1190
+ "<%- config.bin %> <%- command.id %> --target-env myEnv"
1191
+ ],
1192
+ "flags": {
1193
+ "json": {
1194
+ "name": "json",
1195
+ "type": "boolean",
1196
+ "description": "Format output as json.",
1197
+ "helpGroup": "GLOBAL",
1198
+ "allowNo": false
1199
+ },
1200
+ "target-env": {
1201
+ "name": "target-env",
1202
+ "type": "option",
1203
+ "char": "e",
1204
+ "summary": "Environment alias or login user.",
1205
+ "multiple": false
1206
+ }
1207
+ },
1208
+ "args": {}
1209
+ },
1210
+ "env:list": {
1211
+ "id": "env:list",
1212
+ "summary": "List the environments you’ve created or logged into.",
1213
+ "description": "By default, the command displays active environments.\n\nOutput is displayed in multiple tables, one for each environment type.\n\nThe compute environment table shows the alias, information about the connected orgs, the project name, and more.\n\nUse the table manipulation flags, such as --filter and --sort, to change how the data is displayed.\n\nRun \"sf env display\" to view details about a specific environment.",
1214
+ "strict": true,
1215
+ "pluginName": "@salesforce/plugin-env",
1216
+ "pluginAlias": "@salesforce/plugin-env",
1217
+ "pluginType": "jit",
1218
+ "aliases": [],
1219
+ "examples": [
1220
+ "List all active environments:\n<%= config.bin %> <%= command.id %>",
1221
+ "List both active and inactive environments:\n<%= config.bin %> <%= command.id %> --all",
1222
+ "Don't truncate the displayed output and instead wrap text that's wider than your terminal:\n<%= config.bin %> <%= command.id %> --no-truncate",
1223
+ "Display only the table data, not the headers, in comma-separated value (csv) format:\n<%= config.bin %> <%= command.id %> --csv --no-header"
1224
+ ],
1225
+ "flags": {
1226
+ "json": {
1227
+ "name": "json",
1228
+ "type": "boolean",
1229
+ "description": "Format output as json.",
1230
+ "helpGroup": "GLOBAL",
1231
+ "allowNo": false
1232
+ },
1233
+ "all": {
1234
+ "name": "all",
1235
+ "type": "boolean",
1236
+ "char": "a",
1237
+ "summary": "Show all environments, even inactive ones.",
1238
+ "allowNo": false
1239
+ },
1240
+ "columns": {
1241
+ "name": "columns",
1242
+ "type": "option",
1243
+ "summary": "List of columns to display.",
1244
+ "multiple": true
1245
+ },
1246
+ "csv": {
1247
+ "name": "csv",
1248
+ "type": "boolean",
1249
+ "summary": "Output in csv format [alias: --output=csv]",
1250
+ "allowNo": false
1251
+ },
1252
+ "filter": {
1253
+ "name": "filter",
1254
+ "type": "option",
1255
+ "summary": "Filter property by partial string matching.",
1256
+ "multiple": false
1257
+ },
1258
+ "no-header": {
1259
+ "name": "no-header",
1260
+ "type": "boolean",
1261
+ "summary": "Hide table header from output.",
1262
+ "allowNo": false
1263
+ },
1264
+ "no-truncate": {
1265
+ "name": "no-truncate",
1266
+ "type": "boolean",
1267
+ "summary": "Don't truncate output to fit screen.",
1268
+ "allowNo": false
1269
+ },
1270
+ "output": {
1271
+ "name": "output",
1272
+ "type": "option",
1273
+ "summary": "Format in which to display the output.",
1274
+ "multiple": false,
1275
+ "options": [
1276
+ "csv",
1277
+ "json",
1278
+ "yaml"
1279
+ ]
1280
+ },
1281
+ "sort": {
1282
+ "name": "sort",
1283
+ "type": "option",
1284
+ "summary": "Column to sort by (prepend '-' for descending).",
1285
+ "multiple": false
1286
+ }
1287
+ },
1288
+ "args": {}
1289
+ },
1290
+ "env:open": {
1291
+ "id": "env:open",
1292
+ "summary": "Open an environment in a web browser.",
1293
+ "description": "Each of your environments is associated with an instance URL, such as https://login.salesforce.com. To open a specific web page, specify the portion of the URL after \"<URL>/\" with the --path flag.",
1294
+ "strict": true,
1295
+ "pluginName": "@salesforce/plugin-env",
1296
+ "pluginAlias": "@salesforce/plugin-env",
1297
+ "pluginType": "jit",
1298
+ "aliases": [],
1299
+ "examples": [
1300
+ "Open the compute environment with alias \"test-compute\":\n<%= config.bin %> <%= command.id %> --target-env test-compute",
1301
+ "View the URL but don't launch it in a browser:\n<%= config.bin %> <%= command.id %> --target-env test-compute --url-only",
1302
+ "Open the environment in the Google Chrome browser:\n<%= config.bin %> <%= command.id %> --target-env test-compute --url-only --browser chrome"
1303
+ ],
1304
+ "flags": {
1305
+ "json": {
1306
+ "name": "json",
1307
+ "type": "boolean",
1308
+ "description": "Format output as json.",
1309
+ "helpGroup": "GLOBAL",
1310
+ "allowNo": false
1311
+ },
1312
+ "path": {
1313
+ "name": "path",
1314
+ "type": "option",
1315
+ "char": "p",
1316
+ "summary": "Path to append to the end of the login URL.",
1317
+ "multiple": false
1318
+ },
1319
+ "url-only": {
1320
+ "name": "url-only",
1321
+ "type": "boolean",
1322
+ "char": "r",
1323
+ "summary": "Display the URL, but don’t launch it in a browser.",
1324
+ "allowNo": false
1325
+ },
1326
+ "target-env": {
1327
+ "name": "target-env",
1328
+ "type": "option",
1329
+ "char": "e",
1330
+ "summary": "Login user or alias of the environment to open.",
1331
+ "multiple": false
1332
+ },
1333
+ "browser": {
1334
+ "name": "browser",
1335
+ "type": "option",
1336
+ "summary": "Browser in which to open the environment.",
1337
+ "description": "You can specify that the environment open in one of the following browsers: Firefox, Safari, Google Chrome, or Windows Edge. If you don’t specify --browser, the environment opens in your default browser. The exact names of the browser applications differ depending on the operating system you're on; check your documentation for details.",
1338
+ "multiple": false
1339
+ }
1340
+ },
1341
+ "args": {}
1342
+ },
1180
1343
  "deploy:functions": {
1181
1344
  "id": "deploy:functions",
1182
1345
  "summary": "Deploy a Salesforce Function to an org from your local project.",
@@ -5186,7 +5349,7 @@
5186
5349
  "id": "scanner:run",
5187
5350
  "description": "scan a codebase with a selection of rules",
5188
5351
  "strict": true,
5189
- "usage": "<%= command.id %> -t <array> [-f csv|html|json|junit|sarif|table|xml] [-o <string>] [-s <integer> | --json] [--normalize-severity] [-p <array>] [-c <array>] [-r <array>] [-e <array>] [--tsconfig <string>] [--eslintconfig <string>] [--pmdconfig <string>] [--env <string>] [--verbose-violations] [--verbose] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
5352
+ "usage": "<%= command.id %> -t <array> [-c <array>] [-f csv|html|json|junit|sarif|table|xml] [-o <string>] [-s <integer> | --json] [--normalize-severity] [-p <array>] [-r <array>] [-e <array>] [--tsconfig <string>] [--eslintconfig <string>] [--pmdconfig <string>] [--env <string>] [--verbose-violations] [--verbose] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
5190
5353
  "pluginName": "@salesforce/sfdx-scanner",
5191
5354
  "pluginAlias": "@salesforce/sfdx-scanner",
5192
5355
  "pluginType": "jit",
@@ -5230,6 +5393,13 @@
5230
5393
  "description": "emit additional command output to stdout",
5231
5394
  "allowNo": false
5232
5395
  },
5396
+ "category": {
5397
+ "name": "category",
5398
+ "type": "option",
5399
+ "char": "c",
5400
+ "description": "one or more categories of rules to run",
5401
+ "multiple": false
5402
+ },
5233
5403
  "format": {
5234
5404
  "name": "format",
5235
5405
  "type": "option",
@@ -5277,13 +5447,6 @@
5277
5447
  "description": "provide root directory of project",
5278
5448
  "multiple": false
5279
5449
  },
5280
- "category": {
5281
- "name": "category",
5282
- "type": "option",
5283
- "char": "c",
5284
- "description": "one or more categories of rules to run",
5285
- "multiple": false
5286
- },
5287
5450
  "ruleset": {
5288
5451
  "name": "ruleset",
5289
5452
  "type": "option",
@@ -5357,6 +5520,15 @@
5357
5520
  "longDescription": "Emit additional command output to stdout.",
5358
5521
  "allowNo": false
5359
5522
  },
5523
+ "category": {
5524
+ "kind": "array",
5525
+ "char": "c",
5526
+ "description": "one or more categories of rules to run",
5527
+ "longDescription": "One or more categories of rules to run. Specify multiple values as a comma-separated list.",
5528
+ "input": [],
5529
+ "multiple": false,
5530
+ "type": "option"
5531
+ },
5360
5532
  "format": {
5361
5533
  "kind": "enum",
5362
5534
  "helpValue": "(csv|html|json|junit|sarif|table|xml)",
@@ -5415,15 +5587,6 @@
5415
5587
  "multiple": false,
5416
5588
  "type": "option"
5417
5589
  },
5418
- "category": {
5419
- "kind": "array",
5420
- "char": "c",
5421
- "description": "one or more categories of rules to run",
5422
- "longDescription": "One or more categories of rules to run. Specify multiple values as a comma-separated list.",
5423
- "input": [],
5424
- "multiple": false,
5425
- "type": "option"
5426
- },
5427
5590
  "ruleset": {
5428
5591
  "kind": "array",
5429
5592
  "char": "r",
@@ -5901,7 +6064,7 @@
5901
6064
  "id": "scanner:run:dfa",
5902
6065
  "description": "scan codebase with all DFA rules",
5903
6066
  "strict": true,
5904
- "usage": "<%= command.id %> -t <array> [-f csv|html|json|junit|sarif|table|xml] [-o <string>] [-s <integer> | --json] [--normalize-severity] [-p <array>] [--rule-thread-count <integer>] [--rule-thread-timeout <integer>] [--rule-disable-warning-violation] [--sfgejvmargs <string>] [--pathexplimit <integer>] [--verbose] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
6067
+ "usage": "<%= command.id %> -t <array> [-c <array>] [-f csv|html|json|junit|sarif|table|xml] [-o <string>] [-s <integer> | --json] [--normalize-severity] [-p <array>] [--rule-thread-count <integer>] [--rule-thread-timeout <integer>] [--rule-disable-warning-violation] [--sfgejvmargs <string>] [--pathexplimit <integer>] [--verbose] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
5905
6068
  "pluginName": "@salesforce/sfdx-scanner",
5906
6069
  "pluginAlias": "@salesforce/sfdx-scanner",
5907
6070
  "pluginType": "jit",
@@ -5945,6 +6108,13 @@
5945
6108
  "description": "emit additional command output to stdout",
5946
6109
  "allowNo": false
5947
6110
  },
6111
+ "category": {
6112
+ "name": "category",
6113
+ "type": "option",
6114
+ "char": "c",
6115
+ "description": "one or more categories of rules to run",
6116
+ "multiple": false
6117
+ },
5948
6118
  "format": {
5949
6119
  "name": "format",
5950
6120
  "type": "option",
@@ -6027,7 +6197,7 @@
6027
6197
  "pathexplimit": {
6028
6198
  "name": "pathexplimit",
6029
6199
  "type": "option",
6030
- "description": "specify a path expansion upper boundary to limit the complexity of code Graph Engine analyzes. Alternatively, set value using environment variable `SFGE_PATH_EXPANSION_LIMIT`",
6200
+ "description": "specify a path expansion upper boundary to limit the complexity of code that Graph Engine analyzes. Alternatively, set the value using environment variable `SFGE_PATH_EXPANSION_LIMIT`",
6031
6201
  "multiple": false
6032
6202
  }
6033
6203
  },
@@ -6045,6 +6215,15 @@
6045
6215
  "longDescription": "Emit additional command output to stdout.",
6046
6216
  "allowNo": false
6047
6217
  },
6218
+ "category": {
6219
+ "kind": "array",
6220
+ "char": "c",
6221
+ "description": "one or more categories of rules to run",
6222
+ "longDescription": "One or more categories of rules to run. Specify multiple values as a comma-separated list.",
6223
+ "input": [],
6224
+ "multiple": false,
6225
+ "type": "option"
6226
+ },
6048
6227
  "format": {
6049
6228
  "kind": "enum",
6050
6229
  "helpValue": "(csv|html|json|junit|sarif|table|xml)",
@@ -6149,8 +6328,8 @@
6149
6328
  },
6150
6329
  "pathexplimit": {
6151
6330
  "kind": "integer",
6152
- "description": "specify a path expansion upper boundary to limit the complexity of code Graph Engine analyzes. Alternatively, set value using environment variable `SFGE_PATH_EXPANSION_LIMIT`",
6153
- "longDescription": "Specifies a path expansion upper boundary to limit the complexity of code Graph Engine analyzes before failing fast. Set value to -1 to remove any upper boundary. --pathexplimit inherits value from SFGE_PATH_EXPANSION_LIMIT env-var, if set. Its default value is derived from jvm heap space allocation.",
6331
+ "description": "specify a path expansion upper boundary to limit the complexity of code that Graph Engine analyzes. Alternatively, set the value using environment variable `SFGE_PATH_EXPANSION_LIMIT`",
6332
+ "longDescription": "Specifies a path expansion upper boundary to limit the complexity of code Graph Engine analyzes before failing fast. Set the value to -1 to remove any upper boundary. --pathexplimit inherits value from SFGE_PATH_EXPANSION_LIMIT env-var, if set. Its default value is derived from JVM heap space allocation.",
6154
6333
  "env": "SFGE_PATH_EXPANSION_LIMIT",
6155
6334
  "input": [],
6156
6335
  "multiple": false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "1.71.0",
4
+ "version": "1.73.0",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run"
@@ -48,7 +48,6 @@
48
48
  "@salesforce/plugin-auth",
49
49
  "@salesforce/plugin-data",
50
50
  "@salesforce/plugin-deploy-retrieve",
51
- "@salesforce/plugin-env",
52
51
  "@salesforce/plugin-info",
53
52
  "@salesforce/plugin-limits",
54
53
  "@salesforce/plugin-login",
@@ -56,19 +55,21 @@
56
55
  "@salesforce/plugin-schema",
57
56
  "@salesforce/plugin-settings",
58
57
  "@salesforce/plugin-sobject",
58
+ "@salesforce/plugin-source",
59
59
  "@salesforce/plugin-telemetry",
60
60
  "@salesforce/plugin-templates",
61
61
  "@salesforce/plugin-trust",
62
62
  "@salesforce/plugin-user"
63
63
  ],
64
64
  "jitPlugins": {
65
- "@salesforce/plugin-custom-metadata": "2.1.9",
66
- "@salesforce/plugin-community": "2.2.8",
65
+ "@salesforce/plugin-custom-metadata": "2.1.11",
66
+ "@salesforce/plugin-community": "2.2.9",
67
67
  "@salesforce/plugin-dev": "0.7.0",
68
- "@salesforce/plugin-functions": "1.21.6",
69
- "@salesforce/plugin-packaging": "1.16.2",
70
- "@salesforce/plugin-signups": "1.4.8",
71
- "@salesforce/sfdx-scanner": "3.10.0"
68
+ "@salesforce/plugin-env": "2.1.4",
69
+ "@salesforce/plugin-functions": "1.21.7",
70
+ "@salesforce/plugin-packaging": "1.16.3",
71
+ "@salesforce/plugin-signups": "1.4.11",
72
+ "@salesforce/sfdx-scanner": "3.11.0"
72
73
  },
73
74
  "devPlugins": [
74
75
  "@oclif/plugin-command-snapshot",
@@ -110,35 +111,35 @@
110
111
  ]
111
112
  },
112
113
  "dependencies": {
113
- "@oclif/core": "2.7.1",
114
- "@oclif/plugin-autocomplete": "2.1.6",
115
- "@oclif/plugin-commands": "2.2.11",
116
- "@oclif/plugin-help": "5.2.8",
117
- "@oclif/plugin-not-found": "2.3.22",
118
- "@oclif/plugin-plugins": "2.4.3",
119
- "@oclif/plugin-search": "0.0.14",
120
- "@oclif/plugin-update": "3.1.8",
121
- "@oclif/plugin-version": "1.3.1",
122
- "@oclif/plugin-warn-if-update-available": "2.0.32",
123
- "@oclif/plugin-which": "2.2.17",
124
- "@salesforce/core": "3.34.4",
125
- "@salesforce/plugin-apex": "2.2.7",
126
- "@salesforce/plugin-auth": "2.7.10",
127
- "@salesforce/plugin-data": "2.3.8",
128
- "@salesforce/plugin-deploy-retrieve": "1.8.5",
129
- "@salesforce/plugin-env": "2.1.3",
130
- "@salesforce/plugin-info": "2.6.2",
131
- "@salesforce/plugin-limits": "2.3.9",
132
- "@salesforce/plugin-login": "1.2.4",
133
- "@salesforce/plugin-org": "2.6.2",
134
- "@salesforce/plugin-schema": "2.3.4",
135
- "@salesforce/plugin-settings": "1.4.2",
136
- "@salesforce/plugin-sobject": "0.1.9",
114
+ "@oclif/core": "2.8.0",
115
+ "@oclif/plugin-autocomplete": "2.1.8",
116
+ "@oclif/plugin-commands": "2.2.13",
117
+ "@oclif/plugin-help": "5.2.9",
118
+ "@oclif/plugin-not-found": "2.3.23",
119
+ "@oclif/plugin-plugins": "2.4.4",
120
+ "@oclif/plugin-search": "0.0.15",
121
+ "@oclif/plugin-update": "3.1.9",
122
+ "@oclif/plugin-version": "1.3.2",
123
+ "@oclif/plugin-warn-if-update-available": "2.0.33",
124
+ "@oclif/plugin-which": "2.2.18",
125
+ "@salesforce/core": "3.34.6",
126
+ "@salesforce/plugin-apex": "2.2.9",
127
+ "@salesforce/plugin-auth": "2.7.11",
128
+ "@salesforce/plugin-data": "2.3.9",
129
+ "@salesforce/plugin-deploy-retrieve": "1.8.8",
130
+ "@salesforce/plugin-info": "2.6.4",
131
+ "@salesforce/plugin-limits": "2.3.12",
132
+ "@salesforce/plugin-login": "1.2.5",
133
+ "@salesforce/plugin-org": "2.6.5",
134
+ "@salesforce/plugin-schema": "2.3.6",
135
+ "@salesforce/plugin-settings": "1.4.3",
136
+ "@salesforce/plugin-sobject": "0.1.14",
137
+ "@salesforce/plugin-source": "2.9.1",
137
138
  "@salesforce/plugin-telemetry": "2.1.3",
138
- "@salesforce/plugin-templates": "55.4.4",
139
- "@salesforce/plugin-trust": "2.4.5",
140
- "@salesforce/plugin-user": "2.3.5",
141
- "@salesforce/sf-plugins-core": "2.2.5",
139
+ "@salesforce/plugin-templates": "55.4.5",
140
+ "@salesforce/plugin-trust": "2.4.6",
141
+ "@salesforce/plugin-user": "2.3.7",
142
+ "@salesforce/sf-plugins-core": "2.2.7",
142
143
  "debug": "^4.3.4",
143
144
  "semver": "^7.3.8",
144
145
  "tslib": "^2.4.1"
@@ -160,7 +161,6 @@
160
161
  "@salesforce/plugin-auth",
161
162
  "@salesforce/plugin-data",
162
163
  "@salesforce/plugin-deploy-retrieve",
163
- "@salesforce/plugin-env",
164
164
  "@salesforce/plugin-info",
165
165
  "@salesforce/plugin-limits",
166
166
  "@salesforce/plugin-login",
@@ -168,6 +168,7 @@
168
168
  "@salesforce/plugin-schema",
169
169
  "@salesforce/plugin-settings",
170
170
  "@salesforce/plugin-sobject",
171
+ "@salesforce/plugin-source",
171
172
  "@salesforce/plugin-telemetry",
172
173
  "@salesforce/plugin-templates",
173
174
  "@salesforce/plugin-trust",