uti 6.6.0 → 6.7.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/README.md CHANGED
@@ -95,12 +95,13 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
95
95
 
96
96
  Deliver JSON representation of the UTI.
97
97
  Sample result
98
- ´´´json
98
+
99
+ ```json
99
100
  {
100
- "name": "myUTI",
101
- "conformsTo": \[ "uti1", "uti2"]
101
+ "name": "myUTI",
102
+ "conformsTo": [ "uti1", "uti2"]
102
103
  }
103
- ´´´
104
+ ```
104
105
 
105
106
  Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** json representation of the UTI
106
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uti",
3
- "version": "6.6.0",
3
+ "version": "6.7.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,13 +30,13 @@
30
30
  "lint:docs": "documentation lint ./src/**/*.mjs"
31
31
  },
32
32
  "devDependencies": {
33
- "ava": "^3.15.0",
33
+ "ava": "^4.0.1",
34
34
  "c8": "^7.11.0",
35
35
  "documentation": "^13.2.5",
36
- "semantic-release": "^18.0.1"
36
+ "semantic-release": "^19.0.2"
37
37
  },
38
38
  "engines": {
39
- "node": ">=14.18.1"
39
+ "node": ">=14.18.3"
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",
@@ -157,6 +157,12 @@ const types = [
157
157
  fileNameExtension: [".html", ".htm"],
158
158
  mimeType: "text/html"
159
159
  },
160
+ {
161
+ name: "public.css",
162
+ conformsTo: "public.text",
163
+ fileNameExtension: ".css",
164
+ mimeType: "text/css"
165
+ },
160
166
  {
161
167
  name: "public.xml",
162
168
  conformsTo: "public.text",
@@ -219,8 +225,25 @@ const types = [
219
225
  {
220
226
  name: "com.netscape.javascript-source",
221
227
  conformsTo: ["public.source-code", "public.executable"],
222
- fileNameExtension: [".js", ".jscript", ".javascript"],
223
- mimeType: ["application/javascript", "application/ecmascript"]
228
+ fileNameExtension: [".mjs",".cjs", ".js", ".jscript", ".javascript"],
229
+ mimeType: [
230
+ "application/ecmascript",
231
+ "application/javascript",
232
+ "application/x-ecmascript",
233
+ "application/x-javascript",
234
+ "text/ecmascript",
235
+ "text/javascript",
236
+ "text/javascript1.0",
237
+ "text/javascript1.1",
238
+ "text/javascript1.2",
239
+ "text/javascript1.3",
240
+ "text/javascript1.4",
241
+ "text/javascript1.5",
242
+ "text/jscript",
243
+ "text/livescript",
244
+ "text/x-ecmascript",
245
+ "text/x-javascript"
246
+ ]
224
247
  },
225
248
  {
226
249
  name: "public.bzip2-archive",
@@ -325,6 +348,12 @@ const types = [
325
348
  name: "com.apple.application",
326
349
  conformsTo: "public.data"
327
350
  },
351
+ {
352
+ name: "public.wasm-executable",
353
+ conformsTo: ["public.executable"],
354
+ mimeType: "application/wasm",
355
+ fileNameExtension: ".wasm"
356
+ },
328
357
  {
329
358
  name: "com.apple.application-bundle",
330
359
  conformsTo: "com.apple.application",
@@ -396,19 +425,19 @@ const types = [
396
425
  name: "com.adobe.postscript",
397
426
  conformsTo: "public.image",
398
427
  fileNameExtension: [".ps"],
399
- mimeType: ["application/postscript"]
428
+ mimeType: "application/postscript"
400
429
  },
401
430
  {
402
431
  name: "net.daringfireball.markdown",
403
432
  conformsTo: "public.text",
404
433
  fileNameExtension: [".md", ".markdown"],
405
- mimeType: ["text/markdown"]
434
+ mimeType: "text/markdown"
406
435
  },
407
436
  {
408
437
  name: "com.apple.disk-image",
409
438
  conformsTo: "public.disk-image",
410
439
  fileNameExtension: [".dmg", ".smi", ".img"],
411
- mimeType: ["application/x-apple-diskimage"]
440
+ mimeType: "application/x-apple-diskimage"
412
441
  },
413
442
  {
414
443
  name: "public.security.private-key",
@@ -547,6 +576,12 @@ const types = [
547
576
  name: "public.systemd-scope-unit",
548
577
  conformsTo: ["public.text", "public.configuration"],
549
578
  fileNameExtension: ".scope"
579
+ },
580
+ {
581
+ name: "public.webmanifest",
582
+ conformsTo: "public.json",
583
+ fileNameExtension: ".webmanifest",
584
+ mimeType: "application/manifest+json"
550
585
  }
551
586
  ];
552
587