Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ses

Package Overview
Dependencies
Maintainers
5
Versions
105
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.15.0 to 0.15.1

10

CHANGELOG.md

@@ -6,2 +6,12 @@ # Change Log

### [0.15.1](https://github.com/endojs/endo/compare/ses@0.15.0...ses@0.15.1) (2021-11-16)
### Bug Fixes
* **ses:** Add errorTrapping none to type definition ([#935](https://github.com/endojs/endo/issues/935)) ([313d47c](https://github.com/endojs/endo/commit/313d47c5a5c02afcd57e933ca876fec22a059972))
* **ses:** Include error in trapped error log ([#936](https://github.com/endojs/endo/issues/936)) ([22c4644](https://github.com/endojs/endo/commit/22c4644b6ad31c9eb7fdb4d760d91f8667e7a2c7))
## [0.15.0](https://github.com/endojs/endo/compare/ses@0.14.4...ses@0.15.0) (2021-11-02)

@@ -8,0 +18,0 @@

2

index.d.ts

@@ -21,3 +21,3 @@

consoleTaming?: 'safe' | 'unsafe';
errorTrapping?: 'platform' | 'exit' | 'abort' | 'report';
errorTrapping?: 'platform' | 'exit' | 'abort' | 'report' | 'none';
errorTaming?: 'safe' | 'unsafe';

@@ -24,0 +24,0 @@ dateTaming?: 'safe' | 'unsafe'; // deprecated

User-visible changes in SES:
# 0.15.1 (2021-11-15)
- The TypeScript definition of `lockdown` now allows for the option
`"errorTrapping": "none"`.
- Fixes error trapping on the web, showing both the message (and stack) of any
error that throws out of the top of an event.
# 0.15.0 (2021-11-02)

@@ -4,0 +11,0 @@

{
"name": "ses",
"version": "0.15.0",
"version": "0.15.1",
"description": "Hardened JavaScript for Fearless Cooperation",

@@ -62,6 +62,6 @@ "keywords": [

"devDependencies": {
"@endo/compartment-mapper": "^0.5.5",
"@endo/eslint-config": "^0.3.17",
"@endo/static-module-record": "^0.6.5",
"@endo/test262-runner": "^0.1.11",
"@endo/compartment-mapper": "^0.5.6",
"@endo/eslint-config": "^0.3.18",
"@endo/static-module-record": "^0.6.6",
"@endo/test262-runner": "^0.1.12",
"ava": "^3.12.1",

@@ -183,3 +183,3 @@ "babel-eslint": "^10.0.3",

},
"gitHead": "bf06e1432ab8fa377e19610c883e4c40c4002089"
"gitHead": "f445a041c413195f29c2e929e28f87c62a80d943"
}

@@ -80,5 +80,3 @@ // @ts-check

// eslint-disable-next-line @endo/no-polymorphic-call
const stackString = loggedErrorHandler.getStackString(event.error);
// eslint-disable-next-line @endo/no-polymorphic-call
causalConsole.error(stackString);
causalConsole.error(event.error);
if (errorTrapping === 'exit' || errorTrapping === 'abort') {

@@ -85,0 +83,0 @@ globalThis.window.location.href = `about:blank`;

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc