Skip to content

Commit 5c38d8c

Browse files
committed
fixup! without ses devDependencies
1 parent c52cf30 commit 5c38d8c

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

packages/no-trapping-shim/package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@endo/no-trapping-shim",
33
"version": "0.1.0",
44
"private": true,
5-
"description": null,
5+
"description": "shim and ponyfill for no-trapping integrity level",
66
"keywords": [],
77
"author": "Endo contributors",
88
"license": "Apache-2.0",
@@ -36,8 +36,6 @@
3636
"test:xs": "exit 0"
3737
},
3838
"devDependencies": {
39-
"@endo/lockdown": "workspace:^",
40-
"@endo/ses-ava": "workspace:^",
4139
"ava": "^6.1.3",
4240
"c8": "^7.14.0",
4341
"tsd": "^0.31.2",

packages/no-trapping-shim/test/no-trapping-pony.test.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import test from '@endo/ses-ava/prepare-endo.js';
1+
// Uses 'ava' rather than @endo/ses-ava to avoid worries about cyclic
2+
// dependencies. We will need similar tests is higher level packages, in order
3+
// to test compat with ses and ses-ava.
4+
import test from 'ava';
25
import { ReflectPlus, ProxyPlus } from '../src/no-trapping-pony.js';
36

47
const { freeze, isFrozen } = Object;

packages/no-trapping-shim/test/no-trapping-shim.test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import '../src/no-trapping-shim.js';
2-
// TODO make compat with ses and uncomment
3-
// import test from '@endo/ses-ava/prepare-endo.js';
4-
// instead of
1+
// Uses 'ava' rather than @endo/ses-ava to avoid worries about cyclic
2+
// dependencies. We will need similar tests is higher level packages, in order
3+
// to test compat with ses and ses-ava.
54
import test from 'ava';
5+
import '../src/no-trapping-shim.js';
66

77
const { freeze, isFrozen } = Object;
88

yarn.lock

-2
Original file line numberDiff line numberDiff line change
@@ -706,8 +706,6 @@ __metadata:
706706
version: 0.0.0-use.local
707707
resolution: "@endo/no-trapping-shim@workspace:packages/no-trapping-shim"
708708
dependencies:
709-
"@endo/lockdown": "workspace:^"
710-
"@endo/ses-ava": "workspace:^"
711709
ava: "npm:^6.1.3"
712710
c8: "npm:^7.14.0"
713711
tsd: "npm:^0.31.2"

0 commit comments

Comments
 (0)