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.14.0 to 0.14.1

9

CHANGELOG.md

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

### [0.14.1](https://github.com/endojs/endo/compare/ses@0.14.0...ses@0.14.1) (2021-08-13)
### Features
* **ses:** Add permits for at methods ([#857](https://github.com/endojs/endo/issues/857)) ([8b9e138](https://github.com/endojs/endo/commit/8b9e13830113fef9c3b5a36ba88436dba5677b4c)), closes [#854](https://github.com/endojs/endo/issues/854)
## [0.14.0](https://github.com/endojs/endo/compare/ses@0.13.4...ses@0.14.0) (2021-07-22)

@@ -8,0 +17,0 @@

User-visible changes in SES:
# 0.14.1 (2021-08-12)
- Adds permits for `Array.prototype.at` and `String.prototype.at` which are
Stage 3 proposals for ECMA 262.
# 0.14.0 (2021-07-22)

@@ -4,0 +9,0 @@

12

package.json
{
"name": "ses",
"version": "0.14.0",
"version": "0.14.1",
"description": "Secure ECMAScript",

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

"devDependencies": {
"@endo/compartment-mapper": "^0.5.0",
"@endo/eslint-config": "^0.3.12",
"@endo/static-module-record": "^0.6.0",
"@endo/test262-runner": "^0.1.6",
"@endo/compartment-mapper": "^0.5.1",
"@endo/eslint-config": "^0.3.13",
"@endo/static-module-record": "^0.6.1",
"@endo/test262-runner": "^0.1.7",
"ava": "^3.12.1",

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

},
"gitHead": "2e9673128014d82f238e845c9285ba7005c30900"
"gitHead": "9d8ad5a2dff0cdb8fc7ce4daa119b3aa31a44fa4"
}

@@ -14,3 +14,3 @@ # SES

other. By sharing the intrinsics, programs from separate compartments
can recognize each other's arrays, data objects, and so on.
can recognize each other's arrays, data objects, and so on.
* **Strict mode** SES enforces JavaScript strict mode that enhances security,

@@ -79,3 +79,3 @@ for example by changing some silent errors into throw errors.

expressions, locale methods, and errors.
A tamed `RexExp` does not have the deprecated `compile` method.
A tamed `RegExp` does not have the deprecated `compile` method.
A tamed error does not have a V8 `stack`, but the `console` can still see the

@@ -300,3 +300,3 @@ stack.

"request specifier".
The `importHook` may return an "alias" objeect with `record`, `compartment`,
The `importHook` may return an "alias" object with `record`, `compartment`,
and `module` properties.

@@ -303,0 +303,0 @@

@@ -174,3 +174,3 @@ /**

* the `constructor` property on the new prototype by assignment. We've
* see this several times.
* seen this several times.
*

@@ -177,0 +177,0 @@ * The cost of enabling all these is that they create a miserable debugging

@@ -11,3 +11,3 @@ import { FERAL_FUNCTION, arrayJoin } from './commons.js';

function buildOptimizer(constants) {
// No need to build an oprimizer when there are no constants.
// No need to build an optimizer when there are no constants.
if (constants.length === 0) return '';

@@ -48,3 +48,3 @@ // Use 'this' to avoid going through the scope proxy, which is unecessary

// - keywords like 'function' which are reserved keywords, and cannot be
// used as a variables, so they is not part to the optimizer.
// used as a variable, so they are not part of the optimizer.
// - when 'eval' is looked up in the proxy, and it's the first time it is

@@ -51,0 +51,0 @@ // looked up after allowNextEvalToBeUnsafe is turned on, the proxy returns

@@ -20,3 +20,3 @@ import {

* alwaysThrowHandler
* This is an object that throws if any propery is called. It's used as
* This is an object that throws if any property is called. It's used as
* a proxy handler which throws on any trap called.

@@ -23,0 +23,0 @@ * It's made from a proxy with a get trap that throws. It's safe to

@@ -115,3 +115,3 @@ // @ts-check

* enables direct access to the outside world that cannot be
* surpressed or intercepted without parsing and rewriting. Instead,
* suppressed or intercepted without parsing and rewriting. Instead,
* this shim conservatively rejects any source text that seems to

@@ -118,0 +118,0 @@ * contain such an expression. To do this safely without parsing, we

@@ -772,2 +772,6 @@ /* eslint-disable no-restricted-globals */

compare: false,
// Stage 3:
// https://tc39.es/proposal-relative-indexing-method/
at: fn,
},

@@ -861,2 +865,6 @@

'@@species': getter,
// Stage 3:
// https://tc39.es/proposal-relative-indexing-method/
at: fn,
},

@@ -863,0 +871,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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc