browser-ava 2.3.13 → 2.3.15
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/package.json +3 -3
- package/src/resolver.mjs +9 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browser-ava",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"commander": "^13.1.0",
|
|
41
41
|
"es-module-lexer": "^1.6.0",
|
|
42
42
|
"globby": "^14.1.0",
|
|
43
|
-
"koa": "^2.
|
|
43
|
+
"koa": "^2.16.0",
|
|
44
44
|
"koa-static": "^5.0.0",
|
|
45
45
|
"playwright": "^1.50.1",
|
|
46
46
|
"ws": "^8.18.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@types/node": "^22.13.
|
|
49
|
+
"@types/node": "^22.13.10",
|
|
50
50
|
"ava": "^6.2.0",
|
|
51
51
|
"c8": "^10.1.3",
|
|
52
52
|
"documentation": "^14.0.3",
|
package/src/resolver.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { readFile } from "node:fs/promises";
|
|
|
4
4
|
/**
|
|
5
5
|
* @type {BufferEncoding} encoding
|
|
6
6
|
*/
|
|
7
|
-
export const utf8EncodingOptions = "utf8"
|
|
7
|
+
export const utf8EncodingOptions = "utf8";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Order in which imports are searched
|
|
@@ -16,7 +16,14 @@ const importsConditionOrder = ["browser", "default"];
|
|
|
16
16
|
* Order in which exports are searched
|
|
17
17
|
* @see {https://nodejs.org/dist/latest/docs/api/packages.html#exports}
|
|
18
18
|
*/
|
|
19
|
-
const exportsConditionOrder = [
|
|
19
|
+
const exportsConditionOrder = [
|
|
20
|
+
"browser",
|
|
21
|
+
"module",
|
|
22
|
+
"module-sync",
|
|
23
|
+
"import",
|
|
24
|
+
".",
|
|
25
|
+
"default"
|
|
26
|
+
];
|
|
20
27
|
|
|
21
28
|
/**
|
|
22
29
|
* Find module inside a package.
|