exifreader 4.26.1 → 4.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exifreader",
3
- "version": "4.26.1",
3
+ "version": "4.26.2",
4
4
  "description": "Library that parses Exif metadata in images.",
5
5
  "author": "Mattias Wallander <mattias@wallander.eu>",
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "@babel/preset-env": "^7.25.4",
30
30
  "@babel/register": "^7.24.6",
31
31
  "@types/node": "^20.16.10",
32
- "babel-loader": "^9.2.1",
32
+ "babel-loader": "^10.0.0",
33
33
  "babel-plugin-rewire": "^1.2.0",
34
34
  "chai": "^4.3.10",
35
35
  "cross-env": "^7.0.3",
@@ -44,7 +44,7 @@
44
44
  "string-replace-loader": "^3.1.0",
45
45
  "terser-webpack-plugin": "^5.3.10",
46
46
  "typescript": "^5.6.2",
47
- "webpack": "5.97.1",
47
+ "webpack": "5.98.0",
48
48
  "webpack-cli": "^5.1.4",
49
49
  "webpack-dev-server": "^5.0.4"
50
50
  },
@@ -161,7 +161,7 @@ function requireNodeFs() {
161
161
  }
162
162
 
163
163
  function isBrowserFileObject(data) {
164
- return (typeof window !== 'undefined') && (typeof File !== 'undefined') && (data instanceof File);
164
+ return (typeof File !== 'undefined') && (data instanceof File);
165
165
  }
166
166
 
167
167
  function loadFileObject(file) {