Fix #4781: Danbooru Javascript object is broken.

Downgrade Webpack from 5.28.0 to 5.26.3. Breakage was introduced at
5.27.0. It's unclear if this is a regression of issue 12742 in Webpack
or if we're doing something else wrong.

hxxps://github.com-webpack-webpack-issues-12742
hxxps://github.com-webpack-webpack-issues-12851
This commit is contained in:
evazion
2021-04-01 03:10:44 -05:00
parent a0b6047d00
commit d58a0bf1e4
2 changed files with 7 additions and 4 deletions

View File

@@ -48,6 +48,9 @@
"stylelint-config-standard": "^20.0.0",
"webpack-dev-server": "^3.11.2"
},
"resolutions": {
"webpack": "5.26.3"
},
"scripts": {
"eslint-all": "yarn run eslint --plugin eslint-plugin-ignore-erb --ext .js,.js.erb app/javascript/src/javascripts",
"stylelint-all": "yarn run stylelint 'app/javascript/src/styles/**/*.scss'"

View File

@@ -9983,9 +9983,9 @@ fsevents@~2.3.1:
languageName: node
linkType: hard
"webpack@npm:^5.11.0":
version: 5.28.0
resolution: "webpack@npm:5.28.0"
"webpack@npm:5.26.3":
version: 5.26.3
resolution: "webpack@npm:5.26.3"
dependencies:
"@types/eslint-scope": ^3.7.0
"@types/estree": ^0.0.46
@@ -10015,7 +10015,7 @@ fsevents@~2.3.1:
optional: true
bin:
webpack: bin/webpack.js
checksum: bb1948e6a2039499284f231b1b71e69414e673cd086e55db118f112a18c4a7979c93b607bea4429fc63034babf2b2d21d2f4ba1ee620f1dda614e485848972e3
checksum: f3d456173423ba67a18167f79c1c1b3dd33c9e4d2de2c51253fcb148353449235c4b789d22207de34106cfe9efbd20e20fe6a26ba204224ecc34f486a428a3a6
languageName: node
linkType: hard