Skip to content

Commit 1ca9aba

Browse files
committed
feat(ses): export Permits
This exports the entirety of `src/permits.js` as the `Permits` object via the `tools` export. We are using this information in `lavamoat-tofu` for SES-compat detection, and we would like to keep it up-to-date with SES. There are other ways we could accomplish this, but exporting it is the easiest way for `lavamoat-tofu` to consume it. # Conflicts: # packages/ses/src/permits.js
1 parent f71479f commit 1ca9aba

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/ses/src/permits.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { arrayPush, arrayForEach } from './commons.js';
66
/** @import {GenericErrorConstructor} from '../types.js' */
77

88
/**
9-
* @module Exports {@code permits}, a recursively defined
10-
* JSON record enumerating all intrinsics and their properties
11-
* according to ECMA specs.
9+
* Exports {@link permitted}, a recursively defined JSON record enumerating all
10+
* intrinsics and their properties according to ECMA specs.
1211
*
12+
* @module
1313
* @author JF Paradis
1414
* @author Mark S. Miller
1515
*/

packages/ses/tools.js

+2
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ export const scopeTerminators = freeze({
2323
strictScopeTerminator,
2424
createSloppyGlobalsScopeTerminator,
2525
});
26+
27+
export * as Permits from './src/permits.js';

0 commit comments

Comments
 (0)