ses 1.4.0 → 1.4.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/dist/lockdown.cjs +7 -5
- package/dist/lockdown.mjs +7 -5
- package/dist/lockdown.umd.js +7 -5
- package/dist/ses.cjs +7 -5
- package/dist/ses.mjs +7 -5
- package/dist/ses.umd.js +7 -5
- package/package.json +10 -10
- package/src/lockdown-shim.js +4 -2
- package/src/lockdown.js +1 -1
- package/src/make-hardener.js +1 -1
package/dist/lockdown.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.4.
|
|
1
|
+
// ses@1.4.1
|
|
2
2
|
'use strict';
|
|
3
3
|
(() => {
|
|
4
4
|
const functors = [
|
|
@@ -2033,7 +2033,7 @@ const assert= makeAssert();$h_once.assert(assert);
|
|
|
2033
2033
|
|
|
2034
2034
|
|
|
2035
2035
|
/**
|
|
2036
|
-
* @
|
|
2036
|
+
* @import {Harden} from '../types.js'
|
|
2037
2037
|
*/
|
|
2038
2038
|
|
|
2039
2039
|
// Obtain the string tag accessor of of TypedArray so we can indirectly use the
|
|
@@ -10243,7 +10243,7 @@ const tameFauxDataProperties= (intrinsics)=>{
|
|
|
10243
10243
|
|
|
10244
10244
|
|
|
10245
10245
|
|
|
10246
|
-
/** @
|
|
10246
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10247
10247
|
|
|
10248
10248
|
const { Fail, details: d, quote: q}= assert;
|
|
10249
10249
|
|
|
@@ -10637,8 +10637,10 @@ const repairIntrinsics= (options= {})=> {
|
|
|
10637
10637
|
|
|
10638
10638
|
|
|
10639
10639
|
|
|
10640
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10641
|
+
|
|
10640
10642
|
/**
|
|
10641
|
-
* @param {
|
|
10643
|
+
* @param {LockdownOptions} options
|
|
10642
10644
|
*/
|
|
10643
10645
|
globalThis.lockdown= (options)=>{
|
|
10644
10646
|
const hardenIntrinsics= repairIntrinsics(options);
|
|
@@ -10646,7 +10648,7 @@ globalThis.lockdown= (options)=>{
|
|
|
10646
10648
|
};
|
|
10647
10649
|
|
|
10648
10650
|
/**
|
|
10649
|
-
* @param {
|
|
10651
|
+
* @param {LockdownOptions} options
|
|
10650
10652
|
*/
|
|
10651
10653
|
globalThis.repairIntrinsics= (options)=>{
|
|
10652
10654
|
const hardenIntrinsics= repairIntrinsics(options);
|
package/dist/lockdown.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.4.
|
|
1
|
+
// ses@1.4.1
|
|
2
2
|
'use strict';
|
|
3
3
|
(() => {
|
|
4
4
|
const functors = [
|
|
@@ -2033,7 +2033,7 @@ const assert= makeAssert();$h_once.assert(assert);
|
|
|
2033
2033
|
|
|
2034
2034
|
|
|
2035
2035
|
/**
|
|
2036
|
-
* @
|
|
2036
|
+
* @import {Harden} from '../types.js'
|
|
2037
2037
|
*/
|
|
2038
2038
|
|
|
2039
2039
|
// Obtain the string tag accessor of of TypedArray so we can indirectly use the
|
|
@@ -10243,7 +10243,7 @@ const tameFauxDataProperties= (intrinsics)=>{
|
|
|
10243
10243
|
|
|
10244
10244
|
|
|
10245
10245
|
|
|
10246
|
-
/** @
|
|
10246
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10247
10247
|
|
|
10248
10248
|
const { Fail, details: d, quote: q}= assert;
|
|
10249
10249
|
|
|
@@ -10637,8 +10637,10 @@ const repairIntrinsics= (options= {})=> {
|
|
|
10637
10637
|
|
|
10638
10638
|
|
|
10639
10639
|
|
|
10640
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10641
|
+
|
|
10640
10642
|
/**
|
|
10641
|
-
* @param {
|
|
10643
|
+
* @param {LockdownOptions} options
|
|
10642
10644
|
*/
|
|
10643
10645
|
globalThis.lockdown= (options)=>{
|
|
10644
10646
|
const hardenIntrinsics= repairIntrinsics(options);
|
|
@@ -10646,7 +10648,7 @@ globalThis.lockdown= (options)=>{
|
|
|
10646
10648
|
};
|
|
10647
10649
|
|
|
10648
10650
|
/**
|
|
10649
|
-
* @param {
|
|
10651
|
+
* @param {LockdownOptions} options
|
|
10650
10652
|
*/
|
|
10651
10653
|
globalThis.repairIntrinsics= (options)=>{
|
|
10652
10654
|
const hardenIntrinsics= repairIntrinsics(options);
|
package/dist/lockdown.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.4.
|
|
1
|
+
// ses@1.4.1
|
|
2
2
|
'use strict';
|
|
3
3
|
(() => {
|
|
4
4
|
const functors = [
|
|
@@ -2033,7 +2033,7 @@ const assert= makeAssert();$h_once.assert(assert);
|
|
|
2033
2033
|
|
|
2034
2034
|
|
|
2035
2035
|
/**
|
|
2036
|
-
* @
|
|
2036
|
+
* @import {Harden} from '../types.js'
|
|
2037
2037
|
*/
|
|
2038
2038
|
|
|
2039
2039
|
// Obtain the string tag accessor of of TypedArray so we can indirectly use the
|
|
@@ -10243,7 +10243,7 @@ const tameFauxDataProperties= (intrinsics)=>{
|
|
|
10243
10243
|
|
|
10244
10244
|
|
|
10245
10245
|
|
|
10246
|
-
/** @
|
|
10246
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10247
10247
|
|
|
10248
10248
|
const { Fail, details: d, quote: q}= assert;
|
|
10249
10249
|
|
|
@@ -10637,8 +10637,10 @@ const repairIntrinsics= (options= {})=> {
|
|
|
10637
10637
|
|
|
10638
10638
|
|
|
10639
10639
|
|
|
10640
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10641
|
+
|
|
10640
10642
|
/**
|
|
10641
|
-
* @param {
|
|
10643
|
+
* @param {LockdownOptions} options
|
|
10642
10644
|
*/
|
|
10643
10645
|
globalThis.lockdown= (options)=>{
|
|
10644
10646
|
const hardenIntrinsics= repairIntrinsics(options);
|
|
@@ -10646,7 +10648,7 @@ globalThis.lockdown= (options)=>{
|
|
|
10646
10648
|
};
|
|
10647
10649
|
|
|
10648
10650
|
/**
|
|
10649
|
-
* @param {
|
|
10651
|
+
* @param {LockdownOptions} options
|
|
10650
10652
|
*/
|
|
10651
10653
|
globalThis.repairIntrinsics= (options)=>{
|
|
10652
10654
|
const hardenIntrinsics= repairIntrinsics(options);
|
package/dist/ses.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.4.
|
|
1
|
+
// ses@1.4.1
|
|
2
2
|
'use strict';
|
|
3
3
|
(() => {
|
|
4
4
|
const functors = [
|
|
@@ -2033,7 +2033,7 @@ const assert= makeAssert();$h_once.assert(assert);
|
|
|
2033
2033
|
|
|
2034
2034
|
|
|
2035
2035
|
/**
|
|
2036
|
-
* @
|
|
2036
|
+
* @import {Harden} from '../types.js'
|
|
2037
2037
|
*/
|
|
2038
2038
|
|
|
2039
2039
|
// Obtain the string tag accessor of of TypedArray so we can indirectly use the
|
|
@@ -10243,7 +10243,7 @@ const tameFauxDataProperties= (intrinsics)=>{
|
|
|
10243
10243
|
|
|
10244
10244
|
|
|
10245
10245
|
|
|
10246
|
-
/** @
|
|
10246
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10247
10247
|
|
|
10248
10248
|
const { Fail, details: d, quote: q}= assert;
|
|
10249
10249
|
|
|
@@ -10637,8 +10637,10 @@ const repairIntrinsics= (options= {})=> {
|
|
|
10637
10637
|
|
|
10638
10638
|
|
|
10639
10639
|
|
|
10640
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10641
|
+
|
|
10640
10642
|
/**
|
|
10641
|
-
* @param {
|
|
10643
|
+
* @param {LockdownOptions} options
|
|
10642
10644
|
*/
|
|
10643
10645
|
globalThis.lockdown= (options)=>{
|
|
10644
10646
|
const hardenIntrinsics= repairIntrinsics(options);
|
|
@@ -10646,7 +10648,7 @@ globalThis.lockdown= (options)=>{
|
|
|
10646
10648
|
};
|
|
10647
10649
|
|
|
10648
10650
|
/**
|
|
10649
|
-
* @param {
|
|
10651
|
+
* @param {LockdownOptions} options
|
|
10650
10652
|
*/
|
|
10651
10653
|
globalThis.repairIntrinsics= (options)=>{
|
|
10652
10654
|
const hardenIntrinsics= repairIntrinsics(options);
|
package/dist/ses.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.4.
|
|
1
|
+
// ses@1.4.1
|
|
2
2
|
'use strict';
|
|
3
3
|
(() => {
|
|
4
4
|
const functors = [
|
|
@@ -2033,7 +2033,7 @@ const assert= makeAssert();$h_once.assert(assert);
|
|
|
2033
2033
|
|
|
2034
2034
|
|
|
2035
2035
|
/**
|
|
2036
|
-
* @
|
|
2036
|
+
* @import {Harden} from '../types.js'
|
|
2037
2037
|
*/
|
|
2038
2038
|
|
|
2039
2039
|
// Obtain the string tag accessor of of TypedArray so we can indirectly use the
|
|
@@ -10243,7 +10243,7 @@ const tameFauxDataProperties= (intrinsics)=>{
|
|
|
10243
10243
|
|
|
10244
10244
|
|
|
10245
10245
|
|
|
10246
|
-
/** @
|
|
10246
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10247
10247
|
|
|
10248
10248
|
const { Fail, details: d, quote: q}= assert;
|
|
10249
10249
|
|
|
@@ -10637,8 +10637,10 @@ const repairIntrinsics= (options= {})=> {
|
|
|
10637
10637
|
|
|
10638
10638
|
|
|
10639
10639
|
|
|
10640
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10641
|
+
|
|
10640
10642
|
/**
|
|
10641
|
-
* @param {
|
|
10643
|
+
* @param {LockdownOptions} options
|
|
10642
10644
|
*/
|
|
10643
10645
|
globalThis.lockdown= (options)=>{
|
|
10644
10646
|
const hardenIntrinsics= repairIntrinsics(options);
|
|
@@ -10646,7 +10648,7 @@ globalThis.lockdown= (options)=>{
|
|
|
10646
10648
|
};
|
|
10647
10649
|
|
|
10648
10650
|
/**
|
|
10649
|
-
* @param {
|
|
10651
|
+
* @param {LockdownOptions} options
|
|
10650
10652
|
*/
|
|
10651
10653
|
globalThis.repairIntrinsics= (options)=>{
|
|
10652
10654
|
const hardenIntrinsics= repairIntrinsics(options);
|
package/dist/ses.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ses@1.4.
|
|
1
|
+
// ses@1.4.1
|
|
2
2
|
'use strict';
|
|
3
3
|
(() => {
|
|
4
4
|
const functors = [
|
|
@@ -2033,7 +2033,7 @@ const assert= makeAssert();$h_once.assert(assert);
|
|
|
2033
2033
|
|
|
2034
2034
|
|
|
2035
2035
|
/**
|
|
2036
|
-
* @
|
|
2036
|
+
* @import {Harden} from '../types.js'
|
|
2037
2037
|
*/
|
|
2038
2038
|
|
|
2039
2039
|
// Obtain the string tag accessor of of TypedArray so we can indirectly use the
|
|
@@ -10243,7 +10243,7 @@ const tameFauxDataProperties= (intrinsics)=>{
|
|
|
10243
10243
|
|
|
10244
10244
|
|
|
10245
10245
|
|
|
10246
|
-
/** @
|
|
10246
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10247
10247
|
|
|
10248
10248
|
const { Fail, details: d, quote: q}= assert;
|
|
10249
10249
|
|
|
@@ -10637,8 +10637,10 @@ const repairIntrinsics= (options= {})=> {
|
|
|
10637
10637
|
|
|
10638
10638
|
|
|
10639
10639
|
|
|
10640
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
10641
|
+
|
|
10640
10642
|
/**
|
|
10641
|
-
* @param {
|
|
10643
|
+
* @param {LockdownOptions} options
|
|
10642
10644
|
*/
|
|
10643
10645
|
globalThis.lockdown= (options)=>{
|
|
10644
10646
|
const hardenIntrinsics= repairIntrinsics(options);
|
|
@@ -10646,7 +10648,7 @@ globalThis.lockdown= (options)=>{
|
|
|
10646
10648
|
};
|
|
10647
10649
|
|
|
10648
10650
|
/**
|
|
10649
|
-
* @param {
|
|
10651
|
+
* @param {LockdownOptions} options
|
|
10650
10652
|
*/
|
|
10651
10653
|
globalThis.repairIntrinsics= (options)=>{
|
|
10652
10654
|
const hardenIntrinsics= repairIntrinsics(options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ses",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Hardened JavaScript for Fearless Cooperation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lockdown",
|
|
@@ -66,26 +66,26 @@
|
|
|
66
66
|
"test:platform-compatibility": "node test/package/test.cjs"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@endo/env-options": "^1.1.
|
|
69
|
+
"@endo/env-options": "^1.1.3"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@endo/compartment-mapper": "^1.1.
|
|
73
|
-
"@endo/static-module-record": "^1.1.
|
|
74
|
-
"@endo/test262-runner": "^0.1.
|
|
72
|
+
"@endo/compartment-mapper": "^1.1.4",
|
|
73
|
+
"@endo/static-module-record": "^1.1.1",
|
|
74
|
+
"@endo/test262-runner": "^0.1.36",
|
|
75
75
|
"ava": "^6.1.2",
|
|
76
76
|
"babel-eslint": "^10.0.3",
|
|
77
77
|
"c8": "^7.14.0",
|
|
78
78
|
"core-js": "^3.31.0",
|
|
79
|
-
"eslint": "^8.
|
|
79
|
+
"eslint": "^8.57.0",
|
|
80
80
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
81
|
-
"eslint-config-prettier": "^
|
|
81
|
+
"eslint-config-prettier": "^9.1.0",
|
|
82
82
|
"eslint-plugin-eslint-comments": "^3.1.2",
|
|
83
83
|
"eslint-plugin-import": "^2.29.0",
|
|
84
84
|
"prettier": "^3.0.0",
|
|
85
85
|
"sinon": "^15.1.0",
|
|
86
86
|
"terser": "^5.16.6",
|
|
87
|
-
"tsd": "^0.
|
|
88
|
-
"typescript": "~5.
|
|
87
|
+
"tsd": "^0.30.7",
|
|
88
|
+
"typescript": "~5.5.0-dev.20240327"
|
|
89
89
|
},
|
|
90
90
|
"files": [
|
|
91
91
|
"LICENSE*",
|
|
@@ -189,5 +189,5 @@
|
|
|
189
189
|
"typeCoverage": {
|
|
190
190
|
"atLeast": 81.17
|
|
191
191
|
},
|
|
192
|
-
"gitHead": "
|
|
192
|
+
"gitHead": "25229bdcc26babb3afe0c229df4283a0f3c105f3"
|
|
193
193
|
}
|
package/src/lockdown-shim.js
CHANGED
|
@@ -7,8 +7,10 @@ import './assert-sloppy-mode.js';
|
|
|
7
7
|
import { globalThis } from './commons.js';
|
|
8
8
|
import { repairIntrinsics } from './lockdown.js';
|
|
9
9
|
|
|
10
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
11
|
+
|
|
10
12
|
/**
|
|
11
|
-
* @param {
|
|
13
|
+
* @param {LockdownOptions} options
|
|
12
14
|
*/
|
|
13
15
|
globalThis.lockdown = options => {
|
|
14
16
|
const hardenIntrinsics = repairIntrinsics(options);
|
|
@@ -16,7 +18,7 @@ globalThis.lockdown = options => {
|
|
|
16
18
|
};
|
|
17
19
|
|
|
18
20
|
/**
|
|
19
|
-
* @param {
|
|
21
|
+
* @param {LockdownOptions} options
|
|
20
22
|
*/
|
|
21
23
|
globalThis.repairIntrinsics = options => {
|
|
22
24
|
const hardenIntrinsics = repairIntrinsics(options);
|
package/src/lockdown.js
CHANGED
|
@@ -56,7 +56,7 @@ import { tameHarden } from './tame-harden.js';
|
|
|
56
56
|
import { tameSymbolConstructor } from './tame-symbol-constructor.js';
|
|
57
57
|
import { tameFauxDataProperties } from './tame-faux-data-properties.js';
|
|
58
58
|
|
|
59
|
-
/** @
|
|
59
|
+
/** @import {LockdownOptions} from '../types.js' */
|
|
60
60
|
|
|
61
61
|
const { Fail, details: d, quote: q } = assert;
|
|
62
62
|
|
package/src/make-hardener.js
CHANGED