ses 0.15.23 → 0.15.24
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 +9 -1
- 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 -523
package/NEWS.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
User-visible changes in SES:
|
|
2
2
|
|
|
3
|
-
# v0.15.
|
|
3
|
+
# v0.15.24 (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
|
+
|
|
11
|
+
# v0.15.23 (2022-09-27)
|
|
4
12
|
|
|
5
13
|
- Fixes the unhandled promise rejection logic to report unhandled rejections
|
|
6
14
|
when the promise is collected. Because of a bug it previously only reported
|
package/dist/lockdown.cjs
CHANGED
|
@@ -1990,7 +1990,7 @@ const evadeHtmlCommentTest= (src)=>{
|
|
|
1990
1990
|
// /////////////////////////////////////////////////////////////////////////////
|
|
1991
1991
|
$h_once.evadeHtmlCommentTest(evadeHtmlCommentTest);
|
|
1992
1992
|
const importPattern= new FERAL_REG_EXP(
|
|
1993
|
-
'(^|[^.])\\bimport(\\s*(?:\\(|/[/*]))',
|
|
1993
|
+
'(^|[^.]|\\.\\.\\.)\\bimport(\\s*(?:\\(|/[/*]))',
|
|
1994
1994
|
'g');
|
|
1995
1995
|
|
|
1996
1996
|
|
package/dist/lockdown.mjs
CHANGED
|
@@ -1990,7 +1990,7 @@ const evadeHtmlCommentTest= (src)=>{
|
|
|
1990
1990
|
// /////////////////////////////////////////////////////////////////////////////
|
|
1991
1991
|
$h_once.evadeHtmlCommentTest(evadeHtmlCommentTest);
|
|
1992
1992
|
const importPattern= new FERAL_REG_EXP(
|
|
1993
|
-
'(^|[^.])\\bimport(\\s*(?:\\(|/[/*]))',
|
|
1993
|
+
'(^|[^.]|\\.\\.\\.)\\bimport(\\s*(?:\\(|/[/*]))',
|
|
1994
1994
|
'g');
|
|
1995
1995
|
|
|
1996
1996
|
|
package/dist/lockdown.umd.js
CHANGED
|
@@ -1990,7 +1990,7 @@ const evadeHtmlCommentTest= (src)=>{
|
|
|
1990
1990
|
// /////////////////////////////////////////////////////////////////////////////
|
|
1991
1991
|
$h_once.evadeHtmlCommentTest(evadeHtmlCommentTest);
|
|
1992
1992
|
const importPattern= new FERAL_REG_EXP(
|
|
1993
|
-
'(^|[^.])\\bimport(\\s*(?:\\(|/[/*]))',
|
|
1993
|
+
'(^|[^.]|\\.\\.\\.)\\bimport(\\s*(?:\\(|/[/*]))',
|
|
1994
1994
|
'g');
|
|
1995
1995
|
|
|
1996
1996
|
|