Skip to content

Commit

Permalink
fixup! exports
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Jan 1, 2025
1 parent 5c38d8c commit 98e6396
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/no-trapping-shim/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './src/no-trapping-pony.js';
1 change: 1 addition & 0 deletions packages/no-trapping-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"module": "./index.js",
"exports": {
".": "./index.js",
"./shim.js": "./shim.js",
"./package.json": "./package.json"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* global globalThis */
import { ReflectPlus, ObjectPlus, ProxyPlus } from './no-trapping-pony.js';
import { ReflectPlus, ObjectPlus, ProxyPlus } from './src/no-trapping-pony.js';

globalThis.Reflect = ReflectPlus;

Expand Down
2 changes: 1 addition & 1 deletion packages/no-trapping-shim/test/no-trapping-shim.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// dependencies. We will need similar tests is higher level packages, in order
// to test compat with ses and ses-ava.
import test from 'ava';
import '../src/no-trapping-shim.js';
import '../shim.js';

const { freeze, isFrozen } = Object;

Expand Down

0 comments on commit 98e6396

Please sign in to comment.