source:
trip-planner-front/node_modules/object.assign/test/ses-compat.js@
6fe77af
Last change on this file since 6fe77af was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 220 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | 'use strict'; |
2 | ||
3 | /* globals lockdown */ | |
4 | ||
5 | // requiring ses exposes "lockdown" on the global | |
6 | require('ses'); | |
7 | ||
8 | // lockdown freezes the primordials | |
9 | lockdown({ errorTaming: 'unsafe' }); | |
10 | ||
11 | // initialize the module | |
12 | require('./'); |
Note:
See TracBrowser
for help on using the repository browser.