From ebf5af45d9370248bc7ad127780bad2bdf3ec4e2 Mon Sep 17 00:00:00 2001 From: Howard Braham Date: Mon, 17 Jul 2023 11:51:36 -0700 Subject: [PATCH 1/3] fix(lint): Change endOfLine rules to better support linting on Windows --- .prettierrc.js | 3 ++- packages/base/src/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.prettierrc.js b/.prettierrc.js index b2d98d2e..fa85e10c 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,6 +1,7 @@ -// All of these are defaults except singleQuote, but we specify them +// All of these are defaults except singleQuote and endOfLine, but we specify them // for explicitness module.exports = { + endOfLine: 'auto', quoteProps: 'as-needed', singleQuote: true, tabWidth: 2, diff --git a/packages/base/src/index.js b/packages/base/src/index.js index 4e126ff8..bc9ea17a 100644 --- a/packages/base/src/index.js +++ b/packages/base/src/index.js @@ -35,8 +35,9 @@ module.exports = { 'prettier/prettier': [ 'error', { - // All of these are defaults except singleQuote, but we specify them + // All of these are defaults except singleQuote and endOfLine, but we specify them // for explicitness + endOfLine: 'auto', quoteProps: 'as-needed', singleQuote: true, tabWidth: 2, From 48f479bd386016d38c1ae2bd6f6e22d46affdc6d Mon Sep 17 00:00:00 2001 From: Howard Braham Date: Tue, 18 Jul 2023 10:35:35 -0700 Subject: [PATCH 2/3] new snapshots --- packages/base/rules-snapshot.json | 25 +++++++++---------------- packages/base/src/environment.json | 24 ++++++++---------------- packages/commonjs/rules-snapshot.json | 24 ++++++++---------------- packages/commonjs/src/environment.json | 24 ++++++++---------------- packages/nodejs/rules-snapshot.json | 24 ++++++++---------------- packages/nodejs/src/environment.json | 24 ++++++++---------------- 6 files changed, 49 insertions(+), 96 deletions(-) diff --git a/packages/base/rules-snapshot.json b/packages/base/rules-snapshot.json index dd05f957..e4dc4aef 100644 --- a/packages/base/rules-snapshot.json +++ b/packages/base/rules-snapshot.json @@ -540,6 +540,10 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "ClipboardItem", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "close", "message": "This global is not available in the Node.js and browser environment." @@ -884,10 +888,6 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "FormData", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js and browser environment." @@ -928,10 +928,6 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "Headers", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "history", "message": "This global is not available in the Node.js and browser environment." @@ -1564,6 +1560,10 @@ "name": "Navigator", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "NavigatorUAData", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js and browser environment." @@ -2248,10 +2248,6 @@ "name": "reportError", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "Request", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js and browser environment." @@ -2276,10 +2272,6 @@ "name": "resizeTo", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "Response", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js and browser environment." @@ -3310,6 +3302,7 @@ "prettier/prettier": [ "error", { + "endOfLine": "auto", "quoteProps": "as-needed", "singleQuote": true, "tabWidth": 2, diff --git a/packages/base/src/environment.json b/packages/base/src/environment.json index 381dd154..d6043b4d 100644 --- a/packages/base/src/environment.json +++ b/packages/base/src/environment.json @@ -209,6 +209,10 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "ClipboardItem", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "close", "message": "This global is not available in the Node.js and browser environment." @@ -553,10 +557,6 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "FormData", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js and browser environment." @@ -597,10 +597,6 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "Headers", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "history", "message": "This global is not available in the Node.js and browser environment." @@ -1233,6 +1229,10 @@ "name": "Navigator", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "NavigatorUAData", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js and browser environment." @@ -1917,10 +1917,6 @@ "name": "reportError", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "Request", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js and browser environment." @@ -1945,10 +1941,6 @@ "name": "resizeTo", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "Response", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js and browser environment." diff --git a/packages/commonjs/rules-snapshot.json b/packages/commonjs/rules-snapshot.json index 9fa1721e..f5a11b61 100644 --- a/packages/commonjs/rules-snapshot.json +++ b/packages/commonjs/rules-snapshot.json @@ -209,6 +209,10 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "ClipboardItem", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "close", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -553,10 +557,6 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "FormData", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -597,10 +597,6 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "Headers", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "history", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1233,6 +1229,10 @@ "name": "Navigator", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "NavigatorUAData", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1917,10 +1917,6 @@ "name": "reportError", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "Request", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1945,10 +1941,6 @@ "name": "resizeTo", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "Response", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js and browser (CommonJS) environment." diff --git a/packages/commonjs/src/environment.json b/packages/commonjs/src/environment.json index 9fa1721e..f5a11b61 100644 --- a/packages/commonjs/src/environment.json +++ b/packages/commonjs/src/environment.json @@ -209,6 +209,10 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "ClipboardItem", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "close", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -553,10 +557,6 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "FormData", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -597,10 +597,6 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "Headers", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "history", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1233,6 +1229,10 @@ "name": "Navigator", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "NavigatorUAData", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1917,10 +1917,6 @@ "name": "reportError", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "Request", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1945,10 +1941,6 @@ "name": "resizeTo", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "Response", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js and browser (CommonJS) environment." diff --git a/packages/nodejs/rules-snapshot.json b/packages/nodejs/rules-snapshot.json index b9d5ef3d..7b4d1a85 100644 --- a/packages/nodejs/rules-snapshot.json +++ b/packages/nodejs/rules-snapshot.json @@ -246,6 +246,10 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js environment." }, + { + "name": "ClipboardItem", + "message": "This global is not available in the Node.js environment." + }, { "name": "close", "message": "This global is not available in the Node.js environment." @@ -590,10 +594,6 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js environment." }, - { - "name": "FormData", - "message": "This global is not available in the Node.js environment." - }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js environment." @@ -634,10 +634,6 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js environment." }, - { - "name": "Headers", - "message": "This global is not available in the Node.js environment." - }, { "name": "history", "message": "This global is not available in the Node.js environment." @@ -1270,6 +1266,10 @@ "name": "Navigator", "message": "This global is not available in the Node.js environment." }, + { + "name": "NavigatorUAData", + "message": "This global is not available in the Node.js environment." + }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js environment." @@ -1954,10 +1954,6 @@ "name": "reportError", "message": "This global is not available in the Node.js environment." }, - { - "name": "Request", - "message": "This global is not available in the Node.js environment." - }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js environment." @@ -1982,10 +1978,6 @@ "name": "resizeTo", "message": "This global is not available in the Node.js environment." }, - { - "name": "Response", - "message": "This global is not available in the Node.js environment." - }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js environment." diff --git a/packages/nodejs/src/environment.json b/packages/nodejs/src/environment.json index 47ed1e60..71cc5409 100644 --- a/packages/nodejs/src/environment.json +++ b/packages/nodejs/src/environment.json @@ -209,6 +209,10 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js environment." }, + { + "name": "ClipboardItem", + "message": "This global is not available in the Node.js environment." + }, { "name": "close", "message": "This global is not available in the Node.js environment." @@ -553,10 +557,6 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js environment." }, - { - "name": "FormData", - "message": "This global is not available in the Node.js environment." - }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js environment." @@ -597,10 +597,6 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js environment." }, - { - "name": "Headers", - "message": "This global is not available in the Node.js environment." - }, { "name": "history", "message": "This global is not available in the Node.js environment." @@ -1233,6 +1229,10 @@ "name": "Navigator", "message": "This global is not available in the Node.js environment." }, + { + "name": "NavigatorUAData", + "message": "This global is not available in the Node.js environment." + }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js environment." @@ -1917,10 +1917,6 @@ "name": "reportError", "message": "This global is not available in the Node.js environment." }, - { - "name": "Request", - "message": "This global is not available in the Node.js environment." - }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js environment." @@ -1945,10 +1941,6 @@ "name": "resizeTo", "message": "This global is not available in the Node.js environment." }, - { - "name": "Response", - "message": "This global is not available in the Node.js environment." - }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js environment." From ca833a9f4aa67d94f382d5b83452d013a01a4f36 Mon Sep 17 00:00:00 2001 From: Howard Braham Date: Tue, 18 Jul 2023 11:25:07 -0700 Subject: [PATCH 3/3] reverted changes to environment.json files --- packages/base/rules-snapshot.json | 24 ++++++++++++++++-------- packages/base/src/environment.json | 24 ++++++++++++++++-------- packages/commonjs/rules-snapshot.json | 24 ++++++++++++++++-------- packages/commonjs/src/environment.json | 24 ++++++++++++++++-------- packages/nodejs/rules-snapshot.json | 24 ++++++++++++++++-------- packages/nodejs/src/environment.json | 24 ++++++++++++++++-------- 6 files changed, 96 insertions(+), 48 deletions(-) diff --git a/packages/base/rules-snapshot.json b/packages/base/rules-snapshot.json index e4dc4aef..5959f442 100644 --- a/packages/base/rules-snapshot.json +++ b/packages/base/rules-snapshot.json @@ -540,10 +540,6 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "ClipboardItem", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "close", "message": "This global is not available in the Node.js and browser environment." @@ -888,6 +884,10 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "FormData", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js and browser environment." @@ -928,6 +928,10 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "Headers", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "history", "message": "This global is not available in the Node.js and browser environment." @@ -1560,10 +1564,6 @@ "name": "Navigator", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "NavigatorUAData", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js and browser environment." @@ -2248,6 +2248,10 @@ "name": "reportError", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "Request", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js and browser environment." @@ -2272,6 +2276,10 @@ "name": "resizeTo", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "Response", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js and browser environment." diff --git a/packages/base/src/environment.json b/packages/base/src/environment.json index d6043b4d..381dd154 100644 --- a/packages/base/src/environment.json +++ b/packages/base/src/environment.json @@ -209,10 +209,6 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "ClipboardItem", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "close", "message": "This global is not available in the Node.js and browser environment." @@ -557,6 +553,10 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "FormData", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js and browser environment." @@ -597,6 +597,10 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "Headers", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "history", "message": "This global is not available in the Node.js and browser environment." @@ -1229,10 +1233,6 @@ "name": "Navigator", "message": "This global is not available in the Node.js and browser environment." }, - { - "name": "NavigatorUAData", - "message": "This global is not available in the Node.js and browser environment." - }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js and browser environment." @@ -1917,6 +1917,10 @@ "name": "reportError", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "Request", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js and browser environment." @@ -1941,6 +1945,10 @@ "name": "resizeTo", "message": "This global is not available in the Node.js and browser environment." }, + { + "name": "Response", + "message": "This global is not available in the Node.js and browser environment." + }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js and browser environment." diff --git a/packages/commonjs/rules-snapshot.json b/packages/commonjs/rules-snapshot.json index f5a11b61..9fa1721e 100644 --- a/packages/commonjs/rules-snapshot.json +++ b/packages/commonjs/rules-snapshot.json @@ -209,10 +209,6 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "ClipboardItem", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "close", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -557,6 +553,10 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "FormData", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -597,6 +597,10 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "Headers", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "history", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1229,10 +1233,6 @@ "name": "Navigator", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "NavigatorUAData", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1917,6 +1917,10 @@ "name": "reportError", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "Request", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1941,6 +1945,10 @@ "name": "resizeTo", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "Response", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js and browser (CommonJS) environment." diff --git a/packages/commonjs/src/environment.json b/packages/commonjs/src/environment.json index f5a11b61..9fa1721e 100644 --- a/packages/commonjs/src/environment.json +++ b/packages/commonjs/src/environment.json @@ -209,10 +209,6 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "ClipboardItem", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "close", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -557,6 +553,10 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "FormData", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -597,6 +597,10 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "Headers", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "history", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1229,10 +1233,6 @@ "name": "Navigator", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, - { - "name": "NavigatorUAData", - "message": "This global is not available in the Node.js and browser (CommonJS) environment." - }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1917,6 +1917,10 @@ "name": "reportError", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "Request", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js and browser (CommonJS) environment." @@ -1941,6 +1945,10 @@ "name": "resizeTo", "message": "This global is not available in the Node.js and browser (CommonJS) environment." }, + { + "name": "Response", + "message": "This global is not available in the Node.js and browser (CommonJS) environment." + }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js and browser (CommonJS) environment." diff --git a/packages/nodejs/rules-snapshot.json b/packages/nodejs/rules-snapshot.json index 7b4d1a85..b9d5ef3d 100644 --- a/packages/nodejs/rules-snapshot.json +++ b/packages/nodejs/rules-snapshot.json @@ -246,10 +246,6 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js environment." }, - { - "name": "ClipboardItem", - "message": "This global is not available in the Node.js environment." - }, { "name": "close", "message": "This global is not available in the Node.js environment." @@ -594,6 +590,10 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js environment." }, + { + "name": "FormData", + "message": "This global is not available in the Node.js environment." + }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js environment." @@ -634,6 +634,10 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js environment." }, + { + "name": "Headers", + "message": "This global is not available in the Node.js environment." + }, { "name": "history", "message": "This global is not available in the Node.js environment." @@ -1266,10 +1270,6 @@ "name": "Navigator", "message": "This global is not available in the Node.js environment." }, - { - "name": "NavigatorUAData", - "message": "This global is not available in the Node.js environment." - }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js environment." @@ -1954,6 +1954,10 @@ "name": "reportError", "message": "This global is not available in the Node.js environment." }, + { + "name": "Request", + "message": "This global is not available in the Node.js environment." + }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js environment." @@ -1978,6 +1982,10 @@ "name": "resizeTo", "message": "This global is not available in the Node.js environment." }, + { + "name": "Response", + "message": "This global is not available in the Node.js environment." + }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js environment." diff --git a/packages/nodejs/src/environment.json b/packages/nodejs/src/environment.json index 71cc5409..47ed1e60 100644 --- a/packages/nodejs/src/environment.json +++ b/packages/nodejs/src/environment.json @@ -209,10 +209,6 @@ "name": "ClipboardEvent", "message": "This global is not available in the Node.js environment." }, - { - "name": "ClipboardItem", - "message": "This global is not available in the Node.js environment." - }, { "name": "close", "message": "This global is not available in the Node.js environment." @@ -557,6 +553,10 @@ "name": "FontFaceSetLoadEvent", "message": "This global is not available in the Node.js environment." }, + { + "name": "FormData", + "message": "This global is not available in the Node.js environment." + }, { "name": "FormDataEvent", "message": "This global is not available in the Node.js environment." @@ -597,6 +597,10 @@ "name": "HashChangeEvent", "message": "This global is not available in the Node.js environment." }, + { + "name": "Headers", + "message": "This global is not available in the Node.js environment." + }, { "name": "history", "message": "This global is not available in the Node.js environment." @@ -1229,10 +1233,6 @@ "name": "Navigator", "message": "This global is not available in the Node.js environment." }, - { - "name": "NavigatorUAData", - "message": "This global is not available in the Node.js environment." - }, { "name": "NetworkInformation", "message": "This global is not available in the Node.js environment." @@ -1917,6 +1917,10 @@ "name": "reportError", "message": "This global is not available in the Node.js environment." }, + { + "name": "Request", + "message": "This global is not available in the Node.js environment." + }, { "name": "requestAnimationFrame", "message": "This global is not available in the Node.js environment." @@ -1941,6 +1945,10 @@ "name": "resizeTo", "message": "This global is not available in the Node.js environment." }, + { + "name": "Response", + "message": "This global is not available in the Node.js environment." + }, { "name": "RTCCertificate", "message": "This global is not available in the Node.js environment."