@d1g1tal/media-type 6.0.3 → 6.0.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ ## [6.0.4](https://github.com/D1g1talEntr0py/media-type/compare/v6.0.3...v6.0.4) (2026-03-07)
2
+
3
+ ### Bug Fixes
4
+
5
+ * bump eslint to address security vulnerability (efc758fa369a2987b64297a09cc955ad076ce78e)
6
+ Updates eslint to 10.0.3 which includes a security fix, along with
7
+ its internal sub-packages (@eslint/core, @eslint/config-array,
8
+ @eslint/config-helpers, @eslint/object-schema, @eslint/plugin-kit,
9
+ eslint-scope, espree) to their corresponding patch releases.
10
+
11
+ Also bumps @types/node to pick up the latest type definitions.
12
+
13
+
14
+ ### Miscellaneous Chores
15
+
16
+ * replace whatwg-encoding with @exodus/bytes (14f73e922b6c0fe8cc70b28fb74434e5294586ad)
17
+ Switches the encoding label lookup dependency from the deprecated
18
+ whatwg-encoding to @exodus/bytes, which is faster and more
19
+ spec-conformant.
20
+
21
+ Updates the test code to use the new import path and adjusts the
22
+ calling convention to pass an empty string fallback, matching the
23
+ new API.
24
+
1
25
  ## [6.0.3](https://github.com/D1g1talEntr0py/media-type/compare/v6.0.2...v6.0.3) (2026-03-02)
2
26
 
3
27
  ### Bug Fixes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@d1g1tal/media-type",
3
3
  "description": "Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard",
4
- "version": "6.0.3",
4
+ "version": "6.0.4",
5
5
  "author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
6
6
  "maintainers": [
7
7
  {
@@ -65,19 +65,19 @@
65
65
  "devDependencies": {
66
66
  "@d1g1tal/tsbuild": "^1.3.2",
67
67
  "@eslint/js": "^10.0.1",
68
- "@types/node": "^25.3.3",
68
+ "@exodus/bytes": "^1.15.0",
69
+ "@types/node": "^25.3.5",
69
70
  "@typescript-eslint/eslint-plugin": "^8.56.1",
70
71
  "@typescript-eslint/parser": "^8.56.1",
71
72
  "@typescript/lib-dom": "npm:@types/web@^0.0.339",
72
73
  "@vitest/coverage-v8": "4.0.18",
73
74
  "@vitest/ui": "^4.0.18",
74
- "eslint": "^10.0.2",
75
+ "eslint": "^10.0.3",
75
76
  "eslint-plugin-jsdoc": "^62.7.1",
76
77
  "printable-string": "^0.3.0",
77
78
  "typescript": "^5.9.3",
78
79
  "typescript-eslint": "^8.56.1",
79
- "vitest": "^4.0.18",
80
- "whatwg-encoding": "^3.1.1"
80
+ "vitest": "^4.0.18"
81
81
  },
82
82
  "browserslist": [
83
83
  "defaults and fully supports es6-module",