mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-24 07:59:03 -06:00
* chore: update ts-loader from v8 to v9 * chore: update sass-loader from v10 to v13 * chore: update postcss-loader from v4 to v7 * chore: update mini-css-extract-plugin from v1 to v2 * chore: update html-webpack-plugin from v4 to v5 * chore: update css-loader from v5 to v6 * chore: update copy-webpack-plugin from v6 to v 11 * chore: update babel and babel loader to latest * chore: remove Url import from validation as it should be available globally * chore: update coffee-loader to latest and coffeescript to 2.6.0. coffee script > 2.6.0 has issues with packheard transpilation, which likely isnt worth the squeeze here to update it further * chore: fix react component tests with webpack 4 as babl loader 9 only works with webpack 5, so we need ot pin the dep to 8 in the system-test project * chore: remove dependency on file-loader and opt for ubilt in assert handling where applicable. Additionally, remove react-svg-loader and move to svgr loader inside the runner to bundle svgs needed for react components. Make sure that all SVGs are being imported correctly chore: tell webpack preprocessor to process svgs inside of e2e tests for the reporter. We did not need this before because we were using react-svg-loader, which was used directly in source to process the svg and allowed the svg to work under test. Since the source code is now bundler independent, we need to tell cypress to bundle the svgs under test. To do this, we pass our webpack config into @cypress/webpack-preprocessor to allow loading the svgs. This is not a breaking change. * chore: switch from hash to contenthash * chore: remove use of moduleIds for chunkIds as the defaults are likely better and handle caching/debugging better * chore: mark tests that need to be updated as node 12 and 14 are no longer supported. node 12 doesnt ship with fs/promises, which causes fatal errors with babel-loader 9 try to test against new docker images [run ci] * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * skip http/https form submittal unit tests for experimental webkit due to the clientRoute 404ing after submitting * chore: pin webpack 5 for component tests in cy in cy to prevent using 4 from hoisted deps [run ci] * build binaries [run ci] * chore: bump circle cache [run ci] * fix: turn off svgo from @svgr/webpack to preserve our scss class names within the svg. see https://react-svgr.com/docs/options/#svgo [run ci] --------- Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>