From a4825bbbb06283be7f5a44d7c08bea171a4236bc Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 18 Feb 2026 14:03:15 +0100 Subject: [PATCH] revert:update react monaco editor (#65941) --- client/package.json | 2 +- pnpm-lock.yaml | 42 +++++++++++++++--------------------------- 2 files changed, 16 insertions(+), 28 deletions(-) diff --git a/client/package.json b/client/package.json index 6031b4ec7fe..05206aec852 100644 --- a/client/package.json +++ b/client/package.json @@ -108,7 +108,7 @@ "react-i18next": "15.5.2", "react-instantsearch": "7.13.6", "react-instantsearch-core": "7.13.6", - "react-monaco-editor": "0.59.0", + "react-monaco-editor": "0.48.0", "react-redux": "8.1.3", "react-reflex": "4.1.0", "react-responsive": "9.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e0a95a29590..d6538acb344 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -457,8 +457,8 @@ importers: specifier: 7.13.6 version: 7.13.6(algoliasearch@4.22.1)(react@18.2.0) react-monaco-editor: - specifier: 0.59.0 - version: 0.59.0(monaco-editor@0.33.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: 0.48.0 + version: 0.48.0(@types/react@18.2.79)(monaco-editor@0.33.0)(react@18.2.0) react-redux: specifier: 8.1.3 version: 8.1.3(@types/react-dom@18.2.25)(@types/react@18.2.79)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1) @@ -1170,19 +1170,6 @@ importers: specifier: 4.10.0 version: 4.10.0(webpack-bundle-analyzer@4.10.1)(webpack@5.90.3) - tools/client-plugins/gatsby-remark-node-identity: - dependencies: - gatsby: - specifier: ^5.0.0 - version: 5.16.0(babel-eslint@10.1.0(eslint@9.39.2(jiti@2.6.1)))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(type-fest@2.19.0)(typescript@5.9.3) - devDependencies: - '@freecodecamp/eslint-config': - specifier: workspace:* - version: link:../../../packages/eslint-config - eslint: - specifier: ^9.39.1 - version: 9.39.2(jiti@2.6.1) - tools/client-plugins/gatsby-source-challenges: dependencies: gatsby: @@ -11755,12 +11742,12 @@ packages: react: '>0.13.0' react-dom: '>0.13.0' - react-monaco-editor@0.59.0: - resolution: {integrity: sha512-SggqfZCdUauNk7GI0388bk5n25zYsQ1ai1i+VhxAgwbCH+MTGl7L1fBNTJ6V+oXeUApf+bpzikprHJEZm9J/zA==} + react-monaco-editor@0.48.0: + resolution: {integrity: sha512-fD3ww76aIGJynTa6QZqM9hbRHCQe8v20+W2ofTjLzx8P1FTdoWoPPR6AIqCTMc1xjOrmGJVWFYFp5U6z5C04KQ==} peerDependencies: - monaco-editor: ^0.52.0 - react: '>=16.8.0 <20.0.0' - react-dom: '>=16.8.0 <20.0.0' + '@types/react': ^17.x + monaco-editor: ^0.33.0 + react: ^17.x react-redux@8.1.3: resolution: {integrity: sha512-n0ZrutD7DaX/j9VscF+uTALI3oUPa/pO4Z3soOBIjuRn/FzVu6aehhysxZCLi6y7duMf52WNZGMl7CtuK5EnRw==} @@ -14336,7 +14323,7 @@ snapshots: '@aws-crypto/sha256-js': 3.0.0 '@aws-crypto/supports-web-crypto': 3.0.0 '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.521.0 + '@aws-sdk/types': 3.973.1 '@aws-sdk/util-locate-window': 3.965.4 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 @@ -14355,7 +14342,7 @@ snapshots: '@aws-crypto/sha256-js@3.0.0': dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.521.0 + '@aws-sdk/types': 3.973.1 tslib: 1.14.1 optional: true @@ -14376,7 +14363,7 @@ snapshots: '@aws-crypto/util@3.0.0': dependencies: - '@aws-sdk/types': 3.521.0 + '@aws-sdk/types': 3.973.1 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 optional: true @@ -15208,7 +15195,7 @@ snapshots: '@babel/types': 7.29.0 '@jridgewell/remapping': 2.3.5 convert-source-map: 2.0.0 - debug: 4.4.3 + debug: 4.3.4(supports-color@8.1.1) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -17067,7 +17054,7 @@ snapshots: '@babel/parser': 7.29.0 '@babel/template': 7.28.6 '@babel/types': 7.29.0 - debug: 4.4.3 + debug: 4.3.4(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -28187,11 +28174,12 @@ snapshots: react-dom: 18.2.0(react@18.2.0) resize-observer-polyfill: 1.5.1 - react-monaco-editor@0.59.0(monaco-editor@0.33.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + react-monaco-editor@0.48.0(@types/react@18.2.79)(monaco-editor@0.33.0)(react@18.2.0): dependencies: + '@types/react': 18.2.79 monaco-editor: 0.33.0 + prop-types: 15.8.1 react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) react-redux@8.1.3(@types/react-dom@18.2.25)(@types/react@18.2.79)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(redux@4.2.1): dependencies: