From ade409d05ace1efef7e999405528bac993bdac55 Mon Sep 17 00:00:00 2001 From: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Fri, 16 Aug 2024 18:03:01 +1200 Subject: [PATCH] chore: upgrade the react compiler's babel and eslint plugins (#416) --- package.json | 4 +-- pnpm-lock.yaml | 81 ++++++++++++++++++++++---------------------------- 2 files changed, 37 insertions(+), 48 deletions(-) diff --git a/package.json b/package.json index 07a8fa90..c94b557b 100644 --- a/package.json +++ b/package.json @@ -92,11 +92,11 @@ "@types/react-signature-canvas": "^1.0.5", "@vitejs/plugin-react": "^4.3.1", "autoprefixer": "^10.4.20", - "babel-plugin-react-compiler": "0.0.0-experimental-334f00b-20240725", + "babel-plugin-react-compiler": "0.0.0-experimental-5f79ba2-20240815", "eslint": "^9.9.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-react": "^7.35.0", - "eslint-plugin-react-compiler": "0.0.0-experimental-9ed098e-20240725", + "eslint-plugin-react-compiler": "0.0.0-experimental-d0e920e-20240815", "eslint-plugin-react-hooks": "5.1.0-beta-26f2496093-20240514", "globals": "^15.9.0", "postcss": "^8.4.41", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3e8d3b28..6fe09e65 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -217,8 +217,8 @@ importers: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.41) babel-plugin-react-compiler: - specifier: 0.0.0-experimental-334f00b-20240725 - version: 0.0.0-experimental-334f00b-20240725 + specifier: 0.0.0-experimental-5f79ba2-20240815 + version: 0.0.0-experimental-5f79ba2-20240815 eslint: specifier: ^9.9.0 version: 9.9.0(jiti@1.21.0) @@ -229,8 +229,8 @@ importers: specifier: ^7.35.0 version: 7.35.0(eslint@9.9.0(jiti@1.21.0)) eslint-plugin-react-compiler: - specifier: 0.0.0-experimental-9ed098e-20240725 - version: 0.0.0-experimental-9ed098e-20240725(eslint@9.9.0(jiti@1.21.0)) + specifier: 0.0.0-experimental-d0e920e-20240815 + version: 0.0.0-experimental-d0e920e-20240815(eslint@9.9.0(jiti@1.21.0)) eslint-plugin-react-hooks: specifier: 5.1.0-beta-26f2496093-20240514 version: 5.1.0-beta-26f2496093-20240514(eslint@9.9.0(jiti@1.21.0)) @@ -302,10 +302,6 @@ packages: resolution: {integrity: sha512-o9HBZL1G2129luEUlG1hB4N/nlYNWHnpwlND9eOMclRqqu1YDy2sSYVCFUZwl8I1Gxh+QSRrP2vD7EpUmFVXxg==} engines: {node: '>=6.9.0'} - '@babel/generator@7.24.7': - resolution: {integrity: sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==} - engines: {node: '>=6.9.0'} - '@babel/generator@7.25.0': resolution: {integrity: sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==} engines: {node: '>=6.9.0'} @@ -1872,8 +1868,8 @@ packages: babel-dead-code-elimination@1.0.6: resolution: {integrity: sha512-JxFi9qyRJpN0LjEbbjbN8g0ux71Qppn9R8Qe3k6QzHg2CaKsbUQtbn307LQGiDLGjV6JCtEFqfxzVig9MyDCHQ==} - babel-plugin-react-compiler@0.0.0-experimental-334f00b-20240725: - resolution: {integrity: sha512-ktVKfOtJdHqrLib7IriUe00hnrs585He/n8uzs2yJT9pnH2eyrmMG21aRGBJKxt/P5mdizGLxgyFk0HSMrekhA==} + babel-plugin-react-compiler@0.0.0-experimental-5f79ba2-20240815: + resolution: {integrity: sha512-9/pMj32tpmzWyjnPmRqQ25L9MJkffqVPEsoboHaSKypnaB/Xo8haWk54T5WhRf/WfE0kB36w2Nm/STkAHGXJWw==} balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -2164,8 +2160,8 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-plugin-react-compiler@0.0.0-experimental-9ed098e-20240725: - resolution: {integrity: sha512-Xv2iD8kU6R4Wdjdh1WhdP8UnSqSV+/XcadxwBCmMr836fQUoXGuw/uVGc01v9opZs9SwKzo+8My6ayVCgAinPA==} + eslint-plugin-react-compiler@0.0.0-experimental-d0e920e-20240815: + resolution: {integrity: sha512-ICIcejquXmO2ednUy2wZ1I0i8NgExZeS+eYMQmygTpUEihxw0pxsKCCzIVBcwzdHYqPzrgkP/GLUEYgPQn2iQA==} engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0} peerDependencies: eslint: '>=7' @@ -3591,7 +3587,7 @@ snapshots: '@babel/generator@7.2.0': dependencies: - '@babel/types': 7.24.9 + '@babel/types': 7.25.2 jsesc: 2.5.2 lodash: 4.17.21 source-map: 0.5.7 @@ -3604,13 +3600,6 @@ snapshots: '@jridgewell/trace-mapping': 0.3.25 jsesc: 2.5.2 - '@babel/generator@7.24.7': - dependencies: - '@babel/types': 7.24.7 - '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.25 - jsesc: 2.5.2 - '@babel/generator@7.25.0': dependencies: '@babel/types': 7.25.2 @@ -3620,7 +3609,7 @@ snapshots: '@babel/helper-annotate-as-pure@7.24.6': dependencies: - '@babel/types': 7.24.9 + '@babel/types': 7.25.2 '@babel/helper-compilation-targets@7.24.8': dependencies: @@ -3638,40 +3627,40 @@ snapshots: lru-cache: 5.1.1 semver: 6.3.1 - '@babel/helper-create-class-features-plugin@7.24.6(@babel/core@7.24.9)': + '@babel/helper-create-class-features-plugin@7.24.6(@babel/core@7.25.2)': dependencies: - '@babel/core': 7.24.9 + '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.6 '@babel/helper-environment-visitor': 7.24.7 '@babel/helper-function-name': 7.24.7 '@babel/helper-member-expression-to-functions': 7.24.6 '@babel/helper-optimise-call-expression': 7.24.6 - '@babel/helper-replace-supers': 7.24.6(@babel/core@7.24.9) + '@babel/helper-replace-supers': 7.24.6(@babel/core@7.25.2) '@babel/helper-skip-transparent-expression-wrappers': 7.24.6 '@babel/helper-split-export-declaration': 7.24.7 semver: 6.3.1 '@babel/helper-environment-visitor@7.24.7': dependencies: - '@babel/types': 7.24.7 + '@babel/types': 7.25.2 '@babel/helper-function-name@7.24.7': dependencies: '@babel/template': 7.24.7 - '@babel/types': 7.24.7 + '@babel/types': 7.25.2 '@babel/helper-hoist-variables@7.24.7': dependencies: - '@babel/types': 7.24.7 + '@babel/types': 7.25.2 '@babel/helper-member-expression-to-functions@7.24.6': dependencies: - '@babel/types': 7.24.9 + '@babel/types': 7.25.2 '@babel/helper-module-imports@7.24.7': dependencies: '@babel/traverse': 7.24.7 - '@babel/types': 7.24.7 + '@babel/types': 7.25.2 transitivePeerDependencies: - supports-color @@ -3698,13 +3687,13 @@ snapshots: '@babel/helper-optimise-call-expression@7.24.6': dependencies: - '@babel/types': 7.24.9 + '@babel/types': 7.25.2 '@babel/helper-plugin-utils@7.24.7': {} - '@babel/helper-replace-supers@7.24.6(@babel/core@7.24.9)': + '@babel/helper-replace-supers@7.24.6(@babel/core@7.25.2)': dependencies: - '@babel/core': 7.24.9 + '@babel/core': 7.25.2 '@babel/helper-environment-visitor': 7.24.7 '@babel/helper-member-expression-to-functions': 7.24.6 '@babel/helper-optimise-call-expression': 7.24.6 @@ -3712,17 +3701,17 @@ snapshots: '@babel/helper-simple-access@7.24.7': dependencies: '@babel/traverse': 7.24.7 - '@babel/types': 7.24.7 + '@babel/types': 7.25.2 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.24.6': dependencies: - '@babel/types': 7.24.9 + '@babel/types': 7.25.2 '@babel/helper-split-export-declaration@7.24.7': dependencies: - '@babel/types': 7.24.7 + '@babel/types': 7.25.2 '@babel/helper-string-parser@7.24.7': {} @@ -3761,10 +3750,10 @@ snapshots: dependencies: '@babel/types': 7.25.2 - '@babel/plugin-proposal-private-methods@7.18.6(@babel/core@7.24.9)': + '@babel/plugin-proposal-private-methods@7.18.6(@babel/core@7.25.2)': dependencies: - '@babel/core': 7.24.9 - '@babel/helper-create-class-features-plugin': 7.24.6(@babel/core@7.24.9) + '@babel/core': 7.25.2 + '@babel/helper-create-class-features-plugin': 7.24.6(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.7 '@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.25.2)': @@ -3814,13 +3803,13 @@ snapshots: '@babel/traverse@7.24.7': dependencies: '@babel/code-frame': 7.24.7 - '@babel/generator': 7.24.7 + '@babel/generator': 7.25.0 '@babel/helper-environment-visitor': 7.24.7 '@babel/helper-function-name': 7.24.7 '@babel/helper-hoist-variables': 7.24.7 '@babel/helper-split-export-declaration': 7.24.7 '@babel/parser': 7.24.7 - '@babel/types': 7.24.7 + '@babel/types': 7.25.2 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: @@ -5231,10 +5220,10 @@ snapshots: transitivePeerDependencies: - supports-color - babel-plugin-react-compiler@0.0.0-experimental-334f00b-20240725: + babel-plugin-react-compiler@0.0.0-experimental-5f79ba2-20240815: dependencies: '@babel/generator': 7.2.0 - '@babel/types': 7.24.9 + '@babel/types': 7.25.2 chalk: 4.1.2 invariant: 2.2.4 pretty-format: 24.9.0 @@ -5607,11 +5596,11 @@ snapshots: dependencies: eslint: 9.9.0(jiti@1.21.0) - eslint-plugin-react-compiler@0.0.0-experimental-9ed098e-20240725(eslint@9.9.0(jiti@1.21.0)): + eslint-plugin-react-compiler@0.0.0-experimental-d0e920e-20240815(eslint@9.9.0(jiti@1.21.0)): dependencies: - '@babel/core': 7.24.9 - '@babel/parser': 7.24.8 - '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.24.9) + '@babel/core': 7.25.2 + '@babel/parser': 7.25.3 + '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.25.2) eslint: 9.9.0(jiti@1.21.0) hermes-parser: 0.20.1 zod: 3.23.8