@salesforce/core 8.32.6 → 9.1.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/LICENSE.txt +200 -6
- package/lib/config/authInfoConfig.js +13 -4
- package/lib/config/config.js +13 -4
- package/lib/config/configAggregator.js +13 -4
- package/lib/config/configFile.js +13 -4
- package/lib/config/configStore.js +13 -4
- package/lib/config/envVars.js +13 -4
- package/lib/config/lwwMap.js +13 -4
- package/lib/config/lwwRegister.js +13 -4
- package/lib/config/orgUsersConfig.js +13 -4
- package/lib/config/sandboxOrgConfig.js +13 -4
- package/lib/config/sandboxProcessCache.js +13 -4
- package/lib/config/ttlConfig.js +13 -4
- package/lib/crypto/crypto.js +13 -4
- package/lib/crypto/keyChain.js +13 -4
- package/lib/crypto/keyChainImpl.js +13 -4
- package/lib/crypto/secureBuffer.js +13 -4
- package/lib/deviceOauthService.js +13 -4
- package/lib/fs/fs.js +13 -4
- package/lib/global.js +13 -4
- package/lib/index.js +13 -4
- package/lib/lifecycleEvents.js +13 -4
- package/lib/logger/cleanup.js +13 -4
- package/lib/logger/filters.js +13 -4
- package/lib/logger/logger.js +13 -4
- package/lib/logger/memoryLogger.js +13 -4
- package/lib/logger/transformStream.js +13 -4
- package/lib/messageTransformer.js +13 -4
- package/lib/messages.js +13 -4
- package/lib/org/authInfo.js +33 -13
- package/lib/org/authRemover.js +13 -4
- package/lib/org/connection.js +13 -4
- package/lib/org/determineOrg.js +13 -4
- package/lib/org/org.js +13 -4
- package/lib/org/orgConfigProperties.js +13 -4
- package/lib/org/permissionSetAssignment.js +13 -4
- package/lib/org/scratchOrgCache.js +13 -4
- package/lib/org/scratchOrgCreate.js +13 -4
- package/lib/org/scratchOrgErrorCodes.js +20 -9
- package/lib/org/scratchOrgFeatureDeprecation.js +13 -4
- package/lib/org/scratchOrgInfoApi.js +17 -6
- package/lib/org/scratchOrgInfoGenerator.js +16 -7
- package/lib/org/scratchOrgLifecycleEvents.js +13 -4
- package/lib/org/scratchOrgSettingsGenerator.js +13 -4
- package/lib/org/scratchOrgTypes.js +13 -4
- package/lib/org/user.js +13 -4
- package/lib/schema/project-scratch-def/features.js +13 -4
- package/lib/schema/project-scratch-def/patternFeaturesList.js +13 -4
- package/lib/schema/project-scratch-def/scratchOrgDef.js +13 -4
- package/lib/schema/project-scratch-def/settings.js +13 -4
- package/lib/schema/project-scratch-def/simpleFeaturesList.js +13 -4
- package/lib/schema/sfdx-project/bundleEntry.js +13 -4
- package/lib/schema/sfdx-project/packageDir.js +13 -4
- package/lib/schema/sfdx-project/registryPresets.js +13 -4
- package/lib/schema/sfdx-project/registryVariants.js +13 -4
- package/lib/schema/sfdx-project/replacements.js +13 -4
- package/lib/schema/sfdx-project/sfdxProjectJson.js +13 -4
- package/lib/schema/validator.js +13 -4
- package/lib/sfError.js +13 -4
- package/lib/sfProject.js +13 -4
- package/lib/stateAggregator/accessors/aliasAccessor.js +13 -4
- package/lib/stateAggregator/accessors/orgAccessor.js +13 -4
- package/lib/stateAggregator/accessors/sandboxAccessor.js +13 -4
- package/lib/stateAggregator/stateAggregator.js +13 -4
- package/lib/status/myDomainResolver.js +13 -4
- package/lib/status/pollingClient.js +13 -4
- package/lib/status/streamingClient.js +13 -4
- package/lib/status/types.js +13 -4
- package/lib/testSetup.js +13 -4
- package/lib/util/cache.js +13 -4
- package/lib/util/directoryWriter.js +13 -4
- package/lib/util/fileLocking.js +13 -4
- package/lib/util/findSuggestion.js +13 -4
- package/lib/util/findUppercaseKeys.js +13 -4
- package/lib/util/generateApiName.js +13 -4
- package/lib/util/getJwtAudienceUrl.js +13 -4
- package/lib/util/internal.js +13 -4
- package/lib/util/isWeb.js +13 -4
- package/lib/util/lockRetryOptions.js +13 -4
- package/lib/util/mapKeys.js +13 -4
- package/lib/util/mutex.js +13 -4
- package/lib/util/sfdc.js +13 -4
- package/lib/util/sfdcUrl.js +13 -4
- package/lib/util/time.js +13 -4
- package/lib/util/uniqid.js +13 -4
- package/lib/util/unwrapArray.js +13 -4
- package/lib/util/zipWriter.js +13 -4
- package/lib/webOAuthServer.js +13 -4
- package/messages/scratchOrgErrorCodes.md +7 -0
- package/package.json +7 -6
package/lib/webOAuthServer.js
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the
|
|
6
|
-
*
|
|
3
|
+
* Copyright 2026, Salesforce, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
7
16
|
*/
|
|
8
17
|
/* eslint-disable class-methods-use-this */
|
|
9
18
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
@@ -113,3 +113,10 @@ The template specified in the Scratch Definition isn’t supported. Specify a ge
|
|
|
113
113
|
# C-9999
|
|
114
114
|
|
|
115
115
|
A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance
|
|
116
|
+
|
|
117
|
+
# action.C-1016
|
|
118
|
+
|
|
119
|
+
If your Dev Hub is authenticated via an External Client App (ECA), the signup service cannot replicate it into the new scratch org. As a workaround, set these environment variables to use Salesforce's built-in Connected App for signup instead:
|
|
120
|
+
|
|
121
|
+
SF_SCRATCH_SIGNUP_CONNECTED_APP=PlatformCLI
|
|
122
|
+
SF_SCRATCH_SIGNUP_CALLBACK_URL=http://localhost:1717/OauthRedirect
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
7
|
-
"license": "
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
8
|
"engines": {
|
|
9
|
-
"node": ">=
|
|
9
|
+
"node": ">=22.0.0"
|
|
10
10
|
},
|
|
11
11
|
"exports": {
|
|
12
12
|
".": "./lib/index.js",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"clean-all": "sf-clean all",
|
|
34
34
|
"compile": "wireit",
|
|
35
35
|
"docs": "sf-docs",
|
|
36
|
+
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
|
|
36
37
|
"format": "wireit",
|
|
37
38
|
"link-check": "wireit",
|
|
38
39
|
"lint": "wireit",
|
|
@@ -62,8 +63,8 @@
|
|
|
62
63
|
],
|
|
63
64
|
"dependencies": {
|
|
64
65
|
"@jsforce/jsforce-node": "^3.10.17",
|
|
65
|
-
"@salesforce/kit": "^
|
|
66
|
-
"@salesforce/ts-types": "^
|
|
66
|
+
"@salesforce/kit": "^4.0.0",
|
|
67
|
+
"@salesforce/ts-types": "^3.0.0",
|
|
67
68
|
"ajv": "^8.18.0",
|
|
68
69
|
"change-case": "^4.1.2",
|
|
69
70
|
"fast-levenshtein": "^3.0.0",
|
|
@@ -82,7 +83,7 @@
|
|
|
82
83
|
"zod": "^4.1.12"
|
|
83
84
|
},
|
|
84
85
|
"devDependencies": {
|
|
85
|
-
"@salesforce/dev-scripts": "^
|
|
86
|
+
"@salesforce/dev-scripts": "^11.0.4",
|
|
86
87
|
"@salesforce/ts-sinon": "^1.4.31",
|
|
87
88
|
"@types/benchmark": "^2.1.5",
|
|
88
89
|
"@types/fast-levenshtein": "^0.0.4",
|