From e140dc06a6ccdadba6c293a09265524fd7948c88 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Wed, 29 Mar 2023 12:43:30 -0400 Subject: [PATCH] chore: Replace HEAD refs cf. https://github.com/endojs/endo/pull/1473 --- README.md | 4 ++-- packages/parse/src/boot-peg.js | 2 +- packages/parse/src/quasi-insulate.js.ts | 2 +- packages/parse/src/quasi-jessie.js.ts | 2 +- packages/parse/src/quasi-json.js | 2 +- packages/parse/src/quasi-justin.js | 2 +- packages/stdlib/package.json | 2 +- packages/types/jessie-proposed.d.ts | 2 +- scripts/repackage.sh | 2 +- src/bundle/whitelist.js | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 088e4c9..97cb3ea 100644 --- a/README.md +++ b/README.md @@ -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/endojs/endo/blob/HEAD/packages/ses/src/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/endojs/Jessie/blob/HEAD/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 diff --git a/packages/parse/src/boot-peg.js b/packages/parse/src/boot-peg.js index e9ba6b4..faa22ac 100644 --- a/packages/parse/src/boot-peg.js +++ b/packages/parse/src/boot-peg.js @@ -1,7 +1,7 @@ /* eslint-disable no-underscore-dangle,func-names,no-use-before-define */ // @ts-check // A lot of this code is lifted from: -// https://github.com/erights/quasiParserGenerator/tree/HEAD/src/bootbnf.js +// https://github.com/erights/quasiParserGenerator/tree/master/src/bootbnf.js /// /// diff --git a/packages/parse/src/quasi-insulate.js.ts b/packages/parse/src/quasi-insulate.js.ts index 95cb13b..5d84723 100644 --- a/packages/parse/src/quasi-insulate.js.ts +++ b/packages/parse/src/quasi-insulate.js.ts @@ -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/endojs/Jessie/blob/HEAD/README.md +// See https://github.com/endojs/Jessie/blob/main/README.md // for documentation of the Jessie grammar defined here. /// diff --git a/packages/parse/src/quasi-jessie.js.ts b/packages/parse/src/quasi-jessie.js.ts index 7799ce3..5da9e8a 100644 --- a/packages/parse/src/quasi-jessie.js.ts +++ b/packages/parse/src/quasi-jessie.js.ts @@ -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/endojs/Jessie/blob/HEAD/README.md +// See https://github.com/endojs/Jessie/blob/main/README.md // for documentation of the Jessie grammar defined here. /// diff --git a/packages/parse/src/quasi-json.js b/packages/parse/src/quasi-json.js index 7c0c7ee..25cb201 100644 --- a/packages/parse/src/quasi-json.js +++ b/packages/parse/src/quasi-json.js @@ -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/endojs/Jessie/blob/HEAD/README.md +// See https://github.com/endojs/Jessie/blob/main/README.md // for documentation of the Jessie grammar. // See also json.org diff --git a/packages/parse/src/quasi-justin.js b/packages/parse/src/quasi-justin.js index bf12d84..26378ed 100644 --- a/packages/parse/src/quasi-justin.js +++ b/packages/parse/src/quasi-justin.js @@ -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/endojs/Jessie/blob/HEAD/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 diff --git a/packages/stdlib/package.json b/packages/stdlib/package.json index cd232fe..1cc67b8 100644 --- a/packages/stdlib/package.json +++ b/packages/stdlib/package.json @@ -6,7 +6,7 @@ "keywords": [], "author": "Agoric", "license": "Apache-2.0", - "homepage": "https://github.com/endojs/Jessie/tree/HEAD/packages/stdlib#readme", + "homepage": "https://github.com/endojs/Jessie/tree/main/packages/stdlib#readme", "repository": { "type": "git", "url": "git+https://github.com/endojs/Jessie.git" diff --git a/packages/types/jessie-proposed.d.ts b/packages/types/jessie-proposed.d.ts index 5686304..a632a39 100644 --- a/packages/types/jessie-proposed.d.ts +++ b/packages/types/jessie-proposed.d.ts @@ -3,7 +3,7 @@ // to provide a smoother programming experience. // // When they have become a part of: -// https://github.com/endojs/Jessie/blob/HEAD/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 , 2019-02-23 diff --git a/scripts/repackage.sh b/scripts/repackage.sh index 7f210b2..5a9f046 100755 --- a/scripts/repackage.sh +++ b/scripts/repackage.sh @@ -52,7 +52,7 @@ NEWPKGJSONHASH=$( } + . + { name: (.name // "@jessie.js/\($name)"), version: (.version // "0.1.0"), - homepage: (.homepage // "https://github.com/endojs/Jessie/tree/HEAD/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", diff --git a/src/bundle/whitelist.js b/src/bundle/whitelist.js index 55ecefa..ca8dc58 100644 --- a/src/bundle/whitelist.js +++ b/src/bundle/whitelist.js @@ -14,7 +14,7 @@ // limitations under the License. /** - * Based on https://github.com/endojs/endo/blob/HEAD/packages/ses/src/whitelist.js + * Based on https://github.com/endojs/endo/blob/master/packages/ses/src/whitelist.js * * @author Mark S. Miller, */