@ultimat3/testing 31.33.0 → 31.35.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.
Files changed (2) hide show
  1. package/package.json +22 -22
  2. package/src/e2e-evaluate.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/testing",
3
- "version": "31.33.0",
3
+ "version": "31.35.0",
4
4
  "description": "Test harness: cloned template DBs per worker, frozen clock, sealed network, 6 test types",
5
5
  "keywords": [
6
6
  "ultimate",
@@ -47,27 +47,27 @@
47
47
  "test": "bun test"
48
48
  },
49
49
  "dependencies": {
50
- "@ultimat3/action": "31.33.0",
51
- "@ultimat3/ai": "31.33.0",
52
- "@ultimat3/auth": "31.33.0",
53
- "@ultimat3/cache": "31.33.0",
54
- "@ultimat3/core": "31.33.0",
55
- "@ultimat3/db": "31.33.0",
56
- "@ultimat3/entity": "31.33.0",
57
- "@ultimat3/http": "31.33.0",
58
- "@ultimat3/i18n": "31.33.0",
59
- "@ultimat3/jobs": "31.33.0",
60
- "@ultimat3/mail": "31.33.0",
61
- "@ultimat3/notify": "31.33.0",
62
- "@ultimat3/policy": "31.33.0",
63
- "@ultimat3/pwa": "31.33.0",
64
- "@ultimat3/query": "31.33.0",
65
- "@ultimat3/realtime": "31.33.0",
66
- "@ultimat3/render": "31.33.0",
67
- "@ultimat3/schema": "31.33.0",
68
- "@ultimat3/scraping": "31.33.0",
69
- "@ultimat3/seo": "31.33.0",
70
- "@ultimat3/time": "31.33.0"
50
+ "@ultimat3/action": "31.35.0",
51
+ "@ultimat3/ai": "31.35.0",
52
+ "@ultimat3/auth": "31.35.0",
53
+ "@ultimat3/cache": "31.35.0",
54
+ "@ultimat3/core": "31.35.0",
55
+ "@ultimat3/db": "31.35.0",
56
+ "@ultimat3/entity": "31.35.0",
57
+ "@ultimat3/http": "31.35.0",
58
+ "@ultimat3/i18n": "31.35.0",
59
+ "@ultimat3/jobs": "31.35.0",
60
+ "@ultimat3/mail": "31.35.0",
61
+ "@ultimat3/notify": "31.35.0",
62
+ "@ultimat3/policy": "31.35.0",
63
+ "@ultimat3/pwa": "31.35.0",
64
+ "@ultimat3/query": "31.35.0",
65
+ "@ultimat3/realtime": "31.35.0",
66
+ "@ultimat3/render": "31.35.0",
67
+ "@ultimat3/schema": "31.35.0",
68
+ "@ultimat3/scraping": "31.35.0",
69
+ "@ultimat3/seo": "31.35.0",
70
+ "@ultimat3/time": "31.35.0"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "solid-js": "^1.9.18"
@@ -33,7 +33,8 @@ const takesParameters = (source: string): boolean => {
33
33
  // `x => x * 2` — a single unparenthesised parameter, which is still a parameter.
34
34
  if (/^(?:async\s+)?[A-Za-z_$][\w$]*\s*=>/.test(source)) return true;
35
35
  // The name is OPTIONAL: an anonymous `function (rows)` read as taking nothing without it.
36
- const fn = /^(?:async\s+)?function\s*\*?\s*(?:[A-Za-z_$][\w$]*)?\s*\(([^)]*)\)/.exec(source);
36
+ // One whitespace run per gap: `\s*\*?\s*(?:name)?\s*` was cubic on `function` + spaces.
37
+ const fn = /^(?:async\s+)?function(?:\s*\*)?\s*(?:[A-Za-z_$][\w$]*\s*)?\(([^)]*)\)/.exec(source);
37
38
  return fn !== null && fn[1]?.trim() !== '';
38
39
  };
39
40