@salesforce/core 6.1.2 → 6.1.4
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/util/fileLocking.js +2 -2
- package/package.json +3 -4
package/lib/util/fileLocking.js
CHANGED
|
@@ -67,10 +67,10 @@ const lockInitSync = (filePath) => {
|
|
|
67
67
|
}
|
|
68
68
|
const [unlock] = fs.existsSync(filePath)
|
|
69
69
|
? // if the file exists, wait for it to be unlocked
|
|
70
|
-
[(0, proper_lockfile_1.lockSync)(filePath, lockRetryOptions_1.
|
|
70
|
+
[(0, proper_lockfile_1.lockSync)(filePath, lockRetryOptions_1.lockOptions)]
|
|
71
71
|
: // lock the entire directory to keep others from trying to create the file while we are
|
|
72
72
|
[
|
|
73
|
-
(0, proper_lockfile_1.lockSync)((0, node_path_1.dirname)(filePath), lockRetryOptions_1.
|
|
73
|
+
(0, proper_lockfile_1.lockSync)((0, node_path_1.dirname)(filePath), lockRetryOptions_1.lockOptions),
|
|
74
74
|
logger_1.Logger.childFromRoot('fileLocking.lockInit').debug(`No file found at ${filePath}. Write will create it. Locking the entire directory until file is written.`),
|
|
75
75
|
];
|
|
76
76
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.4",
|
|
4
4
|
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "wireit",
|
|
13
|
-
"ci-docs": "yarn sf-ci-docs",
|
|
14
13
|
"clean": "sf-clean",
|
|
15
14
|
"clean-all": "sf-clean all",
|
|
16
15
|
"compile": "wireit",
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
"jsforce": "^2.0.0-beta.28",
|
|
52
51
|
"jsonwebtoken": "9.0.2",
|
|
53
52
|
"jszip": "3.10.1",
|
|
54
|
-
"pino": "^8.16.
|
|
53
|
+
"pino": "^8.16.2",
|
|
55
54
|
"pino-abstract-transport": "^1.1.0",
|
|
56
55
|
"pino-pretty": "^10.2.3",
|
|
57
56
|
"proper-lockfile": "^4.1.2",
|
|
@@ -63,7 +62,7 @@
|
|
|
63
62
|
"@salesforce/ts-sinon": "^1.4.19",
|
|
64
63
|
"@types/benchmark": "^2.1.3",
|
|
65
64
|
"@types/chai-string": "^1.4.5",
|
|
66
|
-
"@types/jsonwebtoken": "9.0.
|
|
65
|
+
"@types/jsonwebtoken": "9.0.5",
|
|
67
66
|
"@types/proper-lockfile": "^4.1.2",
|
|
68
67
|
"benchmark": "^2.1.4",
|
|
69
68
|
"chai-string": "^1.5.0",
|