ses 1.9.0 → 1.9.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ses",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Hardened JavaScript for Fearless Cooperation",
5
5
  "keywords": [
6
6
  "lockdown",
@@ -81,9 +81,9 @@
81
81
  "@endo/env-options": "^1.1.7"
82
82
  },
83
83
  "devDependencies": {
84
- "@endo/compartment-mapper": "^1.3.0",
85
- "@endo/module-source": "^1.1.0",
86
- "@endo/test262-runner": "^0.1.41",
84
+ "@endo/compartment-mapper": "^1.3.1",
85
+ "@endo/module-source": "^1.1.1",
86
+ "@endo/test262-runner": "^0.1.42",
87
87
  "ava": "^6.1.3",
88
88
  "babel-eslint": "^10.1.0",
89
89
  "c8": "^7.14.0",
@@ -203,5 +203,5 @@
203
203
  "typeCoverage": {
204
204
  "atLeast": 81.17
205
205
  },
206
- "gitHead": "bbf20fae6726f7d26456714b8852572787d34e05"
206
+ "gitHead": "c242c28a68d1af29475150e44b5f3e9d0feda8cd"
207
207
  }
@@ -1,5 +1,3 @@
1
- /// <reference types="ses"/>
2
-
3
1
  import { globalThis } from './commons.js';
4
2
  import { makeCompartmentConstructor } from './compartment.js';
5
3
  import { tameFunctionToString } from './tame-function-tostring.js';
@@ -48,6 +48,7 @@ import { makeNoteLogArgsArrayKit } from './note-log-args.js';
48
48
 
49
49
  /**
50
50
  * @import {BaseAssert, Assert, AssertionFunctions, AssertionUtilities, StringablePayload, DetailsToken, MakeAssert} from '../../types.js'
51
+ * @import {LogArgs, NoteCallback, LoggedErrorHandler} from "./internal-types.js";
51
52
  */
52
53
 
53
54
  // For our internal debugging purposes, uncomment
@@ -22,8 +22,11 @@ import {
22
22
  weaksetAdd,
23
23
  weaksetHas,
24
24
  } from '../commons.js';
25
- import './types.js';
26
- import './internal-types.js';
25
+
26
+ /**
27
+ * @import {FilterConsole, LogSeverity, VirtualConsole} from './types.js'
28
+ * @import {ErrorInfo, ErrorInfoKind, LogRecord, NoteCallback, LoggedErrorHandler, MakeCausalConsole, MakeLoggingConsoleKit} from "./internal-types.js";
29
+ */
27
30
 
28
31
  // For our internal debugging purposes, uncomment
29
32
  // const internalDebugConsole = console;
@@ -1,5 +1,9 @@
1
1
  // @ts-check
2
2
 
3
+ /**
4
+ * @import {VirtualConsole} from './types.js'
5
+ */
6
+
3
7
  /**
4
8
  * @typedef {readonly any[]} LogArgs
5
9
  *
@@ -3,7 +3,10 @@
3
3
  /* eslint-disable no-restricted-globals */
4
4
 
5
5
  import { makeLRUCacheMap } from '../make-lru-cachemap.js';
6
- import './internal-types.js';
6
+
7
+ /**
8
+ * @import {LogArgs} from './internal-types.js';
9
+ */
7
10
 
8
11
  const { freeze } = Object;
9
12
  const { isSafeInteger } = Number;
@@ -11,8 +11,11 @@ import {
11
11
  import { loggedErrorHandler as defaultHandler } from './assert.js';
12
12
  import { makeCausalConsole } from './console.js';
13
13
  import { makeRejectionHandlers } from './unhandled-rejection.js';
14
- import './types.js';
15
- import './internal-types.js';
14
+
15
+ /**
16
+ * @import {VirtualConsole} from './types.js'
17
+ * @import {GetStackString} from './internal-types.js';
18
+ */
16
19
 
17
20
  const failFast = message => {
18
21
  throw TypeError(message);