Repository: tobie/specref
Pull request #680 (2021-08-16 20:02:18)

Adding ECMAScript 12/ES2021


Patch:
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 000000000..b6910a8b7
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,16 @@
+name: Node CI
+
+on:
+  push:
+    branches:
+      - main
+  pull_request: {}
+
+jobs:
+  test:
+    name: test pull request
+    runs-on: macos-latest
+    steps:
+      - uses: actions/checkout@v2
+      - run: npm install
+      - run: npm test
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index be9fe6f66..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-sudo: false
-language: node_js
-node_js:
-  - lts/*
diff --git a/refs/biblio.json b/refs/biblio.json
index 10d17c528..dc55b6068 100644
--- a/refs/biblio.json
+++ b/refs/biblio.json
@@ -1124,6 +1124,9 @@
             "2020": {
                 "aliasOf": "ECMASCRIPT-11.0"
             },
+            "2021": {
+                "aliasOf": "ECMASCRIPT-12.0"
+            },
             "5.1": {
                 "title": "ECMA-262 Edition 5.1, The ECMAScript Language Specification",
                 "rawDate": "2011-06",
@@ -1190,6 +1193,15 @@
                 "authors": [
                     "Jordan Harband"
                 ]
+            },
+            "12.0": {
+                "title": "ECMA-262 12th Edition, The ECMAScript 2021 Language Specification",
+                "rawDate": "2021-06",
+                "href": "https://262.ecma-international.org/12.0/",
+                "status": "Standard",
+                "authors": [
+                    "Jordan Harband"
+                ]
             }
         },
         "repository": "https://github.com/tc39/ecma262"
@@ -4329,13 +4341,42 @@
     },
     "json-schema": {
         "authors": [
-            "K. Zyp"
+            "Austin Wright",
+            "Henry Andrews",
+            "Ben Hutton",
+            "Greg Dennis"
         ],
-        "href": "https://datatracker.ietf.org/doc/html/draft-zyp-json-schema",
+        "href": "https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema",
         "publisher": "Internet Engineering Task Force (IETF)",
         "status": "Internet-Draft",
-        "rawDate": "2013-01-31",
-        "title": "JSON Schema: core definitions and terminology"
+        "rawDate": "2020-12-08",
+        "title": "JSON Schema: A Media Type for Describing JSON Documents",
+        "repository": "https://github.com/json-schema-org/json-schema-spec",
+        "versions": {
+            "2020-12": {
+                "authors": [
+                    "Austin Wright",
+                    "Henry Andrews",
+                    "Ben Hutton",
+                    "Greg Dennis"
+                ],
+                "href": "https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00",
+                "status": "Internet-Draft",
+                "rawDate": "2020-12-08",
+                "title": "JSON Schema: A Media Type for Describing JSON Documents. Draft 2020-12"
+            },
+            "04": {
+                "authors": [
+                    "Kris Zyp",
+                    "Francis Galiegue",
+                    "Gary Court"
+                ],
+                "href": "https://datatracker.ietf.org/doc/html/draft-zyp-json-schema-04",
+                "status": "Internet-Draft",
+                "rawDate": "2013-01-31",
+                "title": "JSON Schema: core definitions and terminology. Draft 4"
+            }
+        }
     },
     "locn": {
         "authors": [


Test patch:
diff --git a/test/ref-list.json b/test/ref-list.json
index 66ea1a7d2..d663da352 100644
--- a/test/ref-list.json
+++ b/test/ref-list.json
@@ -38167,6 +38167,10 @@
     "JSON-RPC",
     "json-schema",
     "JSON-SCHEMA",
+    "json-schema-04",
+    "JSON-SCHEMA-04",
+    "json-schema-2020-12",
+    "JSON-SCHEMA-2020-12",
     "JUSTIFY",
     "JWK",
     "JWT",