From 1b42316ef8588c60b4f0b35434aac4b10e066935 Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Thu, 7 Jul 2022 10:26:36 -0700 Subject: [PATCH 1/2] Meta: bump ecmarkup to 13.0.0 (#2810) --- package-lock.json | 34 +++++++++++++++++----------------- package.json | 2 +- scripts/publish-biblio.sh | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51e2e920d4..0d3b722b99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "SEE LICENSE IN https://tc39.es/ecma262/#sec-copyright-and-software-license", "dependencies": { - "ecmarkup": "^12.1.1" + "ecmarkup": "^13.0.0" }, "devDependencies": { "glob": "^7.1.6", @@ -712,23 +712,23 @@ } }, "node_modules/ecmarkdown": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/ecmarkdown/-/ecmarkdown-7.0.0.tgz", - "integrity": "sha512-hJxPALjSOpSMMcFjSzwzJBk8EWOu20mYlTfV7BnVTh9er0FEaT2eSx16y36YxqQfdFxPUsa0CSH4fLf0qUclKw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/ecmarkdown/-/ecmarkdown-7.1.0.tgz", + "integrity": "sha512-xTrf1Qj6nCsHGSHaOrAPfALoEH2nPSs+wclpzXEsozVJbEYcTkims59rJiJQB6TxAW2J4oFfoaB2up1wbb9k4w==", "dependencies": { "escape-html": "^1.0.1" } }, "node_modules/ecmarkup": { - "version": "12.1.1", - "resolved": "https://registry.npmjs.org/ecmarkup/-/ecmarkup-12.1.1.tgz", - "integrity": "sha512-VYeNBks2LB8aVC5oOg6apA/1ZMnxynUuTidRoD1SL1p3hUpkDgjbzF0s2hLIn68XBwBFPygcX8fgb2MbYkYi9Q==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/ecmarkup/-/ecmarkup-13.0.0.tgz", + "integrity": "sha512-k3p1WL0PptR3PiBKpk1LzD/TszIfUb/MpDDWJ0XbK4DZHhzoEhYHaaytJxgQh8J5Lajo8bwo6+n/f0LWJ2as7w==", "dependencies": { "chalk": "^4.1.2", "command-line-args": "^5.2.0", "command-line-usage": "^6.1.1", "dedent-js": "^1.0.1", - "ecmarkdown": "^7.0.0", + "ecmarkdown": "^7.1.0", "eslint-formatter-codeframe": "^7.32.1", "fast-glob": "^3.2.7", "grammarkdown": "^3.2.0", @@ -991,7 +991,7 @@ "node_modules/escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" }, "node_modules/escape-string-regexp": { "version": "1.0.5", @@ -2927,23 +2927,23 @@ } }, "ecmarkdown": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/ecmarkdown/-/ecmarkdown-7.0.0.tgz", - "integrity": "sha512-hJxPALjSOpSMMcFjSzwzJBk8EWOu20mYlTfV7BnVTh9er0FEaT2eSx16y36YxqQfdFxPUsa0CSH4fLf0qUclKw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/ecmarkdown/-/ecmarkdown-7.1.0.tgz", + "integrity": "sha512-xTrf1Qj6nCsHGSHaOrAPfALoEH2nPSs+wclpzXEsozVJbEYcTkims59rJiJQB6TxAW2J4oFfoaB2up1wbb9k4w==", "requires": { "escape-html": "^1.0.1" } }, "ecmarkup": { - "version": "12.1.1", - "resolved": "https://registry.npmjs.org/ecmarkup/-/ecmarkup-12.1.1.tgz", - "integrity": "sha512-VYeNBks2LB8aVC5oOg6apA/1ZMnxynUuTidRoD1SL1p3hUpkDgjbzF0s2hLIn68XBwBFPygcX8fgb2MbYkYi9Q==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/ecmarkup/-/ecmarkup-13.0.0.tgz", + "integrity": "sha512-k3p1WL0PptR3PiBKpk1LzD/TszIfUb/MpDDWJ0XbK4DZHhzoEhYHaaytJxgQh8J5Lajo8bwo6+n/f0LWJ2as7w==", "requires": { "chalk": "^4.1.2", "command-line-args": "^5.2.0", "command-line-usage": "^6.1.1", "dedent-js": "^1.0.1", - "ecmarkdown": "^7.0.0", + "ecmarkdown": "^7.1.0", "eslint-formatter-codeframe": "^7.32.1", "fast-glob": "^3.2.7", "grammarkdown": "^3.2.0", @@ -3135,7 +3135,7 @@ "escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" }, "escape-string-regexp": { "version": "1.0.5", diff --git a/package.json b/package.json index e5392b7a6e..813f2a53db 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "license": "SEE LICENSE IN https://tc39.es/ecma262/#sec-copyright-and-software-license", "homepage": "https://tc39.es/ecma262/", "dependencies": { - "ecmarkup": "^12.1.1" + "ecmarkup": "^13.0.0" }, "devDependencies": { "glob": "^7.1.6", diff --git a/scripts/publish-biblio.sh b/scripts/publish-biblio.sh index 09e204b4de..af21e55d65 100755 --- a/scripts/publish-biblio.sh +++ b/scripts/publish-biblio.sh @@ -10,7 +10,7 @@ cp LICENSE.md biblio/ cd biblio COMMIT_COUNT=$(git rev-list --count HEAD) -npm version --no-git-tag-version "2.0.${COMMIT_COUNT}" +npm version --no-git-tag-version "2.1.${COMMIT_COUNT}" SHORT_COMMIT=$(git rev-parse --short HEAD) LONG_COMMIT=$(git rev-parse --verify HEAD) From 358fcc9e5d3dfec3368a29d883f7849a4f6ae4b6 Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Thu, 7 Jul 2022 10:26:37 -0700 Subject: [PATCH 2/2] Markup: give math conversion methods AOIDs (#2810) --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index d890c50c73..27c6fab5cf 100644 --- a/spec.html +++ b/spec.html @@ -1015,7 +1015,7 @@

Mathematical Operations

Numeric operators applied to mixed-type operands (such as a Number and a mathematical value) are not defined and should be considered an editorial error in this specification.

This specification denotes most numeric values in base 10; it also uses numeric values of the form 0x followed by digits 0-9 or A-F as base-16 values.

When the term integer is used in this specification, it refers to a mathematical value which is in the set of integers, unless otherwise stated. When the term integral Number is used in this specification, it refers to a Number value whose mathematical value is in the set of integers.

-

Conversions between mathematical values and Numbers or BigInts are always explicit in this document. A conversion from a mathematical value or extended mathematical value _x_ to a Number is denoted as "the Number value for _x_" or 𝔽(_x_), and is defined in . A conversion from an integer _x_ to a BigInt is denoted as "the BigInt value for _x_" or (_x_). A conversion from a Number or BigInt _x_ to a mathematical value is denoted as "the mathematical value of _x_", or (_x_). The mathematical value of *+0*𝔽 and *-0*𝔽 is the mathematical value 0. The mathematical value of non-finite values is not defined. The extended mathematical value of _x_ is the mathematical value of _x_ for finite values, and is +∞ and -∞ for *+∞*𝔽 and *-∞*𝔽 respectively; it is not defined for *NaN*.

+

Conversions between mathematical values and Numbers or BigInts are always explicit in this document. A conversion from a mathematical value or extended mathematical value _x_ to a Number is denoted as "the Number value for _x_" or 𝔽(_x_), and is defined in . A conversion from an integer _x_ to a BigInt is denoted as "the BigInt value for _x_" or ℤ(_x_). A conversion from a Number or BigInt _x_ to a mathematical value is denoted as "the mathematical value of _x_", or ℝ(_x_). The mathematical value of *+0*𝔽 and *-0*𝔽 is the mathematical value 0. The mathematical value of non-finite values is not defined. The extended mathematical value of _x_ is the mathematical value of _x_ for finite values, and is +∞ and -∞ for *+∞*𝔽 and *-∞*𝔽 respectively; it is not defined for *NaN*.

The mathematical function abs(_x_) produces the absolute value of _x_, which is -_x_ if _x_ < 0 and otherwise is _x_ itself.

The mathematical function min(_x1_, _x2_, … , _xN_) produces the mathematically smallest of _x1_ through _xN_. The mathematical function max(_x1_, _x2_, ..., _xN_) produces the mathematically largest of _x1_ through _xN_. The domain and range of these mathematical functions are the extended mathematical values.

The notation “_x_ modulo _y_” (_y_ must be finite and non-zero) computes a value _k_ of the same sign as _y_ (or zero) such that abs(_k_) < abs(_y_) and _x_ - _k_ = _q_ × _y_ for some integer _q_.