uti 8.7.2 → 8.7.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/README.md +16 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -47,9 +47,11 @@ public.plain-text
47
47
 
48
48
  ### Table of Contents
49
49
 
50
+ * [UTIDeclaration](#utideclaration)
51
+ * [Properties](#properties)
50
52
  * [UTI](#uti)
51
53
  * [Parameters](#parameters)
52
- * [Properties](#properties)
54
+ * [Properties](#properties-1)
53
55
  * [name](#name)
54
56
  * [conforms](#conforms)
55
57
  * [conformsTo](#conformsto)
@@ -57,7 +59,7 @@ public.plain-text
57
59
  * [toString](#tostring)
58
60
  * [toJSON](#tojson)
59
61
  * [UTIController](#uticontroller)
60
- * [Properties](#properties-1)
62
+ * [Properties](#properties-2)
61
63
  * [registry](#registry)
62
64
  * [utiByMimeType](#utibymimetype)
63
65
  * [utiByFileNameExtension](#utibyfilenameextension)
@@ -78,6 +80,17 @@ public.plain-text
78
80
  * [assignExtensions](#assignextensions)
79
81
  * [Parameters](#parameters-9)
80
82
 
83
+ ## UTIDeclaration
84
+
85
+ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
86
+
87
+ ### Properties
88
+
89
+ * `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
90
+ * `conformsTo` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>)?**&#x20;
91
+ * `mimeType` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>)?**&#x20;
92
+ * `fileNameExtension` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>)?**&#x20;
93
+
81
94
  ## UTI
82
95
 
83
96
  Object representing a UTI.
@@ -158,7 +171,7 @@ Registers additional types.
158
171
 
159
172
  #### Parameters
160
173
 
161
- * `types` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[UTI](#uti)>**&#x20;
174
+ * `types` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[UTIDeclaration](#utideclaration)>**&#x20;
162
175
 
163
176
  ### getUTI
164
177
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uti",
3
- "version": "8.7.2",
3
+ "version": "8.7.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -38,8 +38,8 @@
38
38
  "lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
39
39
  },
40
40
  "devDependencies": {
41
- "ava": "^6.2.0",
42
- "browser-ava": "^2.3.23",
41
+ "ava": "^6.3.0",
42
+ "browser-ava": "^2.3.26",
43
43
  "c8": "^10.1.3",
44
44
  "documentation": "^14.0.3",
45
45
  "semantic-release": "^24.2.3",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=22.15.0",
50
- "bun": ">=1.0.0"
50
+ "bun": ">=1.2.12"
51
51
  },
52
52
  "repository": {
53
53
  "type": "git",