@endo/promise-kit 0.2.43 → 0.2.44
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 +9 -0
- package/package.json +4 -4
- package/src/memo-race.js +1 -1
- package/src/promise-executor-kit.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [0.2.44](https://github.com/endojs/endo/compare/@endo/promise-kit@0.2.43...@endo/promise-kit@0.2.44) (2022-08-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* more hardens ([#1241](https://github.com/endojs/endo/issues/1241)) ([b6ff811](https://github.com/endojs/endo/commit/b6ff8118a92fd72c5309b2bb285fac08d0531d92))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
### [0.2.43](https://github.com/endojs/endo/compare/@endo/promise-kit@0.2.42...@endo/promise-kit@0.2.43) (2022-06-28)
|
|
7
16
|
|
|
8
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@endo/promise-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.44",
|
|
4
4
|
"description": "Helper for making promises",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"promise"
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"test:xs": "exit 0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"ses": "^0.15.
|
|
38
|
+
"ses": "^0.15.18"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@endo/eslint-config": "^0.5.1",
|
|
42
|
-
"@endo/ses-ava": "^0.2.
|
|
42
|
+
"@endo/ses-ava": "^0.2.28",
|
|
43
43
|
"ava": "^3.12.1",
|
|
44
44
|
"babel-eslint": "^10.0.3",
|
|
45
45
|
"c8": "^7.7.3",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">=11.0"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "7dc29059b201826295cbf2deb28bb2ed70f5ec1f"
|
|
84
84
|
}
|
package/src/memo-race.js
CHANGED
|
@@ -79,7 +79,7 @@ const getMemoRecord = value => {
|
|
|
79
79
|
// weakmap would throw an error. Luckily, it is safe to call
|
|
80
80
|
// `Promise.resolve(contender).then` on a primitive value multiple times
|
|
81
81
|
// because the promise fulfills immediately. So we fake a settled record.
|
|
82
|
-
return { settled: true };
|
|
82
|
+
return harden({ settled: true });
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
let record = knownPromises.get(value);
|