Browse Source

Fix jpeg-js properly (override for all packages) (#24639)

Ondřej Španěl 2 years ago
parent
commit
6456504c64
2 changed files with 10 additions and 12 deletions
  1. 8 8
      test/package-lock.json
  2. 2 4
      test/package.json

+ 8 - 8
test/package-lock.json

@@ -13,7 +13,7 @@
       },
       },
       "devDependencies": {
       "devDependencies": {
         "failonlyreporter": "^1.0.0",
         "failonlyreporter": "^1.0.0",
-        "jimp": "^0.16.1",
+        "jimp": "^0.16.0",
         "pixelmatch": "^5.3.0",
         "pixelmatch": "^5.3.0",
         "puppeteer": "^15.2.0",
         "puppeteer": "^15.2.0",
         "qunit": "^2.19.1",
         "qunit": "^2.19.1",
@@ -1014,9 +1014,9 @@
       }
       }
     },
     },
     "node_modules/jpeg-js": {
     "node_modules/jpeg-js": {
-      "version": "0.4.2",
-      "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.2.tgz",
-      "integrity": "sha512-+az2gi/hvex7eLTMTlbRLOhH6P6WFdk2ITI8HJsaH2VqYO0I594zXSYEP+tf4FW+8Cy68ScDXoAsQdyQanv3sw==",
+      "version": "0.4.4",
+      "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.4.tgz",
+      "integrity": "sha512-WZzeDOEtTOBK4Mdsar0IqEU5sMr3vSV2RqkAIzUEV2BHnUfKGyswWFPFwK5EeDo93K3FohSHbLAjj0s1Wzd+dg==",
       "dev": true
       "dev": true
     },
     },
     "node_modules/load-bmfont": {
     "node_modules/load-bmfont": {
@@ -1795,7 +1795,7 @@
       "requires": {
       "requires": {
         "@babel/runtime": "^7.7.2",
         "@babel/runtime": "^7.7.2",
         "@jimp/utils": "^0.16.1",
         "@jimp/utils": "^0.16.1",
-        "jpeg-js": "0.4.2"
+        "jpeg-js": "^0.4.4"
       }
       }
     },
     },
     "@jimp/plugin-blit": {
     "@jimp/plugin-blit": {
@@ -2482,9 +2482,9 @@
       }
       }
     },
     },
     "jpeg-js": {
     "jpeg-js": {
-      "version": "0.4.2",
-      "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.2.tgz",
-      "integrity": "sha512-+az2gi/hvex7eLTMTlbRLOhH6P6WFdk2ITI8HJsaH2VqYO0I594zXSYEP+tf4FW+8Cy68ScDXoAsQdyQanv3sw==",
+      "version": "0.4.4",
+      "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.4.tgz",
+      "integrity": "sha512-WZzeDOEtTOBK4Mdsar0IqEU5sMr3vSV2RqkAIzUEV2BHnUfKGyswWFPFwK5EeDo93K3FohSHbLAjj0s1Wzd+dg==",
       "dev": true
       "dev": true
     },
     },
     "load-bmfont": {
     "load-bmfont": {

+ 2 - 4
test/package.json

@@ -10,7 +10,7 @@
   },
   },
   "devDependencies": {
   "devDependencies": {
     "failonlyreporter": "^1.0.0",
     "failonlyreporter": "^1.0.0",
-    "jimp": "^0.16.1",
+    "jimp": "^0.16.0",
     "pixelmatch": "^5.3.0",
     "pixelmatch": "^5.3.0",
     "puppeteer": "^15.2.0",
     "puppeteer": "^15.2.0",
     "qunit": "^2.19.1",
     "qunit": "^2.19.1",
@@ -20,8 +20,6 @@
     "three": "file:.."
     "three": "file:.."
   },
   },
   "overrides": {
   "overrides": {
-    "jimp": {
-      "jpeg-js": "^0.4.4"
-    }
+    "jpeg-js": "^0.4.4"
   }
   }
 }
 }