ses 0.17.0 → 0.17.1
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/NEWS.md +8 -0
- package/dist/lockdown.cjs +1 -1
- package/dist/lockdown.mjs +1 -1
- package/dist/lockdown.umd.js +1 -1
- package/dist/lockdown.umd.min.js +1 -1
- package/dist/ses.cjs +1 -1
- package/dist/ses.mjs +1 -1
- package/dist/ses.umd.js +1 -1
- package/dist/ses.umd.min.js +1 -1
- package/package.json +2 -3
- package/src/transforms.js +1 -1
- package/CHANGELOG.md +0 -577
package/NEWS.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
User-visible changes in SES:
|
|
2
2
|
|
|
3
|
+
# v0.17.1 (2023-08-07)
|
|
4
|
+
|
|
5
|
+
- Censors the pattern `{...import(specifier)`}.
|
|
6
|
+
We previously censored `import(specifier)` and expressly allowed
|
|
7
|
+
`object.import(specifier)`.
|
|
8
|
+
The relaxation for the latter form in version 0.13.0 inadvertently allowed
|
|
9
|
+
import with the spread operator.
|
|
10
|
+
|
|
3
11
|
# v0.17.0 (2022-10-24)
|
|
4
12
|
|
|
5
13
|
- Previous versions of SES would leak the proxy used to isolate evaluated
|
package/dist/lockdown.cjs
CHANGED
|
@@ -2047,7 +2047,7 @@ const evadeHtmlCommentTest= (src)=>{
|
|
|
2047
2047
|
// /////////////////////////////////////////////////////////////////////////////
|
|
2048
2048
|
$h_once.evadeHtmlCommentTest(evadeHtmlCommentTest);
|
|
2049
2049
|
const importPattern= new FERAL_REG_EXP(
|
|
2050
|
-
'(^|[^.])\\bimport(\\s*(?:\\(|/[/*]))',
|
|
2050
|
+
'(^|[^.]|\\.\\.\\.)\\bimport(\\s*(?:\\(|/[/*]))',
|
|
2051
2051
|
'g');
|
|
2052
2052
|
|
|
2053
2053
|
|
package/dist/lockdown.mjs
CHANGED
|
@@ -2047,7 +2047,7 @@ const evadeHtmlCommentTest= (src)=>{
|
|
|
2047
2047
|
// /////////////////////////////////////////////////////////////////////////////
|
|
2048
2048
|
$h_once.evadeHtmlCommentTest(evadeHtmlCommentTest);
|
|
2049
2049
|
const importPattern= new FERAL_REG_EXP(
|
|
2050
|
-
'(^|[^.])\\bimport(\\s*(?:\\(|/[/*]))',
|
|
2050
|
+
'(^|[^.]|\\.\\.\\.)\\bimport(\\s*(?:\\(|/[/*]))',
|
|
2051
2051
|
'g');
|
|
2052
2052
|
|
|
2053
2053
|
|
package/dist/lockdown.umd.js
CHANGED
|
@@ -2047,7 +2047,7 @@ const evadeHtmlCommentTest= (src)=>{
|
|
|
2047
2047
|
// /////////////////////////////////////////////////////////////////////////////
|
|
2048
2048
|
$h_once.evadeHtmlCommentTest(evadeHtmlCommentTest);
|
|
2049
2049
|
const importPattern= new FERAL_REG_EXP(
|
|
2050
|
-
'(^|[^.])\\bimport(\\s*(?:\\(|/[/*]))',
|
|
2050
|
+
'(^|[^.]|\\.\\.\\.)\\bimport(\\s*(?:\\(|/[/*]))',
|
|
2051
2051
|
'g');
|
|
2052
2052
|
|
|
2053
2053
|
|