uti 8.6.1 → 8.7.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/README.md +11 -1
- package/package.json +6 -6
- package/src/well-known-utis.mjs +6 -0
package/README.md
CHANGED
|
@@ -50,6 +50,8 @@ public.plain-text
|
|
|
50
50
|
* [UTI](#uti)
|
|
51
51
|
* [Parameters](#parameters)
|
|
52
52
|
* [Properties](#properties)
|
|
53
|
+
* [name](#name)
|
|
54
|
+
* [conforms](#conforms)
|
|
53
55
|
* [conformsTo](#conformsto)
|
|
54
56
|
* [Parameters](#parameters-1)
|
|
55
57
|
* [toString](#tostring)
|
|
@@ -90,13 +92,21 @@ Object representing a UTI.
|
|
|
90
92
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
91
93
|
* `conforms` **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)<[UTI](#uti)>** 
|
|
92
94
|
|
|
95
|
+
### name
|
|
96
|
+
|
|
97
|
+
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
98
|
+
|
|
99
|
+
### conforms
|
|
100
|
+
|
|
101
|
+
Type: [Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)<[UTI](#uti)>
|
|
102
|
+
|
|
93
103
|
### conformsTo
|
|
94
104
|
|
|
95
105
|
Check for conformity.
|
|
96
106
|
|
|
97
107
|
#### Parameters
|
|
98
108
|
|
|
99
|
-
* `other` **[UTI](#uti)** 
|
|
109
|
+
* `other` **([UTI](#uti) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** 
|
|
100
110
|
|
|
101
111
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if other conforms to the receiver
|
|
102
112
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uti",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.7.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"ava": "^6.1.3",
|
|
42
|
-
"browser-ava": "^2.2.
|
|
43
|
-
"c8": "^10.1.
|
|
42
|
+
"browser-ava": "^2.2.27",
|
|
43
|
+
"c8": "^10.1.2",
|
|
44
44
|
"documentation": "^14.0.3",
|
|
45
|
-
"semantic-release": "^24.
|
|
46
|
-
"typescript": "^5.
|
|
45
|
+
"semantic-release": "^24.1.1",
|
|
46
|
+
"typescript": "^5.6.2"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
|
-
"node": ">=
|
|
49
|
+
"node": ">=22.7.0",
|
|
50
50
|
"bun": ">=1.0.0"
|
|
51
51
|
},
|
|
52
52
|
"repository": {
|
package/src/well-known-utis.mjs
CHANGED
|
@@ -509,6 +509,12 @@ export default [
|
|
|
509
509
|
mimeType: ["image/jpeg"],
|
|
510
510
|
fileNameExtension: [".jpg", ".jpeg"]
|
|
511
511
|
},
|
|
512
|
+
{
|
|
513
|
+
name: "public.jxl",
|
|
514
|
+
conformsTo: "public.image",
|
|
515
|
+
mimeType: ["image/jxl"],
|
|
516
|
+
fileNameExtension: [".jxl"]
|
|
517
|
+
},
|
|
512
518
|
{
|
|
513
519
|
name: "public.jpeg2000",
|
|
514
520
|
conformsTo: "public.image",
|