@salesforce/core 3.7.1 → 3.7.5
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 +96 -2
- package/LICENSE.txt +1 -1
- package/lib/config/config.js +15 -15
- package/lib/config/configAggregator.js +4 -4
- package/lib/config/configFile.js +9 -9
- package/lib/config/configStore.js +12 -13
- package/lib/config/envVars.d.ts +20 -5
- package/lib/config/envVars.js +75 -10
- package/lib/config/keychainConfig.js +1 -1
- package/lib/crypto/crypto.js +6 -6
- package/lib/crypto/keyChainImpl.js +6 -5
- package/lib/crypto/secureBuffer.js +1 -1
- package/lib/deviceOauthService.js +5 -4
- package/lib/exported.d.ts +2 -2
- package/lib/exported.js +6 -2
- package/lib/globalInfo/globalInfoConfig.js +1 -1
- package/lib/globalInfo/sfdxDataHandler.js +11 -11
- package/lib/lifecycleEvents.d.ts +38 -1
- package/lib/lifecycleEvents.js +73 -2
- package/lib/logger.js +13 -12
- package/lib/messages.js +10 -9
- package/lib/org/authInfo.d.ts +2 -6
- package/lib/org/authInfo.js +44 -41
- package/lib/org/connection.js +14 -11
- package/lib/org/org.d.ts +121 -9
- package/lib/org/org.js +373 -36
- package/lib/org/orgConfigProperties.js +1 -1
- package/lib/org/permissionSetAssignment.js +3 -3
- package/lib/org/user.js +20 -20
- package/lib/schema/printer.js +18 -18
- package/lib/schema/validator.js +8 -8
- package/lib/sfdxError.d.ts +1 -1
- package/lib/sfdxError.js +3 -2
- package/lib/sfdxProject.js +15 -13
- package/lib/status/myDomainResolver.js +3 -3
- package/lib/status/pollingClient.d.ts +0 -1
- package/lib/status/pollingClient.js +2 -2
- package/lib/status/streamingClient.d.ts +2 -3
- package/lib/status/streamingClient.js +16 -22
- package/lib/status/types.d.ts +89 -0
- package/lib/status/types.js +18 -0
- package/lib/testSetup.d.ts +3 -2
- package/lib/testSetup.js +25 -25
- package/lib/util/cache.js +3 -3
- package/lib/util/fs.js +12 -12
- package/lib/util/sfdc.js +3 -3
- package/lib/util/sfdcUrl.d.ts +2 -1
- package/lib/util/sfdcUrl.js +16 -8
- package/lib/webOAuthServer.js +7 -7
- package/messages/core.json +3 -3
- package/messages/core.md +1 -1
- package/messages/envVars.md +53 -13
- package/messages/org.md +36 -0
- package/package.json +39 -46
package/package.json
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.5",
|
|
4
4
|
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
|
5
5
|
"main": "lib/exported",
|
|
6
|
+
"types": "lib/exported.d.ts",
|
|
6
7
|
"license": "BSD-3-Clause",
|
|
7
8
|
"scripts": {
|
|
8
9
|
"build": "sf-build",
|
|
9
10
|
"ci-docs": "yarn sf-ci-docs",
|
|
10
11
|
"clean": "sf-clean",
|
|
11
|
-
"clean-all": "-clean all",
|
|
12
|
+
"clean-all": "sf-clean all",
|
|
12
13
|
"compile": "sf-compile",
|
|
13
14
|
"docs": "sf-docs",
|
|
14
15
|
"format": "sf-format",
|
|
15
16
|
"lint": "sf-lint",
|
|
16
17
|
"lint-fix": "yarn sf-lint --fix",
|
|
17
18
|
"postcompile": "tsc -p test && tsc -p typedocExamples",
|
|
18
|
-
"prepack": "sf-
|
|
19
|
+
"prepack": "sf-prepack",
|
|
20
|
+
"prepare": "sf-install",
|
|
19
21
|
"pretest": "sf-compile-test",
|
|
20
22
|
"test": "sf-test"
|
|
21
23
|
},
|
|
@@ -31,67 +33,58 @@
|
|
|
31
33
|
"messages",
|
|
32
34
|
"!lib/**/*.map"
|
|
33
35
|
],
|
|
34
|
-
"husky": {
|
|
35
|
-
"hooks": {
|
|
36
|
-
"commit-msg": "sf-husky-commit-msg",
|
|
37
|
-
"pre-commit": "sf-husky-pre-commit",
|
|
38
|
-
"pre-push": "sf-husky-pre-push"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
36
|
"dependencies": {
|
|
37
|
+
"@oclif/core": "^1.3.1",
|
|
42
38
|
"@salesforce/bunyan": "^2.0.0",
|
|
43
|
-
"@salesforce/kit": "^1.5.
|
|
44
|
-
"@salesforce/schemas": "^1.0
|
|
39
|
+
"@salesforce/kit": "^1.5.28",
|
|
40
|
+
"@salesforce/schemas": "^1.1.0",
|
|
45
41
|
"@salesforce/ts-types": "^1.5.20",
|
|
46
42
|
"@types/graceful-fs": "^4.1.5",
|
|
47
|
-
"@types/
|
|
48
|
-
"@types/
|
|
43
|
+
"@types/mkdirp": "^1.0.2",
|
|
44
|
+
"@types/semver": "^7.3.9",
|
|
49
45
|
"change-case": "^4.1.2",
|
|
50
|
-
"debug": "^3.
|
|
46
|
+
"debug": "^3.2.7",
|
|
47
|
+
"faye": "^1.4.0",
|
|
51
48
|
"form-data": "^4.0.0",
|
|
52
|
-
"graceful-fs": "^4.2.
|
|
49
|
+
"graceful-fs": "^4.2.9",
|
|
53
50
|
"jsen": "0.6.6",
|
|
54
51
|
"jsforce": "2.0.0-beta.7",
|
|
55
|
-
"jsonwebtoken": "8.5.
|
|
52
|
+
"jsonwebtoken": "8.5.1",
|
|
56
53
|
"mkdirp": "1.0.4",
|
|
57
|
-
"sfdx-faye": "^1.0.9",
|
|
58
54
|
"ts-retry-promise": "^0.6.0"
|
|
59
55
|
},
|
|
60
56
|
"devDependencies": {
|
|
61
|
-
"@salesforce/dev-config": "^
|
|
62
|
-
"@salesforce/dev-scripts": "^0.
|
|
57
|
+
"@salesforce/dev-config": "^3.0.0",
|
|
58
|
+
"@salesforce/dev-scripts": "^2.0.0",
|
|
63
59
|
"@salesforce/prettier-config": "^0.0.2",
|
|
64
|
-
"@salesforce/ts-sinon": "^1.3.
|
|
65
|
-
"@types/debug": "0.0.
|
|
66
|
-
"@types/jsen": "0.0.
|
|
67
|
-
"@types/jsonwebtoken": "8.
|
|
68
|
-
"@types/
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"chai": "^4.2.0",
|
|
74
|
-
"commitizen": "^3.0.5",
|
|
60
|
+
"@salesforce/ts-sinon": "^1.3.21",
|
|
61
|
+
"@types/debug": "0.0.31",
|
|
62
|
+
"@types/jsen": "0.0.21",
|
|
63
|
+
"@types/jsonwebtoken": "8.5.7",
|
|
64
|
+
"@types/shelljs": "0.8.11",
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
66
|
+
"@typescript-eslint/parser": "4.33.0",
|
|
67
|
+
"chai": "^4.3.4",
|
|
68
|
+
"commitizen": "^3.1.2",
|
|
75
69
|
"eslint": "^6.8.0",
|
|
76
|
-
"eslint-config-prettier": "^6.
|
|
70
|
+
"eslint-config-prettier": "^6.15.0",
|
|
77
71
|
"eslint-config-salesforce": "^0.1.6",
|
|
78
|
-
"eslint-config-salesforce-license": "^0.1.
|
|
79
|
-
"eslint-config-salesforce-typescript": "^0.2.
|
|
80
|
-
"eslint-plugin-header": "^3.
|
|
81
|
-
"eslint-plugin-import": "^2.
|
|
82
|
-
"eslint-plugin-jsdoc": "^27.
|
|
72
|
+
"eslint-config-salesforce-license": "^0.1.6",
|
|
73
|
+
"eslint-config-salesforce-typescript": "^0.2.8",
|
|
74
|
+
"eslint-plugin-header": "^3.1.1",
|
|
75
|
+
"eslint-plugin-import": "^2.25.4",
|
|
76
|
+
"eslint-plugin-jsdoc": "^27.1.2",
|
|
83
77
|
"eslint-plugin-prettier": "^3.1.3",
|
|
84
|
-
"husky": "^
|
|
85
|
-
"mocha": "^
|
|
78
|
+
"husky": "^7.0.4",
|
|
79
|
+
"mocha": "^9.1.3",
|
|
86
80
|
"nyc": "^15.1.0",
|
|
87
|
-
"prettier": "^2.
|
|
88
|
-
"pretty-quick": "^
|
|
89
|
-
"shelljs": "0.8.
|
|
90
|
-
"sinon": "
|
|
91
|
-
"ts-node": "^
|
|
92
|
-
"typescript": "
|
|
81
|
+
"prettier": "^2.5.1",
|
|
82
|
+
"pretty-quick": "^3.1.3",
|
|
83
|
+
"shelljs": "0.8.5",
|
|
84
|
+
"sinon": "10.0.0",
|
|
85
|
+
"ts-node": "^10.4.0",
|
|
86
|
+
"typescript": "4.4.4"
|
|
93
87
|
},
|
|
94
|
-
"types": "lib/exported.d.ts",
|
|
95
88
|
"repository": {
|
|
96
89
|
"type": "git",
|
|
97
90
|
"url": "https://github.com/forcedotcom/sfdx-core.git"
|