gb-image-decoder 1.3.0 → 2.0.0

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": "gb-image-decoder",
3
- "version": "1.3.0",
3
+ "version": "2.0.0",
4
4
  "description": "Decoder classes for GameBoy-encoded images",
5
5
  "repository": "",
6
6
  "license": "MIT",
@@ -22,22 +22,26 @@
22
22
  "prepack": "npm run eslint && npm run test && npm run build",
23
23
  "build": "unbuild",
24
24
  "dev": "vitest dev",
25
- "test": "rimraf images && vitest run",
26
- "test:u": "rimraf images && vitest run -u",
25
+ "test:clean": "rimraf images/*",
26
+ "test": "npm run test:clean && vitest run",
27
+ "test:u": "npm run test:clean && vitest run -u",
27
28
  "eslint": "eslint -c .eslintrc --ext .js,.ts ."
28
29
  },
29
30
  "devDependencies": {
30
31
  "@types/node": "^20.12.7",
31
32
  "@typescript-eslint/eslint-plugin": "^7.9.0",
32
- "canvas": "^2.11.2",
33
+ "canvas": "^3.1.0",
33
34
  "eslint": "^8.57.0",
34
35
  "eslint-config-airbnb-base": "^15.0.0",
35
36
  "eslint-import-resolver-typescript": "^3.6.1",
36
37
  "eslint-plugin-import": "^2.29.1",
37
- "jsdom": "^25.0.1",
38
- "ohash": "^1.1.4",
38
+ "jsdom": "^26.1.0",
39
+ "ohash": "^2.0.11",
39
40
  "typescript": "^5.4.5",
40
- "unbuild": "^2.0.0",
41
- "vitest": "^2.1.3"
41
+ "unbuild": "^3.5.0",
42
+ "vitest": "^3.1.2"
43
+ },
44
+ "peerDependencies": {
45
+ "ohash": "^2.0.11"
42
46
  }
43
47
  }