Skip to content

Commit

Permalink
Update caniuse-lite package (#58087)
Browse files Browse the repository at this point in the history
* Update caniuse-lite package.
* Update snapshots
  "ReadableJsAssetsWebpackPlugin" snapshots webpack output
  which changes with the updated caniuse-lite data.

  `function() {}` becomes `()=>{}` in some places where webpack
  uses functions internally.
  • Loading branch information
sirreal authored Jan 24, 2024
1 parent e035f71 commit 6c9fde4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
"babel-plugin-transform-remove-console": "6.9.4",
"benchmark": "2.1.4",
"browserslist": "4.21.10",
"caniuse-lite": "1.0.30001538",
"caniuse-lite": "1.0.30001579",
"chalk": "4.1.1",
"change-case": "4.1.2",
"commander": "9.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`ReadableJsAssetsWebpackPlugin should produce the expected output: Asset file index.js should match snapshot 1`] = `
"/******/ (function() { // webpackBootstrap
"/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
function notMinified() {
// eslint-disable-next-line no-console
Expand All @@ -16,7 +16,7 @@ notMinified();
exports[`ReadableJsAssetsWebpackPlugin should produce the expected output: Asset file index.min.js should match snapshot 1`] = `"console.log("hello");"`;

exports[`ReadableJsAssetsWebpackPlugin should produce the expected output: Asset file view.js should match snapshot 1`] = `
"/******/ (function() { // webpackBootstrap
"/******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
function notMinified() {
// eslint-disable-next-line no-console
Expand Down

1 comment on commit 6c9fde4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 6c9fde4.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7639272220
📝 Reported issues:

Please sign in to comment.