@ultimat3/core 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.
- package/package.json +2 -2
- package/src/version.ts +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/core",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.35.0",
|
|
4
4
|
"description": "Ultimate's foundation: errors, context, env, config, clock, ids, logging, telemetry, lifecycle",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ultimate",
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
"test": "bun test"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@ultimat3/schema": "31.
|
|
57
|
+
"@ultimat3/schema": "31.35.0"
|
|
58
58
|
}
|
|
59
59
|
}
|
package/src/version.ts
CHANGED
|
@@ -12,7 +12,13 @@ import { resolve } from 'node:path';
|
|
|
12
12
|
import { renderCauseValue } from './error-render';
|
|
13
13
|
import { UltimateError } from './errors';
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
/**
|
|
16
|
+
* `X.Y.Z`, one optional `-` part, any number of `+` parts. The same strings as
|
|
17
|
+
* `(?:[-+][\w.-]+)*`, which let a `-` open a part or sit inside one and tried every split: 40
|
|
18
|
+
* dashes and a `!` ran into JSC's backtrack limit (CodeQL polynomial-redos). A `+` is in no part's
|
|
19
|
+
* class, so each part ends where the next begins.
|
|
20
|
+
*/
|
|
21
|
+
const SEMVER = /^\d+\.\d+\.\d+(?:-[\w.-]+)?(?:\+[\w.-]+)*$/;
|
|
16
22
|
|
|
17
23
|
/** `@ultimat3/core`'s own manifest — the only file that can answer what version shipped. */
|
|
18
24
|
export const VERSION_MANIFEST = resolve(import.meta.dir, '..', 'package.json');
|