Comparing version 0.13.4 to 0.13.5
10
NEWS.md
User-visible changes in SES: | ||
# 0.2.2 (2021-06-19) | ||
# 0.13.5 (2021-08-07) | ||
- Censors the pattern `{...import(specifier)`}. | ||
We previously censored `import(specifier)` and expressly allowed | ||
`object.import(specifier)`. | ||
The relaxation for the latter form in version 0.13.0 inadvertently allowed | ||
import with the spread operator. | ||
# 0.13.4 (2021-06-19) | ||
- Adds more TypeScript definitions, importable with `/// <reference | ||
@@ -6,0 +14,0 @@ types="ses"/>`, covering `harden`, `lockdown`, `assert`, and `Compartment`, |
{ | ||
"name": "ses", | ||
"version": "0.13.4", | ||
"version": "0.13.5", | ||
"description": "Secure ECMAScript", | ||
@@ -90,4 +90,3 @@ "keywords": [ | ||
"timeout": "2m" | ||
}, | ||
"gitHead": "9e01f1b96869b8296eed9c6a408e74132a556449" | ||
} | ||
} |
@@ -99,3 +99,6 @@ // @ts-check | ||
const importPattern = new RegExp('(^|[^.])\\bimport(\\s*(?:\\(|/[/*]))', 'g'); | ||
const importPattern = new RegExp( | ||
'(^|[^.]|\\.\\.\\.)\\bimport(\\s*(?:\\(|/[/*]))', | ||
'g', | ||
); | ||
@@ -102,0 +105,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55045
2771794
58