@locker/sandbox
Advanced tools
Comparing version 0.14.2 to 0.14.3
@@ -1,2 +0,2 @@ | ||
/** | ||
/*! | ||
* Copyright (C) 2019 salesforce.com, inc. | ||
@@ -298,4 +298,2 @@ */ | ||
if (!record) { | ||
const activityCreateDistortionEntries = activityBeacon(key, 'createExternalDistortionEntries'); | ||
const activityCreateSandbox = activityBeacon(key, 'createSandbox'); | ||
if (!shared.isObjectLike(endowments)) { | ||
@@ -308,2 +306,3 @@ endowments = undefined; | ||
const distortionFactory = (win) => { | ||
const activityCreateDistortionEntries = activityBeacon(key, 'createExternalDistortionEntries'); | ||
activityCreateDistortionEntries.start(); | ||
@@ -314,2 +313,3 @@ const distortionEntries = distortion.createExternalDistortionEntries(win, key, evaluateInSandbox, config); | ||
}; | ||
const activityCreateSandbox = activityBeacon(key, 'createSandbox'); | ||
activityCreateSandbox.start(); | ||
@@ -354,4 +354,2 @@ record = createSandbox(key, distortionFactory, endowments); | ||
if (!record) { | ||
const activityCreateDistortionEntries = activityBeacon(CORE_SANDBOX_KEY, 'createInternalDistortionEntries'); | ||
const activityCreateSandbox = activityBeacon(CORE_SANDBOX_KEY, 'createSandbox'); | ||
if (!shared.isObjectLike(endowments)) { | ||
@@ -364,2 +362,3 @@ endowments = undefined; | ||
const distortionFactory = (win) => { | ||
const activityCreateDistortionEntries = activityBeacon(CORE_SANDBOX_KEY, 'createInternalDistortionEntries'); | ||
activityCreateDistortionEntries.start(); | ||
@@ -370,2 +369,3 @@ const distortionEntries = distortion.createInternalDistortionEntries(win, CORE_SANDBOX_KEY, evaluateInCoreSandbox, config); | ||
}; | ||
const activityCreateSandbox = activityBeacon(CORE_SANDBOX_KEY, 'createSandbox'); | ||
activityCreateSandbox.start(); | ||
@@ -403,2 +403,2 @@ record = createSandbox(CORE_SANDBOX_KEY, distortionFactory, endowments); | ||
exports.evaluateInSandbox = evaluateInSandbox; | ||
/** version: 0.14.2 */ | ||
/*! version: 0.14.3 */ |
@@ -1,2 +0,2 @@ | ||
/** | ||
/*! | ||
* Copyright (C) 2019 salesforce.com, inc. | ||
@@ -290,4 +290,2 @@ */ | ||
if (!record) { | ||
const activityCreateDistortionEntries = activityBeacon(key, 'createExternalDistortionEntries'); | ||
const activityCreateSandbox = activityBeacon(key, 'createSandbox'); | ||
if (!isObjectLike(endowments)) { | ||
@@ -300,2 +298,3 @@ endowments = undefined; | ||
const distortionFactory = (win) => { | ||
const activityCreateDistortionEntries = activityBeacon(key, 'createExternalDistortionEntries'); | ||
activityCreateDistortionEntries.start(); | ||
@@ -306,2 +305,3 @@ const distortionEntries = createExternalDistortionEntries(win, key, evaluateInSandbox, config); | ||
}; | ||
const activityCreateSandbox = activityBeacon(key, 'createSandbox'); | ||
activityCreateSandbox.start(); | ||
@@ -346,4 +346,2 @@ record = createSandbox(key, distortionFactory, endowments); | ||
if (!record) { | ||
const activityCreateDistortionEntries = activityBeacon(CORE_SANDBOX_KEY, 'createInternalDistortionEntries'); | ||
const activityCreateSandbox = activityBeacon(CORE_SANDBOX_KEY, 'createSandbox'); | ||
if (!isObjectLike(endowments)) { | ||
@@ -356,2 +354,3 @@ endowments = undefined; | ||
const distortionFactory = (win) => { | ||
const activityCreateDistortionEntries = activityBeacon(CORE_SANDBOX_KEY, 'createInternalDistortionEntries'); | ||
activityCreateDistortionEntries.start(); | ||
@@ -362,2 +361,3 @@ const distortionEntries = createInternalDistortionEntries(win, CORE_SANDBOX_KEY, evaluateInCoreSandbox, config); | ||
}; | ||
const activityCreateSandbox = activityBeacon(CORE_SANDBOX_KEY, 'createSandbox'); | ||
activityCreateSandbox.start(); | ||
@@ -393,2 +393,2 @@ record = createSandbox(CORE_SANDBOX_KEY, distortionFactory, endowments); | ||
export { CORE_SANDBOX_KEY, evaluateInCoreSandbox, evaluateInSandbox }; | ||
/** version: 0.14.2 */ | ||
/*! version: 0.14.3 */ |
{ | ||
"name": "@locker/sandbox", | ||
"version": "0.14.2", | ||
"version": "0.14.3", | ||
"license": "Salesforce Developer Agreement", | ||
@@ -19,7 +19,7 @@ "author": "Salesforce UI Security Team", | ||
"dependencies": { | ||
"@locker/distortion": "0.14.2", | ||
"@locker/instrumentation": "0.14.2", | ||
"@locker/distortion": "0.14.3", | ||
"@locker/instrumentation": "0.14.3", | ||
"@locker/near-membrane-dom": "0.6.1", | ||
"@locker/shared": "0.14.2", | ||
"@locker/shared-dom": "0.14.2" | ||
"@locker/shared": "0.14.3", | ||
"@locker/shared-dom": "0.14.3" | ||
}, | ||
@@ -30,3 +30,3 @@ "files": [ | ||
], | ||
"gitHead": "b283257c4ad4fa4169dfd474b4c112096323ae46" | ||
"gitHead": "d7dd7f95caa14be3c519d654b4ba645b07f14f0f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
43612
+ Added@locker/distortion@0.14.3(transitive)
+ Added@locker/html-sanitizer@0.14.3(transitive)
+ Added@locker/instrumentation@0.14.3(transitive)
+ Added@locker/shared@0.14.3(transitive)
+ Added@locker/shared-dom@0.14.3(transitive)
+ Added@locker/shared-url@0.14.3(transitive)
- Removed@locker/distortion@0.14.2(transitive)
- Removed@locker/html-sanitizer@0.14.2(transitive)
- Removed@locker/instrumentation@0.14.2(transitive)
- Removed@locker/shared@0.14.2(transitive)
- Removed@locker/shared-dom@0.14.2(transitive)
- Removed@locker/shared-url@0.14.2(transitive)
Updated@locker/distortion@0.14.3
Updated@locker/shared@0.14.3
Updated@locker/shared-dom@0.14.3