@salesforce/core 6.7.3 → 6.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/lib/messageTransformer.js +1 -0
- package/lib/org/connection.js +1 -1
- package/lib/org/org.js +1 -1
- package/lib/testSetup.js +1 -0
- package/lib/util/lockRetryOptions.js +1 -1
- package/lib/webOAuthServer.js +1 -1
- package/package.json +19 -7
|
@@ -30,6 +30,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
32
|
exports.messageTransformer = void 0;
|
|
33
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
33
34
|
const ts = __importStar(require("typescript"));
|
|
34
35
|
const messages_1 = require("./messages");
|
|
35
36
|
/**
|
package/lib/org/connection.js
CHANGED
|
@@ -296,7 +296,7 @@ class Connection extends jsforce_1.Connection {
|
|
|
296
296
|
async autoFetchQuery(soql, queryOptions = { tooling: false }) {
|
|
297
297
|
const config = await configAggregator_1.ConfigAggregator.create();
|
|
298
298
|
// take the limit from the calling function, then the config, then default 10,000
|
|
299
|
-
const maxFetch = (config.getInfo(orgConfigProperties_1.OrgConfigProperties.ORG_MAX_QUERY_LIMIT).value || queryOptions.maxFetch) ??
|
|
299
|
+
const maxFetch = (config.getInfo(orgConfigProperties_1.OrgConfigProperties.ORG_MAX_QUERY_LIMIT).value || queryOptions.maxFetch) ?? 10_000;
|
|
300
300
|
const { tooling, ...queryOptionsWithoutTooling } = queryOptions;
|
|
301
301
|
const options = Object.assign(queryOptionsWithoutTooling, {
|
|
302
302
|
autoFetch: true,
|
package/lib/org/org.js
CHANGED
|
@@ -454,7 +454,7 @@ class Org extends kit_1.AsyncOptionalCreatable {
|
|
|
454
454
|
const existingAliases = stateAgg.aliases.getAll(username);
|
|
455
455
|
await stateAgg.aliases.unsetValuesAndSave(existingAliases);
|
|
456
456
|
// unset any configs referencing this org
|
|
457
|
-
[...existingAliases, username].flatMap((name) => this.configAggregator.unsetByValue(name));
|
|
457
|
+
await Promise.all([...existingAliases, username].flatMap((name) => this.configAggregator.unsetByValue(name)));
|
|
458
458
|
if (await this.isSandbox()) {
|
|
459
459
|
await this.deleteSandbox();
|
|
460
460
|
}
|
package/lib/testSetup.js
CHANGED
|
@@ -11,6 +11,6 @@ exports.lockRetryOptions = exports.lockOptions = void 0;
|
|
|
11
11
|
exports.lockOptions = { stale: 10_000 };
|
|
12
12
|
exports.lockRetryOptions = {
|
|
13
13
|
...exports.lockOptions,
|
|
14
|
-
retries: { retries: 10, maxTimeout:
|
|
14
|
+
retries: { retries: 10, maxTimeout: 1000, factor: 2 },
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=lockRetryOptions.js.map
|
package/lib/webOAuthServer.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.5",
|
|
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",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"compile": "wireit",
|
|
16
16
|
"docs": "sf-docs",
|
|
17
17
|
"format": "wireit",
|
|
18
|
+
"link-check": "wireit",
|
|
18
19
|
"lint": "wireit",
|
|
19
20
|
"lint-fix": "yarn sf-lint --fix",
|
|
20
21
|
"postcompile": "tsc -p typedocExamples",
|
|
@@ -38,10 +39,9 @@
|
|
|
38
39
|
"messageTransformer/messageTransformer.ts"
|
|
39
40
|
],
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@salesforce/kit": "^3.0
|
|
42
|
-
"@salesforce/schemas": "^1.
|
|
42
|
+
"@salesforce/kit": "^3.1.0",
|
|
43
|
+
"@salesforce/schemas": "^1.7.0",
|
|
43
44
|
"@salesforce/ts-types": "^2.0.9",
|
|
44
|
-
"@types/semver": "^7.5.8",
|
|
45
45
|
"ajv": "^8.12.0",
|
|
46
46
|
"change-case": "^4.1.2",
|
|
47
47
|
"faye": "^1.4.0",
|
|
@@ -58,17 +58,18 @@
|
|
|
58
58
|
"ts-retry-promise": "^0.7.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@salesforce/dev-scripts": "^
|
|
61
|
+
"@salesforce/dev-scripts": "^8.4.2",
|
|
62
62
|
"@salesforce/ts-sinon": "^1.4.19",
|
|
63
63
|
"@types/benchmark": "^2.1.5",
|
|
64
64
|
"@types/chai-string": "^1.4.5",
|
|
65
65
|
"@types/jsonwebtoken": "9.0.6",
|
|
66
66
|
"@types/proper-lockfile": "^4.1.4",
|
|
67
|
+
"@types/semver": "^7.5.8",
|
|
67
68
|
"benchmark": "^2.1.4",
|
|
68
69
|
"chai-string": "^1.5.0",
|
|
69
70
|
"ts-node": "^10.9.2",
|
|
70
71
|
"ts-patch": "^3.1.1",
|
|
71
|
-
"typescript": "^5.4.
|
|
72
|
+
"typescript": "^5.4.3"
|
|
72
73
|
},
|
|
73
74
|
"repository": {
|
|
74
75
|
"type": "git",
|
|
@@ -146,8 +147,19 @@
|
|
|
146
147
|
"test": {
|
|
147
148
|
"dependencies": [
|
|
148
149
|
"test:only",
|
|
149
|
-
"test:compile"
|
|
150
|
+
"test:compile",
|
|
151
|
+
"link-check"
|
|
150
152
|
]
|
|
153
|
+
},
|
|
154
|
+
"link-check": {
|
|
155
|
+
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"./*.md\" --skip \"examples/README.md|CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
156
|
+
"files": [
|
|
157
|
+
"./*.md",
|
|
158
|
+
"./examples/**/*.md",
|
|
159
|
+
"./messages/**/*.md",
|
|
160
|
+
"./!(CHANGELOG).md"
|
|
161
|
+
],
|
|
162
|
+
"output": []
|
|
151
163
|
}
|
|
152
164
|
}
|
|
153
165
|
}
|