Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update URLs #98

Merged
merged 6 commits into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ safety, but are not sufficient by themselves.

**SES**, or *Secure EcmaScript*, is a dynamic, absorbed subset of
ES-strict. To achieve this subsetting, SES builds on [Frozen
Realms](https://github.com/tc39/proposal-frozen-realms/) which builds
on [Realms](https://github.com/tc39/proposal-realms/). (Shims at
Realms](https://github.com/tc39/proposal-ses) which builds
on [[Shadow]Realms](https://github.com/tc39/proposal-shadowrealm). (Shims at
[Realms
shim](https://github.com/Agoric/realms-shim) and
[Frozen Realms
shim](https://github.com/tc39/proposal-frozen-realms/tree/master/shim).)
shim](https://github.com/endojs/endo/tree/master/packages/ses).)
Comment on lines 84 to +90
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs fresh words since SES now uses in-realm lockdown() with Compartments instead of Frozen Realms, but I'm not entirely sure what exactly to write.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SES statically accepts all programs accepted by ES-strict and can run
on ES-strict without internal modification.

Expand Down Expand Up @@ -120,9 +120,9 @@ and provide sound static analysis info for that code.

The only difference between TinySES and Jessie is that correct TinySES
programs may rely on the presence of the [entire SES
runtime](https://github.com/Agoric/SES/blob/master/src/bundle/whitelist.js).
runtime](https://github.com/endojs/endo/blob/master/packages/ses/src/whitelist.js).
Correct Jessie programs may only rely on a [minimal subset of the SES
runtime](https://github.com/Agoric/Jessie/blob/master/src/bundle/whitelist.js)
runtime](https://github.com/endojs/Jessie/blob/main/src/bundle/whitelist.js)
that standalone Jessie implementations can implement for reasonable
effort. However, correct Jessie programs also cannot rely on the
*absence* of the rest of the SES runtime. Jessie and TinySES programs
Expand Down Expand Up @@ -420,7 +420,7 @@ as values received from SES code.

The [`import` expression]() and [`import.meta` expression]()
proposals, by themselves, introduce a security hole in JavaScript. The
[Realm proposal](https://github.com/tc39/proposal-realms)'s traps
[ShadowRealm proposal](https://github.com/tc39/proposal-shadowrealm)'s traps
provide the mechanism needed to plug these holes. On those platforms
that provide either of the security breaking features but do not provide
native support for Realms, safety can only be shimmed at the price of
Expand Down
2 changes: 1 addition & 1 deletion packages/parse/src/quasi-insulate.js.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Subsets of JavaScript, starting from the grammar as defined at
// http://www.ecma-international.org/ecma-262/9.0/#sec-grammar-summary

// See https://github.com/Agoric/Jessie/blob/master/README.md
// See https://github.com/endojs/Jessie/blob/main/README.md
// for documentation of the Jessie grammar defined here.

/// <reference path="peg.d.ts"/>
Expand Down
2 changes: 1 addition & 1 deletion packages/parse/src/quasi-jessie.js.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Subsets of JavaScript, starting from the grammar as defined at
// http://www.ecma-international.org/ecma-262/9.0/#sec-grammar-summary

// See https://github.com/Agoric/Jessie/blob/master/README.md
// See https://github.com/endojs/Jessie/blob/main/README.md
// for documentation of the Jessie grammar defined here.

/// <reference path="peg.d.ts"/>
Expand Down
2 changes: 1 addition & 1 deletion packages/parse/src/quasi-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// http://www.ecma-international.org/ecma-262/9.0/#sec-grammar-summary

// Defined to be extended into the Jessie grammar.
// See https://github.com/Agoric/Jessie/blob/master/README.md
// See https://github.com/endojs/Jessie/blob/main/README.md
// for documentation of the Jessie grammar.

// See also json.org
Expand Down
2 changes: 1 addition & 1 deletion packages/parse/src/quasi-justin.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

// Justin is defined to be extended into the Jessie grammar, which is
// defined to be extended into the JavaScript grammar.
// See https://github.com/Agoric/Jessie/blob/master/README.md
// See https://github.com/endojs/Jessie/blob/main/README.md
// for documentation of the Jessie grammar.

// Justin is defined to be extended into the Chainmail grammar, to
Expand Down
2 changes: 1 addition & 1 deletion packages/stdlib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"keywords": [],
"author": "Agoric",
"license": "Apache-2.0",
"homepage": "https://github.com/endojs/Jessie/tree/master/packages/lib#readme",
"homepage": "https://github.com/endojs/Jessie/tree/main/packages/stdlib#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/endojs/Jessie.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/types/jessie-proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// to provide a smoother programming experience.
//
// When they have become a part of:
// https://github.com/Agoric/Jessie/blob/master/src/bundle/whitelist.js
// https://github.com/endojs/Jessie/blob/main/src/bundle/whitelist.js
// then they will be moved to lib.jessie.d.ts.
//
// Michael FIG <michael+jessica@fig.org>, 2019-02-23
Expand Down
2 changes: 1 addition & 1 deletion scripts/repackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ NEWPKGJSONHASH=$(
} + . + {
name: (.name // "@jessie.js/\($name)"),
version: (.version // "0.1.0"),
homepage: (.homepage // "https://github.com/endojs/Jessie/tree/master/packages/\($name)#readme"),
homepage: (.homepage // "https://github.com/endojs/Jessie/tree/main/packages/\($name)#readme"),
repository: {
type: "git",
url: "git+https://github.com/endojs/Jessie.git",
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/whitelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// limitations under the License.

/**
* Based on https://github.com/Agoric/SES/blob/master/src/bundle/whitelist.js
* Based on https://github.com/endojs/endo/blob/master/packages/ses/src/whitelist.js
*
* @author Mark S. Miller,
*/
Expand Down