mip-sandbox
Advanced tools
Comparing version 1.0.21 to 1.0.22
@@ -176,2 +176,4 @@ /** | ||
properties: ORIGINAL.concat([ | ||
// https://github.com/mipengine/mip2/issues/143 | ||
'CustomEvent', | ||
'File', | ||
@@ -178,0 +180,0 @@ 'FileList', |
{ | ||
"name": "mip-sandbox", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "sandbox tools for MIP project", | ||
@@ -5,0 +5,0 @@ "main": "lib/sandbox.js", |
@@ -286,3 +286,7 @@ # mip-sandbox | ||
'Uint8ClampedArray', | ||
// 1.0.17 新增 WebSocket | ||
'WebSocket', | ||
'WritableStream', | ||
// issue https://github.com/mipengine/mip2/issues/62 | ||
'crypto', | ||
'clearInterval', | ||
@@ -325,3 +329,5 @@ 'clearTimeout', | ||
// mip1 polyfill | ||
'fetchJsonp' | ||
'fetchJsonp', | ||
// mip-data ready status | ||
'mipDataPromises' | ||
] | ||
@@ -335,3 +341,5 @@ | ||
'define', | ||
'import' | ||
'import', | ||
// process.env.NODE_ENV | ||
'process' | ||
] | ||
@@ -350,2 +358,4 @@ | ||
...RESERVED, | ||
// https://github.com/mipengine/mip2/issues/143 | ||
'CustomEvent', | ||
'File', | ||
@@ -381,2 +391,4 @@ 'FileList', | ||
properties: [ | ||
// https://github.com/mipengine/mip2/issues/95 | ||
'domain', | ||
'head', | ||
@@ -434,3 +446,5 @@ 'body', | ||
properties: [ | ||
'cookie' | ||
'cookie', | ||
// https://github.com/mipengine/mip2/issues/95 | ||
'domain' | ||
] | ||
@@ -463,3 +477,14 @@ }, | ||
'util', | ||
'sandbox' | ||
'sandbox', | ||
{ | ||
name: 'viewer', | ||
access: 'readonly', | ||
properties: [ | ||
'isIframed', | ||
'sendMessage', | ||
'open' | ||
] | ||
}, | ||
// 'viewer', | ||
'MIP_ROOT_PAGE' | ||
] | ||
@@ -466,0 +491,0 @@ }, |
226147
5403
500