@samitouri / QOS-React / commits / 915be0ef78

[playground] Upgrade various packages (#31293)

Just some housekeeping

lauren committed Oct 18, 2024 at 14:25 UTC 915be0ef783fa1891f2627e58b2ae2a22d44b4c3
4 files changed +29 -37
.github/workflows/compiler_playground.yml
+5
@@ -45,3 +45,8 @@ jobs:
45 run: yarn install --frozen-lockfile
46 - run: npx playwright install --with-deps chromium
47 - run: yarn test
48 + - name: Archive test results
49 + uses: actions/upload-artifact@v4
50 + with:
51 + name: test-results
52 + path: test-results
compiler/apps/playground/__tests__/e2e/page.spec.ts
+2 -2
@@ -33,7 +33,7 @@ test('editor should compile successfully', async ({page}) => {
33 path: 'test-results/01-show-js-before.png',
34 });
35 const userInput =
36 - (await page.locator('.monaco-editor').nth(2).allInnerTexts()) ?? [];
36 + (await page.locator('.monaco-editor').nth(1).allInnerTexts()) ?? [];
37 expect(concat(userInput)).toMatchSnapshot('user-input.txt');
38
39 // Reset button works
@@ -44,6 +44,6 @@ test('editor should compile successfully', async ({page}) => {
44 path: 'test-results/02-show-js-after.png',
45 });
46 const defaultInput =
47 - (await page.locator('.monaco-editor').nth(2).allInnerTexts()) ?? [];
47 + (await page.locator('.monaco-editor').nth(1).allInnerTexts()) ?? [];
48 expect(concat(defaultInput)).toMatchSnapshot('default-input.txt');
49 });
compiler/apps/playground/package.json
+3 -4
@@ -28,11 +28,11 @@
28 "@monaco-editor/react": "^4.4.6",
29 "@playwright/test": "^1.42.1",
30 "@use-gesture/react": "^10.2.22",
31 - "hermes-eslint": "^0.14.0",
32 - "hermes-parser": "^0.22.0",
31 + "hermes-eslint": "^0.25.0",
32 + "hermes-parser": "^0.25.0",
33 "invariant": "^2.2.4",
34 "lz-string": "^1.5.0",
35 - "monaco-editor": "^0.34.1",
35 + "monaco-editor": "^0.52.0",
36 "next": "15.0.0-canary.197",
37 "notistack": "^3.0.0-alpha.7",
38 "prettier": "^3.3.3",
@@ -50,7 +50,6 @@
50 "concurrently": "^7.4.0",
51 "eslint": "^8.28.0",
52 "eslint-config-next": "15.0.0-canary.197",
53 - "hermes-parser": "^0.22.0",
53 "monaco-editor-webpack-plugin": "^7.1.0",
54 "postcss": "^8.4.31",
55 "tailwindcss": "^3.2.4",
compiler/apps/playground/yarn.lock
+19 -31
@@ -2135,38 +2135,26 @@ hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2:
2135 dependencies:
2136 function-bind "^1.1.2"
2137
2138 -hermes-eslint@^0.14.0:
2139 - version "0.14.0"
2140 - resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.14.0.tgz#d56426b0931a7ced99d08b4b6a06f798064b13ba"
2141 - integrity sha512-ORk7znDabvALzTbI3QRIQefCkxF1ukDm3dVut3e+cVmwdtsTC71BJetSvdh1jtgK10czwck1QiPZOVOVolhiqQ==
2138 +hermes-eslint@^0.25.0:
2139 + version "0.25.0"
2140 + resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.25.0.tgz#beec5f0d9e9e9bdef9e4a420a79038ca7fe84143"
2141 + integrity sha512-D9rdrqt7dudZHI5AJKS+1vXBbxxR6Wj9J1JI7eYowYCbXUIvHclsWFy8gSuRmug2V6HSYpsiyPwP3kQs/Q/Y8w==
2142 dependencies:
2143 esrecurse "^4.3.0"
2144 - hermes-estree "0.14.0"
2145 - hermes-parser "0.14.0"
2144 + hermes-estree "0.25.0"
2145 + hermes-parser "0.25.0"
2146
2147 -hermes-estree@0.14.0:
2148 - version "0.14.0"
2149 - resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.14.0.tgz#c663eea1400980802283338a09d0087c448729e7"
2150 - integrity sha512-L6M67+0/eSEbt6Ha2XOBFXL++7MR34EOJMgm+j7YCaI4L/jZqrVAg6zYQKzbs1ZCFDLvEQpOgLlapTX4gpFriA==
2147 +hermes-estree@0.25.0:
2148 + version "0.25.0"
2149 + resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.25.0.tgz#fd926ebf3d0d3441a934f19ef3d3d3d4145b1d71"
2150 + integrity sha512-xjILoUIyOpLoOHqj8UJs/HNYQ279IfLKTTv9nmXKNT2+QKT/TQF9AyQFrRMo+3xwZoO7k4azocYpCzA1cSvBDg==
2151
2152 -hermes-estree@0.22.0:
2153 - version "0.22.0"
2154 - resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.22.0.tgz#38559502b119f728901d2cfe2ef422f277802a1d"
2155 - integrity sha512-FLBt5X9OfA8BERUdc6aZS36Xz3rRuB0Y/mfocSADWEJfomc1xfene33GdyAmtTkKTBXTN/EgAy+rjTKkkZJHlw==
2156 -
2157 -hermes-parser@0.14.0:
2158 - version "0.14.0"
2159 - resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.14.0.tgz#edb2e7172fce996d2c8bbba250d140b70cc1aaaf"
2160 - integrity sha512-pt+8uRiJhVlErY3fiXB3gKhZ72RxM6E1xRMpvfZ5n6Z5TQKQQXKorgRCRzoe02mmvLKBJFP5nPDGv75MWAgCTw==
2161 - dependencies:
2162 - hermes-estree "0.14.0"
2163 -
2164 -hermes-parser@^0.22.0:
2165 - version "0.22.0"
2166 - resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.22.0.tgz#fc8e0e6c7bfa8db85b04c9f9544a102c4fcb4040"
2167 - integrity sha512-gn5RfZiEXCsIWsFGsKiykekktUoh0PdFWYocXsUdZIyWSckT6UIyPcyyUIPSR3kpnELWeK3n3ztAse7Mat6PSA==
2152 +hermes-parser@0.25.0, hermes-parser@^0.25.0:
2153 + version "0.25.0"
2154 + resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.25.0.tgz#634934533a956e392ae0988421e4b0315e30351e"
2155 + integrity sha512-CeAdhgMfbZcrYh+HHKVKsj7VNhOTr0jiLFlcVVoRORbZ/Nr4J90WjEq2CZoahgH15/DYY/VBhuLqpIzJqfdBEQ==
2156 dependencies:
2169 - hermes-estree "0.22.0"
2157 + hermes-estree "0.25.0"
2158
2159 ignore@^5.2.0, ignore@^5.3.1:
2160 version "5.3.2"
@@ -2665,10 +2653,10 @@ monaco-editor-webpack-plugin@^7.1.0:
2653 dependencies:
2654 loader-utils "^2.0.2"
2655
2668 -monaco-editor@^0.34.1:
2669 - version "0.34.1"
2670 - resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.34.1.tgz#1b75c4ad6bc4c1f9da656d740d98e0b850a22f87"
2671 - integrity sha512-FKc80TyiMaruhJKKPz5SpJPIjL+dflGvz4CpuThaPMc94AyN7SeC9HQ8hrvaxX7EyHdJcUY5i4D0gNyJj1vSZQ==
2656 +monaco-editor@^0.52.0:
2657 + version "0.52.0"
2658 + resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.52.0.tgz#d47c02b191eae208d68878d679b3ee7456031be7"
2659 + integrity sha512-OeWhNpABLCeTqubfqLMXGsqf6OmPU6pHM85kF3dhy6kq5hnhuVS1p3VrEW/XhWHc71P2tHyS5JFySD8mgs1crw==
2660
2661 ms@^2.1.1, ms@^2.1.3:
2662 version "2.1.3"