@jsenv/test 3.7.7 → 3.7.8

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/dist/jsenv_test.js +4 -1
  2. package/package.json +33 -33
@@ -2038,7 +2038,10 @@ const comparePathnames = (leftPathame, rightPathname) => {
2038
2038
  const rightPart = rightPartArray[i];
2039
2039
  i++;
2040
2040
  // local comparison comes first
2041
- const comparison = leftPart.localeCompare(rightPart);
2041
+ const comparison = leftPart.localeCompare(rightPart, undefined, {
2042
+ numeric: true,
2043
+ sensitivity: "base",
2044
+ });
2042
2045
  if (comparison !== 0) {
2043
2046
  return comparison;
2044
2047
  }
package/package.json CHANGED
@@ -1,18 +1,20 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "3.7.7",
4
- "license": "MIT",
3
+ "version": "3.7.8",
5
4
  "repository": {
6
5
  "type": "git",
7
6
  "url": "https://github.com/jsenv/core",
8
7
  "directory": "packages/related/test"
9
8
  },
10
- "engines": {
11
- "node": ">=20.11.0"
12
- },
13
- "publishConfig": {
14
- "access": "public"
15
- },
9
+ "license": "MIT",
10
+ "sideEffects": [
11
+ "./src/runtime_node/node_child_process_controlled.mjs",
12
+ "./src/runtime_node/node_worker_thread_controlled.mjs",
13
+ "./dist/js/node_child_process_controlled.mjs",
14
+ "./dist/js/node_worker_thread_controlled.mjs",
15
+ "./dist/jsenv_test_node_modules.js",
16
+ "./dist/jsenv_test.js"
17
+ ],
16
18
  "type": "module",
17
19
  "exports": {
18
20
  ".": {
@@ -27,26 +29,14 @@
27
29
  "/dist/",
28
30
  "/src/"
29
31
  ],
30
- "sideEffects": [
31
- "./src/runtime_node/node_child_process_controlled.mjs",
32
- "./src/runtime_node/node_worker_thread_controlled.mjs",
33
- "./dist/js/node_child_process_controlled.mjs",
34
- "./dist/js/node_worker_thread_controlled.mjs",
35
- "./dist/jsenv_test_node_modules.js",
36
- "./dist/jsenv_test.js"
37
- ],
38
32
  "scripts": {
39
33
  "build": "node --conditions=dev:jsenv ./scripts/build.mjs",
40
34
  "prepublishOnly": "npm run build"
41
35
  },
42
- "optionalDependencies": {
43
- "playwright": "1.x",
44
- "playwright-core": "1.x"
45
- },
46
36
  "dependencies": {
47
37
  "@c88/v8-coverage": "0.1.1",
48
- "@jsenv/ast": "6.7.6",
49
- "@jsenv/plugin-supervisor": "1.7.3",
38
+ "@jsenv/ast": "6.7.7",
39
+ "@jsenv/plugin-supervisor": "1.7.4",
50
40
  "@jsenv/sourcemap": "1.3.9",
51
41
  "he": "1.2.0",
52
42
  "istanbul-lib-coverage": "3.2.2",
@@ -57,26 +47,36 @@
57
47
  "v8-to-istanbul": "9.3.0"
58
48
  },
59
49
  "devDependencies": {
50
+ "@jsenv/abort": "../../tooling/abort",
60
51
  "@jsenv/assert": "../tooling/assert",
61
- "@jsenv/snapshot": "../tooling/snapshot",
62
- "@jsenv/terminal-recorder": "../tooling/terminal-recorder",
63
- "@jsenv/server": "../backend/server",
64
52
  "@jsenv/core": "../../",
65
- "@jsenv/os-metrics": "../../tooling/os-metrics",
66
- "@jsenv/importmap": "../../tooling/importmap",
67
- "@jsenv/plugin-explorer": "../plugin-explorer",
68
- "@jsenv/test": "./",
69
- "@jsenv/abort": "../../tooling/abort",
70
53
  "@jsenv/exception": "../../backend/exception",
71
54
  "@jsenv/filesystem": "../../backend/filesystem",
72
55
  "@jsenv/github-check-run": "../../tooling/github-check-run",
56
+ "@jsenv/humanize": "../../tooling/humanize",
57
+ "@jsenv/importmap": "../../tooling/importmap",
73
58
  "@jsenv/node-esm-resolution": "../../tooling/node-esm-resolution",
59
+ "@jsenv/os-metrics": "../../tooling/os-metrics",
60
+ "@jsenv/plugin-explorer": "../plugin-explorer",
61
+ "@jsenv/server": "../backend/server",
62
+ "@jsenv/snapshot": "../tooling/snapshot",
63
+ "@jsenv/terminal-recorder": "../tooling/terminal-recorder",
64
+ "@jsenv/test": "./",
74
65
  "@jsenv/url-meta": "../../tooling/url-meta",
75
66
  "@jsenv/urls": "../../tooling/urls",
76
67
  "@jsenv/utils": "../../tooling/utils",
77
- "@jsenv/humanize": "../../tooling/humanize",
68
+ "prettier": "3.5.3",
78
69
  "strip-ansi": "7.1.0",
79
- "supports-color": "10.0.0",
80
- "prettier": "3.5.3"
70
+ "supports-color": "10.0.0"
71
+ },
72
+ "optionalDependencies": {
73
+ "playwright": "1.x",
74
+ "playwright-core": "1.x"
75
+ },
76
+ "engines": {
77
+ "node": ">=20.11.0"
78
+ },
79
+ "publishConfig": {
80
+ "access": "public"
81
81
  }
82
82
  }