From 76d7990226371735286df671ebbd0bc3e7603bb1 Mon Sep 17 00:00:00 2001 From: romw314 <106016361+romw314@users.noreply.github.com> Date: Thu, 26 Oct 2023 12:29:41 +0200 Subject: [PATCH 1/5] Add exception for SupabaseSaveState to ExtensionsValidatorExceptions.js --- scripts/lib/ExtensionsValidatorExceptions.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/lib/ExtensionsValidatorExceptions.js b/scripts/lib/ExtensionsValidatorExceptions.js index c67d67537..b35d3a812 100644 --- a/scripts/lib/ExtensionsValidatorExceptions.js +++ b/scripts/lib/ExtensionsValidatorExceptions.js @@ -481,6 +481,12 @@ const extensionsAllowedProperties = { runtimeSceneAllowedProperties: ['getObjects'], javaScriptObjectAllowedProperties: [], }, + SupabaseSaveState: { + gdjsAllowedProperties: ['__SupabaseSaveState'], + gdjsEvtToolsAllowedProperties: [], + runtimeSceneAllowedProperties: [], + javaScriptObjectAllowedProperties: [], + } }, }; From 118535a1a79f47779bd023c3f3ae0bb61658dda9 Mon Sep 17 00:00:00 2001 From: romw314 <106016361+romw314@users.noreply.github.com> Date: Thu, 4 Jan 2024 09:55:24 +0100 Subject: [PATCH 2/5] Fix ExtensionsValidatorExceptions.js --- scripts/lib/ExtensionsValidatorExceptions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/ExtensionsValidatorExceptions.js b/scripts/lib/ExtensionsValidatorExceptions.js index b35d3a812..0c341bf39 100644 --- a/scripts/lib/ExtensionsValidatorExceptions.js +++ b/scripts/lib/ExtensionsValidatorExceptions.js @@ -485,7 +485,7 @@ const extensionsAllowedProperties = { gdjsAllowedProperties: ['__SupabaseSaveState'], gdjsEvtToolsAllowedProperties: [], runtimeSceneAllowedProperties: [], - javaScriptObjectAllowedProperties: [], + javaScriptObjectAllowedProperties: ['getOwnPropertySymbols'], } }, }; From 5dc59e9fb655c1fb50d7e9d67eeb01789a89a5ef Mon Sep 17 00:00:00 2001 From: romw314 <106016361+romw314@users.noreply.github.com> Date: Thu, 4 Jan 2024 09:08:54 +0000 Subject: [PATCH 3/5] Fix format --- scripts/lib/ExtensionsValidatorExceptions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/ExtensionsValidatorExceptions.js b/scripts/lib/ExtensionsValidatorExceptions.js index 0c341bf39..77e37ef36 100644 --- a/scripts/lib/ExtensionsValidatorExceptions.js +++ b/scripts/lib/ExtensionsValidatorExceptions.js @@ -486,7 +486,7 @@ const extensionsAllowedProperties = { gdjsEvtToolsAllowedProperties: [], runtimeSceneAllowedProperties: [], javaScriptObjectAllowedProperties: ['getOwnPropertySymbols'], - } + }, }, }; From b5113c68071dd641af6770e873b9ec27831ecc88 Mon Sep 17 00:00:00 2001 From: romw314 <106016361+romw314@users.noreply.github.com> Date: Thu, 4 Jan 2024 12:17:00 +0100 Subject: [PATCH 4/5] Update ExtensionsValidatorExceptions.js --- scripts/lib/ExtensionsValidatorExceptions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/ExtensionsValidatorExceptions.js b/scripts/lib/ExtensionsValidatorExceptions.js index 77e37ef36..711123d5d 100644 --- a/scripts/lib/ExtensionsValidatorExceptions.js +++ b/scripts/lib/ExtensionsValidatorExceptions.js @@ -485,7 +485,7 @@ const extensionsAllowedProperties = { gdjsAllowedProperties: ['__SupabaseSaveState'], gdjsEvtToolsAllowedProperties: [], runtimeSceneAllowedProperties: [], - javaScriptObjectAllowedProperties: ['getOwnPropertySymbols'], + javaScriptObjectAllowedProperties: ['getOwnPropertySymbols', 'getPrototypeOf'], }, }, }; From c659e0fa5b46053e6c71edb04bbfa6eae43c62a1 Mon Sep 17 00:00:00 2001 From: Romanko <106016361+romw314@users.noreply.github.com> Date: Thu, 4 Jan 2024 14:11:22 +0100 Subject: [PATCH 5/5] Npm format --- scripts/lib/ExtensionsValidatorExceptions.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib/ExtensionsValidatorExceptions.js b/scripts/lib/ExtensionsValidatorExceptions.js index 711123d5d..212e67e1c 100644 --- a/scripts/lib/ExtensionsValidatorExceptions.js +++ b/scripts/lib/ExtensionsValidatorExceptions.js @@ -485,7 +485,10 @@ const extensionsAllowedProperties = { gdjsAllowedProperties: ['__SupabaseSaveState'], gdjsEvtToolsAllowedProperties: [], runtimeSceneAllowedProperties: [], - javaScriptObjectAllowedProperties: ['getOwnPropertySymbols', 'getPrototypeOf'], + javaScriptObjectAllowedProperties: [ + 'getOwnPropertySymbols', + 'getPrototypeOf', + ], }, }, };