Socket
Socket
Sign inDemoInstall

ses

Package Overview
Dependencies
Maintainers
6
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ses - npm Package Compare versions

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`,

5

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc