uti 6.6.0 → 6.6.1

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.6.1",
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
36
  "semantic-release": "^18.0.1"
37
37
  },
38
38
  "engines": {
39
- "node": ">=14.18.1"
39
+ "node": ">=14.18.3"
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",
@@ -219,8 +219,25 @@ const types = [
219
219
  {
220
220
  name: "com.netscape.javascript-source",
221
221
  conformsTo: ["public.source-code", "public.executable"],
222
- fileNameExtension: [".js", ".jscript", ".javascript"],
223
- mimeType: ["application/javascript", "application/ecmascript"]
222
+ fileNameExtension: [".mjs",".cjs", ".js", ".jscript", ".javascript"],
223
+ mimeType: [
224
+ "application/ecmascript",
225
+ "application/javascript",
226
+ "application/x-ecmascript",
227
+ "application/x-javascript",
228
+ "text/ecmascript",
229
+ "text/javascript",
230
+ "text/javascript1.0",
231
+ "text/javascript1.1",
232
+ "text/javascript1.2",
233
+ "text/javascript1.3",
234
+ "text/javascript1.4",
235
+ "text/javascript1.5",
236
+ "text/jscript",
237
+ "text/livescript",
238
+ "text/x-ecmascript",
239
+ "text/x-javascript"
240
+ ]
224
241
  },
225
242
  {
226
243
  name: "public.bzip2-archive",
@@ -325,6 +342,12 @@ const types = [
325
342
  name: "com.apple.application",
326
343
  conformsTo: "public.data"
327
344
  },
345
+ {
346
+ name: "public.wasm-executable",
347
+ conformsTo: ["public.executable"],
348
+ mimeType: "application/wasm",
349
+ fileNameExtension: ".wasm"
350
+ },
328
351
  {
329
352
  name: "com.apple.application-bundle",
330
353
  conformsTo: "com.apple.application",
@@ -396,19 +419,19 @@ const types = [
396
419
  name: "com.adobe.postscript",
397
420
  conformsTo: "public.image",
398
421
  fileNameExtension: [".ps"],
399
- mimeType: ["application/postscript"]
422
+ mimeType: "application/postscript"
400
423
  },
401
424
  {
402
425
  name: "net.daringfireball.markdown",
403
426
  conformsTo: "public.text",
404
427
  fileNameExtension: [".md", ".markdown"],
405
- mimeType: ["text/markdown"]
428
+ mimeType: "text/markdown"
406
429
  },
407
430
  {
408
431
  name: "com.apple.disk-image",
409
432
  conformsTo: "public.disk-image",
410
433
  fileNameExtension: [".dmg", ".smi", ".img"],
411
- mimeType: ["application/x-apple-diskimage"]
434
+ mimeType: "application/x-apple-diskimage"
412
435
  },
413
436
  {
414
437
  name: "public.security.private-key",