@salesforce/cli 2.0.0-beta.14 → 2.0.0-beta.16
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/npm-shrinkwrap.json +17 -17
- package/oclif.manifest.json +16 -3
- package/package.json +6 -6
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.16",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.0.0-beta.
|
|
9
|
+
"version": "2.0.0-beta.16",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "BSD-3-Clause",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oclif/core": "2.8.
|
|
13
|
+
"@oclif/core": "2.8.5",
|
|
14
14
|
"@oclif/plugin-autocomplete": "2.1.9",
|
|
15
15
|
"@oclif/plugin-commands": "2.2.14",
|
|
16
16
|
"@oclif/plugin-help": "5.2.9",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@salesforce/plugin-info": "2.6.10",
|
|
30
30
|
"@salesforce/plugin-limits": "2.3.13",
|
|
31
31
|
"@salesforce/plugin-login": "1.2.8",
|
|
32
|
-
"@salesforce/plugin-org": "2.
|
|
32
|
+
"@salesforce/plugin-org": "2.8.1",
|
|
33
33
|
"@salesforce/plugin-schema": "2.3.10",
|
|
34
34
|
"@salesforce/plugin-settings": "1.4.6",
|
|
35
35
|
"@salesforce/plugin-sobject": "0.1.18",
|
|
@@ -3478,9 +3478,9 @@
|
|
|
3478
3478
|
}
|
|
3479
3479
|
},
|
|
3480
3480
|
"node_modules/@oclif/core": {
|
|
3481
|
-
"version": "2.8.
|
|
3482
|
-
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.8.
|
|
3483
|
-
"integrity": "sha512-
|
|
3481
|
+
"version": "2.8.5",
|
|
3482
|
+
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-2.8.5.tgz",
|
|
3483
|
+
"integrity": "sha512-316DLfrHQDYmWDriI4Woxk9y1wVUrPN1sZdbQLHdOdlTA9v/twe7TdHpWOriEypfl6C85NWEJKc1870yuLtjrQ==",
|
|
3484
3484
|
"license": "MIT",
|
|
3485
3485
|
"dependencies": {
|
|
3486
3486
|
"@types/cli-progress": "^3.11.0",
|
|
@@ -9601,16 +9601,16 @@
|
|
|
9601
9601
|
}
|
|
9602
9602
|
},
|
|
9603
9603
|
"node_modules/@salesforce/plugin-org": {
|
|
9604
|
-
"version": "2.
|
|
9605
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-2.
|
|
9606
|
-
"integrity": "sha512-
|
|
9604
|
+
"version": "2.8.1",
|
|
9605
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-2.8.1.tgz",
|
|
9606
|
+
"integrity": "sha512-071WrX+JQjei4q9sqQYoRwTs9r/5uLzWlZfQXwZW+EKbNoCu4koQT7WvWC3YCk7YmIxIezhwYhUiXxFKMGG/dw==",
|
|
9607
9607
|
"license": "BSD-3-Clause",
|
|
9608
9608
|
"dependencies": {
|
|
9609
|
-
"@oclif/core": "^2.8.
|
|
9610
|
-
"@salesforce/core": "^3.
|
|
9609
|
+
"@oclif/core": "^2.8.4",
|
|
9610
|
+
"@salesforce/core": "^3.36.0",
|
|
9611
9611
|
"@salesforce/kit": "^1.9.2",
|
|
9612
|
-
"@salesforce/sf-plugins-core": "^2.
|
|
9613
|
-
"@salesforce/source-deploy-retrieve": "^8.0.
|
|
9612
|
+
"@salesforce/sf-plugins-core": "^2.4.0",
|
|
9613
|
+
"@salesforce/source-deploy-retrieve": "^8.0.5",
|
|
9614
9614
|
"open": "^8.4.2",
|
|
9615
9615
|
"tslib": "^2"
|
|
9616
9616
|
},
|
|
@@ -9994,9 +9994,9 @@
|
|
|
9994
9994
|
}
|
|
9995
9995
|
},
|
|
9996
9996
|
"node_modules/@salesforce/source-deploy-retrieve": {
|
|
9997
|
-
"version": "8.0.
|
|
9998
|
-
"resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-8.0.
|
|
9999
|
-
"integrity": "sha512-
|
|
9997
|
+
"version": "8.0.5",
|
|
9998
|
+
"resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-8.0.5.tgz",
|
|
9999
|
+
"integrity": "sha512-DPke2fjvLWJl2wj5wjBU0fF+rKqQeJ4CN0BhsPvnluzkvXkRZQWwfWi+c5sH7m75IO97G4dTrPiN25pG2i6TXQ==",
|
|
10000
10000
|
"license": "BSD-3-Clause",
|
|
10001
10001
|
"dependencies": {
|
|
10002
10002
|
"@salesforce/core": "^3.34.8",
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.0.0-beta.
|
|
2
|
+
"version": "2.0.0-beta.16",
|
|
3
3
|
"commands": {
|
|
4
4
|
"cmdt:generate:field": {
|
|
5
5
|
"id": "cmdt:generate:field",
|
|
@@ -6272,13 +6272,13 @@
|
|
|
6272
6272
|
"id": "scanner:run:dfa",
|
|
6273
6273
|
"description": "scan codebase with all DFA rules",
|
|
6274
6274
|
"strict": true,
|
|
6275
|
-
"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]",
|
|
6275
|
+
"usage": "<%= command.id %> -t <array> [-c <array>] [-f csv|html|json|junit|sarif|table|xml] [-o <string>] [-s <integer> | --json] [--normalize-severity] [-p <array>] [--with-pilot] [--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]",
|
|
6276
6276
|
"pluginName": "@salesforce/sfdx-scanner",
|
|
6277
6277
|
"pluginAlias": "@salesforce/sfdx-scanner",
|
|
6278
6278
|
"pluginType": "jit",
|
|
6279
6279
|
"aliases": [],
|
|
6280
6280
|
"examples": [
|
|
6281
|
-
"The paths specified for --projectdir must contain all files specified through --target cumulatively.\n\t$ sfdx scanner:run:dfa --target \"./myproject/main/default/classes/*.cls\" --projectdir \"./myproject/\"\n\t$ sfdx scanner:run:dfa --target \"./**/*.cls\" --projectdir \"./\"\n\t$ sfdx scanner:run:dfa --target \"./dir1/file1.cls,./dir2/file2.cls\" --projectdir \"./dir1/,./dir2/\"\nThis example fails because the set of files included in --target is larger than that contained in --projectdir:\n\t$ sfdx scanner:run:dfa --target \"./**/*.cls\" --projectdir \"./myproject/\"\nGlobs must be wrapped in quotes, as in these Windows and Unix examples, which evaluate rules against all .cls files in the current directory and subdirectories except for IgnoreMe.cls:\nUnix example:\n\t$ sfdx scanner:run:dfa --target \"./**/*.cls,!./**/IgnoreMe.cls\" ...\nWindows example:\n\t$ sfdx scanner:run:dfa --target \".\\**\\*.cls,!.\\**\\IgnoreMe.cls\" ...\nYou can target individual methods within a file with a suffix hash (#) on the file's path, and with a semi-colon-delimited list of method names. This syntax is incompatible with globs and directories. This example evaluates rules against all methods named Method1 or Method2 in File1.cls, and all methods named Method3 in File2.cls:\n\t$ sfdx scanner:run:dfa --target \"./File1.cls#Method1;Method2,./File2.cls#Method3\" ...\nUse --normalize-severity to output a normalized severity across all engines, in addition to the engine-specific severity. Normalized severity is 1 (high), 2 (moderate), and 3 (low):\n\t$ sfdx scanner:run:dfa --target \"./some-project/\" --projectdir \"./some-project/\" --format csv --normalize-severity\nUse --severity-threshold to throw a non-zero exit code when rule violations of a specific normalized severity or greater are found. If there are any rule violations with a severity of 2 or 1, the exit code is equal to the severity of the most severe violation:\n\t$ sfdx scanner:run:dfa --target \"./some-project/\" --projectdir \"./some-project/\" --severity-threshold 2\nuse --rule-thread-count to allow more (or fewer) entrypoints to be evaluated concurrently:\n\t$ sfdx scanner:run:dfa --rule-thread-count 6 ...\nUse --rule-thread-timeout to increase or decrease the maximum runtime for a single entrypoint evaluation. This increases the timeout from the 15-minute default to 150 minutes:\n\t$ sfdx scanner:run:dfa --rule-thread-timeout 9000000 ...\nUse --sfgejvmargs to pass Java Virtual Machine args to override system defaults while executing Salesforce Graph Engine's rules.\nThe example overrides the system's default heap space allocation to 8 GB and decreases chances of encountering OutOfMemory error.\n\t$ sfdx scanner:run:dfa --sfgejvmargs \"-Xmx8g\" ...\n"
|
|
6281
|
+
"The paths specified for --projectdir must contain all files specified through --target cumulatively.\n\t$ sfdx scanner:run:dfa --target \"./myproject/main/default/classes/*.cls\" --projectdir \"./myproject/\"\n\t$ sfdx scanner:run:dfa --target \"./**/*.cls\" --projectdir \"./\"\n\t$ sfdx scanner:run:dfa --target \"./dir1/file1.cls,./dir2/file2.cls\" --projectdir \"./dir1/,./dir2/\"\nThis example fails because the set of files included in --target is larger than that contained in --projectdir:\n\t$ sfdx scanner:run:dfa --target \"./**/*.cls\" --projectdir \"./myproject/\"\nGlobs must be wrapped in quotes, as in these Windows and Unix examples, which evaluate rules against all .cls files in the current directory and subdirectories except for IgnoreMe.cls:\nUnix example:\n\t$ sfdx scanner:run:dfa --target \"./**/*.cls,!./**/IgnoreMe.cls\" ...\nWindows example:\n\t$ sfdx scanner:run:dfa --target \".\\**\\*.cls,!.\\**\\IgnoreMe.cls\" ...\nYou can target individual methods within a file with a suffix hash (#) on the file's path, and with a semi-colon-delimited list of method names. This syntax is incompatible with globs and directories. This example evaluates rules against all methods named Method1 or Method2 in File1.cls, and all methods named Method3 in File2.cls:\n\t$ sfdx scanner:run:dfa --target \"./File1.cls#Method1;Method2,./File2.cls#Method3\" ...\nUse --normalize-severity to output a normalized severity across all engines, in addition to the engine-specific severity. Normalized severity is 1 (high), 2 (moderate), and 3 (low):\n\t$ sfdx scanner:run:dfa --target \"./some-project/\" --projectdir \"./some-project/\" --format csv --normalize-severity\nUse --severity-threshold to throw a non-zero exit code when rule violations of a specific normalized severity or greater are found. If there are any rule violations with a severity of 2 or 1, the exit code is equal to the severity of the most severe violation:\n\t$ sfdx scanner:run:dfa --target \"./some-project/\" --projectdir \"./some-project/\" --severity-threshold 2\nuse --rule-thread-count to allow more (or fewer) entrypoints to be evaluated concurrently:\n\t$ sfdx scanner:run:dfa --rule-thread-count 6 ...\nUse --rule-thread-timeout to increase or decrease the maximum runtime for a single entrypoint evaluation. This increases the timeout from the 15-minute default to 150 minutes:\n\t$ sfdx scanner:run:dfa --rule-thread-timeout 9000000 ...\nUse --sfgejvmargs to pass Java Virtual Machine args to override system defaults while executing Salesforce Graph Engine's rules.\nThe example overrides the system's default heap space allocation to 8 GB and decreases chances of encountering OutOfMemory error.\n\t$ sfdx scanner:run:dfa --sfgejvmargs \"-Xmx8g\" ...\nUse --with-pilot to allow execution of pilot rules:\nThis example allows pilot rules in the \"Performance\" category to execute.\n\t$ sfdx scanner:run:dfa --category 'Performance' --with-pilot ...\n"
|
|
6282
6282
|
],
|
|
6283
6283
|
"flags": {
|
|
6284
6284
|
"json": {
|
|
@@ -6370,6 +6370,12 @@
|
|
|
6370
6370
|
"description": "provide root directory of project",
|
|
6371
6371
|
"multiple": false
|
|
6372
6372
|
},
|
|
6373
|
+
"with-pilot": {
|
|
6374
|
+
"name": "with-pilot",
|
|
6375
|
+
"type": "boolean",
|
|
6376
|
+
"description": "allow pilot rules to execute",
|
|
6377
|
+
"allowNo": false
|
|
6378
|
+
},
|
|
6373
6379
|
"target": {
|
|
6374
6380
|
"name": "target",
|
|
6375
6381
|
"type": "option",
|
|
@@ -6490,6 +6496,13 @@
|
|
|
6490
6496
|
"multiple": false,
|
|
6491
6497
|
"type": "option"
|
|
6492
6498
|
},
|
|
6499
|
+
"with-pilot": {
|
|
6500
|
+
"kind": "boolean",
|
|
6501
|
+
"description": "allow pilot rules to execute",
|
|
6502
|
+
"longDescription": "Allows pilot rules to execute.",
|
|
6503
|
+
"allowNo": false,
|
|
6504
|
+
"type": "boolean"
|
|
6505
|
+
},
|
|
6493
6506
|
"target": {
|
|
6494
6507
|
"kind": "array",
|
|
6495
6508
|
"char": "t",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.16",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"@salesforce/plugin-dev": "0.7.4",
|
|
74
74
|
"@salesforce/plugin-env": "2.1.8",
|
|
75
75
|
"@salesforce/plugin-functions": "1.21.8",
|
|
76
|
-
"@salesforce/plugin-packaging": "1.16.
|
|
76
|
+
"@salesforce/plugin-packaging": "1.16.11",
|
|
77
77
|
"@salesforce/plugin-signups": "1.4.14",
|
|
78
78
|
"@salesforce/sfdx-plugin-lwc-test": "1.0.2",
|
|
79
|
-
"@salesforce/sfdx-scanner": "3.
|
|
79
|
+
"@salesforce/sfdx-scanner": "3.12.0"
|
|
80
80
|
},
|
|
81
81
|
"devPlugins": [
|
|
82
82
|
"@oclif/plugin-command-snapshot",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
]
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@oclif/core": "2.8.
|
|
121
|
+
"@oclif/core": "2.8.5",
|
|
122
122
|
"@oclif/plugin-autocomplete": "2.1.9",
|
|
123
123
|
"@oclif/plugin-commands": "2.2.14",
|
|
124
124
|
"@oclif/plugin-help": "5.2.9",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"@salesforce/plugin-info": "2.6.10",
|
|
138
138
|
"@salesforce/plugin-limits": "2.3.13",
|
|
139
139
|
"@salesforce/plugin-login": "1.2.8",
|
|
140
|
-
"@salesforce/plugin-org": "2.
|
|
140
|
+
"@salesforce/plugin-org": "2.8.1",
|
|
141
141
|
"@salesforce/plugin-schema": "2.3.10",
|
|
142
142
|
"@salesforce/plugin-settings": "1.4.6",
|
|
143
143
|
"@salesforce/plugin-sobject": "0.1.18",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"resolutions": {
|
|
186
186
|
"@salesforce/schemas": "1.5.1",
|
|
187
187
|
"@salesforce/templates": "57.1.1",
|
|
188
|
-
"@oclif/core": "2.8.
|
|
188
|
+
"@oclif/core": "2.8.5"
|
|
189
189
|
},
|
|
190
190
|
"repository": "salesforcecli/cli",
|
|
191
191
|
"scripts": {
|