Skip to content

Commit d1d9625

Browse files
authored
refactor(promise-kit): depend on harden, not ses (#3108)
Closes: #XXXX Refs: #3107 ## Description `@endo/promise-kit` is a tiny package that had depended on `'ses'` only for `harden`. It is a great example of why we factored `harden` out into an importable `@endo/harden`. The PR changes `@endo/promise-kit` to depend directly on `endo@harden` rather than `ses`. ### Security Considerations none ### Scaling Considerations A bit. It means other packages can depend on @endo/promise-kit without bringing in all of ses. ### Documentation Considerations none ### Testing Considerations - [x] Should do the multi-ses-ava mode testing that @kriskowal set up. Addendum: happy to find that it already happens without my needing to do anything. Thanks @kriskowal ! ### Compatibility Considerations none ### Upgrade Considerations none
1 parent 8cccb75 commit d1d9625

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.changeset/fancy-pots-enjoy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@endo/promise-kit': patch
3+
---
4+
5+
`@endo/promise-kit` no longer depends on `ses`, just `@endo/harden`

packages/promise-kit/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@
3737
"test:xs": "exit 0"
3838
},
3939
"dependencies": {
40-
"@endo/harden": "workspace:^",
41-
"ses": "workspace:^"
40+
"@endo/harden": "workspace:^"
4241
},
4342
"devDependencies": {
4443
"ava": "catalog:dev",

yarn.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,6 @@ __metadata:
10911091
ava: "catalog:dev"
10921092
c8: "catalog:dev"
10931093
eslint: "catalog:dev"
1094-
ses: "workspace:^"
10951094
typescript: "npm:~5.9.2"
10961095
languageName: unknown
10971096
linkType: soft

0 commit comments

Comments
 (0)