Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
fix: fix lockdown
Browse files Browse the repository at this point in the history
  • Loading branch information
samsiegart committed Apr 3, 2023
1 parent b1ce19d commit 729d399
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ _agstate/yarn-links/
.parcel-cache/
ui/.cache/
ui/dist/
ui/public/conf/
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@endo/marshal": "^0.6.9",
"lit": "^2.0.2",
"regenerator-runtime": "0.13.7",
"ses": "^0.15.11"
"ses": "^0.18.2"
},
"devDependencies": {
"caniuse-lite": "1.0.30001251",
Expand Down
14 changes: 0 additions & 14 deletions ui/public/conf/defaults.js

This file was deleted.

5 changes: 0 additions & 5 deletions ui/public/conf/installationConstants.js

This file was deleted.

1 change: 0 additions & 1 deletion ui/public/src/install-ses-lockdown.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable import/no-extraneous-dependencies */
/* global lockdown */
import 'ses/dist/ses.umd'; // adds lockdown, harden, and Compartment
import '@endo/eventual-send/shim'; // adds support needed by E

const errorTaming = process.env.NODE_ENV === 'development' ? 'unsafe' : 'safe';

Expand Down
1 change: 1 addition & 0 deletions ui/public/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// @ts-check
/* globals document mdc */
import './install-ses-lockdown.js';
import '@endo/eventual-send/shim'; // adds support needed by E
import { E } from '@endo/eventual-send';
import { observeNotifier } from '@agoric/notifier';
import dappConstants from '../lib/constants.js';
Expand Down
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5296,11 +5296,16 @@ [email protected]:
parseurl "~1.3.3"
send "0.18.0"

ses@^0.15.11, ses@^0.15.15, ses@^0.15.17:
ses@^0.15.15, ses@^0.15.17:
version "0.15.17"
resolved "https://registry.yarnpkg.com/ses/-/ses-0.15.17.tgz#84e20cd08fb294989c6499942d220bd6604e1884"
integrity sha512-T8XKsR5LGV57ilyqE4InFJKWVniEEFGai0CjuVJPju9LvnjYPXvZ7V8jP7sGtJ500ApRVgNBCu+5ZcSUhiuXig==

ses@^0.18.2:
version "0.18.2"
resolved "https://registry.yarnpkg.com/ses/-/ses-0.18.2.tgz#09adabc732c0dee3fa443c4c5e6672d59d25e241"
integrity sha512-AGoYxx1035q60uICxzkqMzzHf6bQuMtgTHWKnmv+qHjY/dAIKMgRT47HY/AdFquGbJCp17AEekBXFbITiS1YUA==

set-blocking@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
Expand Down

0 comments on commit 729d399

Please sign in to comment.