ses 1.9.0 → 1.10.0

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/README.md CHANGED
@@ -168,6 +168,8 @@ function on `globalThis`.
168
168
  ```js
169
169
  import 'ses';
170
170
 
171
+ lockdown();
172
+
171
173
  const c = new Compartment({
172
174
  globals: {
173
175
  print: harden(console.log),
@@ -301,7 +303,7 @@ const c1 = new Compartment({
301
303
  const moduleLocation = locate(moduleSpecifier);
302
304
  const moduleText = await retrieve(moduleLocation);
303
305
  return {
304
- source: new ModuleSource(moduleText, moduleLocation);
306
+ source: new ModuleSource(moduleText, moduleLocation)
305
307
  };
306
308
  },
307
309
  __options__: true, // temporary migration affordance