@blamejs/core 0.12.61 → 0.12.62

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/CHANGELOG.md CHANGED
@@ -8,6 +8,8 @@ upgrading across more than a few patches at a time.
8
8
 
9
9
  ## v0.12.x
10
10
 
11
+ - v0.12.62 (2026-05-26) — **`b.jtd` — JSON Type Definition validation (RFC 8927).** Validate JSON against a JSON Type Definition schema (RFC 8927) — a small, portable, cross-implementation schema language, the interop-friendly companion to the framework's fluent b.safeSchema builder. b.jtd.validate(schema, instance) returns an array of { instancePath, schemaPath } errors (empty = valid); b.jtd.isValid is the boolean form. All eight schema forms are supported — empty, type, enum, elements, properties (with optional / additional properties and nullable), values, discriminator (with mapping), and ref (with definitions) — including the integer-range and RFC 3339 timestamp types. A malformed schema is rejected at compile time with jtd/bad-schema rather than silently mis-validating. Verified against the official json-typedef-spec suites: all 316 validation cases and all 49 invalid-schema cases. **Added:** *`b.jtd.validate(schema, instance)` / `b.jtd.isValid(schema, instance)`* — `validate` returns the RFC 8927 error list — each `{ instancePath, schemaPath }` naming the offending value and the broken schema rule — and `isValid` is the boolean convenience form. Supports every JTD form and type: the numeric types enforce their exact ranges (int8 … uint32, float32 / float64), `timestamp` requires an RFC 3339 date-time, `properties` honours `optionalProperties` / `additionalProperties` / `nullable`, and `discriminator` selects a `mapping` schema by a tag property. The schema is checked for well-formedness before validation, so unknown keywords, multiple forms, bad refs, or a discriminator over a non-properties mapping all throw `jtd/bad-schema`. Use JTD for schemas you share across implementations or generate code from; use `b.safeSchema` for in-process fluent validation.
12
+
11
13
  - v0.12.61 (2026-05-26) — **`b.jsonPath` — JSONPath query (RFC 9535).** A full RFC 9535 JSONPath query evaluator, complementing the framework's JSONPath guards (which screen path strings). b.jsonPath.query(doc, path) compiles a path and returns the matched node values; b.jsonPath.paths returns their normalized locations. The complete surface is implemented: name / wildcard / index / slice selectors, descendant segments (..), filter selectors (?) with comparison and logical operators, relative (@) and absolute ($) embedded queries, and the five standard functions length / count / match / search / value — with the spec's well-typedness rules enforced at compile time so a malformed or ill-typed query is rejected rather than silently mis-evaluated. Descendant walks are node-capped to bound work on hostile input. Verified against all 703 cases of the official jsonpath-compliance-test-suite. **Added:** *`b.jsonPath.query(doc, path)` / `b.jsonPath.paths(doc, path)`* — `query` returns the array of node values selected by an RFC 9535 JSONPath; `paths` returns the normalized-path string of each match (e.g. `$['a'][1]['p']`). Supports every selector (name, wildcard `*`, index incl. negative, slice `start:end:step` incl. negative step, comma-separated selections), child and descendant (`..`) segments, and filter expressions with `==` / `!=` / `<` / `<=` / `>` / `>=`, `&&` / `||` / `!`, existence tests, and the standard functions. The well-typedness rules are checked when the path is compiled — a non-singular query used as a comparison operand, an ill-typed function argument, or a value-typed function used as a test all throw `json-path/invalid`. Pairs with `b.guardJsonPath`, which screens operator-supplied path strings before they reach the evaluator.
12
14
 
13
15
  - v0.12.60 (2026-05-25) — **`b.jsonMergePatch` — JSON Merge Patch (RFC 7396).** The simpler companion to JSON Patch: b.jsonMergePatch.merge applies an RFC 7396 merge patch (application/merge-patch+json), the partial-document PATCH body. A member present in the patch replaces or — for nested objects — merges into the target, a member whose value is null removes that key, and a patch that is itself an array, scalar, or null replaces the target wholesale. The inputs are never mutated (the merge runs on a deep copy) and member keys are written as literal own properties, so a "__proto__" member cannot reach any prototype. Verified against every RFC 7396 Appendix A test case. **Added:** *`b.jsonMergePatch.merge(target, patch)`* — Applies a JSON Merge Patch to a target document and returns the result without mutating either input. When the patch is an object it overlays the target (a null member deletes the key, a nested object merges recursively, any other value replaces); when the patch is an array, scalar, or null it replaces the whole target. Member keys are set via `Object.defineProperty`, so a `"__proto__"` member becomes a literal own key rather than altering a prototype. Pairs with `b.jsonPatch` — merge patch reads like the resource you want, JSON Patch expresses precise operations (array reordering, literal-null values).
package/README.md CHANGED
@@ -99,6 +99,7 @@ The framework bundles the surface a typical Node app reaches for. Every primitiv
99
99
  - **Signed webhooks + API encryption** — SLH-DSA-SHAKE-256f default; ML-DSA-65 opt-in; ECIES API encryption (`b.webhook`, `b.crypto`)
100
100
  - **HPKE / HTTP signatures** — RFC 9180 HPKE with ML-KEM-1024 + HKDF-SHA3-512 + ChaCha20-Poly1305 (`b.crypto.hpke`); RFC 9421 HTTP Message Signatures with derived components and ed25519 / ML-DSA-65 (`b.crypto.httpSig`); RFC 9530 Content-Digest / Repr-Digest body-integrity fields (SHA-256 / SHA-512, legacy algorithms refused — `b.contentDigest`) to sign the digest rather than the whole body
101
101
  - **Link header** — RFC 8288 Web Linking codec (`b.linkHeader.parse` / `serialize`): parse and build `Link: <uri>; rel="next"` relations, the standard REST pagination mechanism; quote-aware (a comma inside a quoted parameter never splits the list)
102
+ - **JSON Type Definition** — RFC 8927 validation (`b.jtd.validate` / `isValid`): portable, cross-implementation schema validation (all eight forms — type / enum / elements / properties / values / discriminator / ref / empty), returning instancePath / schemaPath errors; validated against the official 316-case suite. Interop companion to the fluent `b.safeSchema` builder
102
103
  - **JSONPath** — full RFC 9535 query evaluator (`b.jsonPath.query` / `paths`): name / wildcard / index / slice / descendant selectors, `?filter` expressions, and the five standard functions, with compile-time well-typedness checks (validated against the official 703-case compliance suite); complements the JSONPath guards
103
104
  - **JSON Pointer / Patch** — RFC 6901 `b.jsonPointer.get` (reference a value by `/foo/0/bar`) + RFC 6902 `b.jsonPatch.apply` (atomic add / remove / replace / move / copy / test for HTTP PATCH; the input document is never mutated, structural `test` comparison) + RFC 7396 `b.jsonMergePatch.merge` (the `merge-patch+json` partial-document format; both PATCH formats are prototype-pollution-safe)
104
105
  - **Canonical JSON** — RFC 8785 JSON Canonicalization Scheme (`b.canonicalJson.stringifyJcs`): the deterministic, sorted-key byte form to hash or sign (custom credentials, receipts, deterministic request signing); UTF-16 key ordering + ECMAScript number formatting, with a lenient `stringify` variant for Buffers / Dates / BigInts
package/index.js CHANGED
@@ -402,6 +402,7 @@ var jsonPointer = require("./lib/json-pointer");
402
402
  var jsonPatch = require("./lib/json-patch");
403
403
  var jsonMergePatch = require("./lib/json-merge-patch");
404
404
  var jsonPath = require("./lib/json-path");
405
+ var jtd = require("./lib/jtd");
405
406
  var standardWebhooks = require("./lib/standard-webhooks");
406
407
  var lro = require("./lib/lro");
407
408
  var jsonApi = require("./lib/jsonapi");
@@ -425,6 +426,7 @@ module.exports = {
425
426
  jsonPatch: jsonPatch,
426
427
  jsonMergePatch: jsonMergePatch,
427
428
  jsonPath: jsonPath,
429
+ jtd: jtd,
428
430
  standardWebhooks: standardWebhooks,
429
431
  lro: lro,
430
432
  jsonApi: jsonApi,
package/lib/jtd.js ADDED
@@ -0,0 +1,234 @@
1
+ "use strict";
2
+ /**
3
+ * @module b.jtd
4
+ * @nav Data
5
+ * @title JSON Type Definition
6
+ *
7
+ * @intro
8
+ * Validate a JSON value against a JSON Type Definition schema (RFC
9
+ * 8927) — a small, portable, cross-implementation schema language.
10
+ * Unlike the framework's fluent <code>b.safeSchema</code> builder, a
11
+ * JTD schema is plain JSON you can share with any JTD implementation
12
+ * (and generate code from), which makes it the right choice for
13
+ * interop contracts.
14
+ *
15
+ * <code>validate(schema, instance)</code> returns an array of errors,
16
+ * each a <code>{ instancePath, schemaPath }</code> pair pointing at the
17
+ * offending value and the schema rule it broke (an empty array means
18
+ * valid). All eight schema forms are supported — empty, <code>type</code>,
19
+ * <code>enum</code>, <code>elements</code>, <code>properties</code>,
20
+ * <code>values</code>, <code>discriminator</code>, and <code>ref</code>
21
+ * (with <code>definitions</code>) — and a malformed schema is rejected
22
+ * at compile time rather than mis-validating.
23
+ *
24
+ * @card
25
+ * JSON Type Definition (RFC 8927) — validate JSON against a portable,
26
+ * standardized schema (all eight forms), returning instancePath /
27
+ * schemaPath errors. The interop-friendly companion to the fluent
28
+ * <code>b.safeSchema</code> builder.
29
+ */
30
+
31
+ var { defineClass } = require("./framework-error");
32
+
33
+ var JtdError = defineClass("JtdError", { alwaysPermanent: true });
34
+
35
+ var MAX_DEPTH = 10000; // allow:raw-time-literal — recursion cap for self-referential refs
36
+
37
+ var TYPES = {
38
+ boolean: 1, string: 1, timestamp: 1, float32: 1, float64: 1,
39
+ int8: 1, uint8: 1, int16: 1, uint16: 1, int32: 1, uint32: 1,
40
+ };
41
+ var INT_RANGES = {
42
+ int8: [-128, 127], uint8: [0, 255], int16: [-32768, 32767], // allow:raw-byte-literal — RFC 8927 integer type bounds
43
+ uint16: [0, 65535], int32: [-2147483648, 2147483647], uint32: [0, 4294967295], // allow:raw-byte-literal — RFC 8927 integer type bounds
44
+ };
45
+ var FORM_KEYWORDS = ["ref", "type", "enum", "elements", "properties", "optionalProperties", "values", "discriminator"];
46
+ var SHARED_KEYWORDS = { definitions: 1, nullable: 1, metadata: 1 };
47
+
48
+ function _isPlainObject(v) { return v !== null && typeof v === "object" && !Array.isArray(v); }
49
+ function _isInteger(v) { return typeof v === "number" && isFinite(v) && Math.floor(v) === v; }
50
+
51
+ // RFC 3339 date-time (the JTD "timestamp" type).
52
+ var RFC3339 = /^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(\.\d+)?([Zz]|[+-]\d{2}:\d{2})$/;
53
+ function _validTimestamp(s) {
54
+ var m = RFC3339.exec(s);
55
+ if (!m) return false;
56
+ var mo = +m[2], d = +m[3], h = +m[4], mi = +m[5], se = +m[6];
57
+ if (mo < 1 || mo > 12 || d < 1 || d > 31 || h > 23 || mi > 59 || se > 60) return false; // allow:raw-time-literal — RFC 3339 field ranges (60 = leap second)
58
+ var days = [31, ((+m[1] % 4 === 0 && +m[1] % 100 !== 0) || +m[1] % 400 === 0) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // allow:raw-time-literal — days per month
59
+ if (d > days[mo - 1]) return false;
60
+ var tz = m[8];
61
+ if (tz !== "Z" && tz !== "z") { // numeric offset must be in range
62
+ if (+tz.slice(1, 3) > 23 || +tz.slice(4, 6) > 59) return false; // allow:raw-time-literal — RFC 3339 offset hour/minute ranges
63
+ }
64
+ return true;
65
+ }
66
+
67
+ // --- compile-time well-formedness (RFC 8927 section 2.2) ---
68
+ function _checkSchema(schema, root, isRoot) {
69
+ if (!_isPlainObject(schema)) throw new JtdError("jtd/bad-schema", "jtd: schema must be an object");
70
+ if (!isRoot && Object.prototype.hasOwnProperty.call(schema, "definitions")) throw new JtdError("jtd/bad-schema", "jtd: 'definitions' is allowed only at the root");
71
+ Object.keys(schema).forEach(function (k) {
72
+ if (FORM_KEYWORDS.indexOf(k) === -1 && !SHARED_KEYWORDS[k] && k !== "additionalProperties" && k !== "mapping") throw new JtdError("jtd/bad-schema", "jtd: unknown keyword '" + k + "'");
73
+ });
74
+ if (Object.prototype.hasOwnProperty.call(schema, "nullable") && typeof schema.nullable !== "boolean") throw new JtdError("jtd/bad-schema", "jtd: 'nullable' must be a boolean");
75
+ if (Object.prototype.hasOwnProperty.call(schema, "metadata") && !_isPlainObject(schema.metadata)) throw new JtdError("jtd/bad-schema", "jtd: 'metadata' must be an object");
76
+ if (Object.prototype.hasOwnProperty.call(schema, "definitions")) {
77
+ if (!_isPlainObject(schema.definitions)) throw new JtdError("jtd/bad-schema", "jtd: 'definitions' must be an object");
78
+ Object.keys(schema.definitions).forEach(function (k) { _checkSchema(schema.definitions[k], root, false); });
79
+ }
80
+ if (Object.prototype.hasOwnProperty.call(schema, "mapping") && !Object.prototype.hasOwnProperty.call(schema, "discriminator")) throw new JtdError("jtd/bad-schema", "jtd: 'mapping' is only valid with 'discriminator'");
81
+ var formSet = {};
82
+ FORM_KEYWORDS.forEach(function (k) { if (Object.prototype.hasOwnProperty.call(schema, k)) formSet[(k === "optionalProperties") ? "properties" : k] = 1; });
83
+ var formNames = Object.keys(formSet);
84
+ if (formNames.length > 1) throw new JtdError("jtd/bad-schema", "jtd: a schema may use only one form (got " + formNames.join(", ") + ")");
85
+
86
+ if ("ref" in schema) {
87
+ if (typeof schema.ref !== "string" || !root.definitions || !Object.prototype.hasOwnProperty.call(root.definitions, schema.ref)) throw new JtdError("jtd/bad-schema", "jtd: 'ref' must name a key in the root definitions");
88
+ }
89
+ if ("type" in schema && !TYPES[schema.type]) throw new JtdError("jtd/bad-schema", "jtd: unknown type '" + schema.type + "'");
90
+ if ("enum" in schema) {
91
+ if (!Array.isArray(schema.enum) || schema.enum.length === 0) throw new JtdError("jtd/bad-schema", "jtd: 'enum' must be a non-empty array");
92
+ var seen = Object.create(null);
93
+ schema.enum.forEach(function (e) { if (typeof e !== "string") throw new JtdError("jtd/bad-schema", "jtd: 'enum' values must be strings"); if (seen[e]) throw new JtdError("jtd/bad-schema", "jtd: duplicate enum value"); seen[e] = 1; });
94
+ }
95
+ if ("elements" in schema) _checkSchema(schema.elements, root, false);
96
+ if ("values" in schema) _checkSchema(schema.values, root, false);
97
+ if ("properties" in schema || "optionalProperties" in schema) {
98
+ var props = schema.properties || {}, opt = schema.optionalProperties || {};
99
+ if (!_isPlainObject(props) || !_isPlainObject(opt)) throw new JtdError("jtd/bad-schema", "jtd: properties / optionalProperties must be objects");
100
+ Object.keys(props).forEach(function (k) { if (Object.prototype.hasOwnProperty.call(opt, k)) throw new JtdError("jtd/bad-schema", "jtd: '" + k + "' in both properties and optionalProperties"); _checkSchema(props[k], root, false); });
101
+ Object.keys(opt).forEach(function (k) { _checkSchema(opt[k], root, false); });
102
+ if ("additionalProperties" in schema && typeof schema.additionalProperties !== "boolean") throw new JtdError("jtd/bad-schema", "jtd: 'additionalProperties' must be a boolean");
103
+ }
104
+ if ("discriminator" in schema) {
105
+ if (typeof schema.discriminator !== "string") throw new JtdError("jtd/bad-schema", "jtd: 'discriminator' must be a string");
106
+ if (!_isPlainObject(schema.mapping)) throw new JtdError("jtd/bad-schema", "jtd: 'discriminator' requires a 'mapping' object");
107
+ Object.keys(schema.mapping).forEach(function (k) {
108
+ var sub = schema.mapping[k];
109
+ _checkSchema(sub, root, false);
110
+ if (!_isPlainObject(sub) || (!("properties" in sub) && !("optionalProperties" in sub))) throw new JtdError("jtd/bad-schema", "jtd: discriminator mapping schemas must use the properties form");
111
+ if (sub.nullable === true) throw new JtdError("jtd/bad-schema", "jtd: discriminator mapping schemas must not be nullable");
112
+ var p = sub.properties || {}, o = sub.optionalProperties || {};
113
+ if (Object.prototype.hasOwnProperty.call(p, schema.discriminator) || Object.prototype.hasOwnProperty.call(o, schema.discriminator)) throw new JtdError("jtd/bad-schema", "jtd: discriminator tag must not appear in a mapping schema's properties");
114
+ });
115
+ }
116
+ if ("additionalProperties" in schema && !("properties" in schema) && !("optionalProperties" in schema)) throw new JtdError("jtd/bad-schema", "jtd: 'additionalProperties' requires a properties form");
117
+ }
118
+
119
+ // --- validation (RFC 8927 section 3.3) ---
120
+ function _typeOk(type, v) {
121
+ if (type === "boolean") return typeof v === "boolean";
122
+ if (type === "string") return typeof v === "string";
123
+ if (type === "timestamp") return typeof v === "string" && _validTimestamp(v);
124
+ if (type === "float32" || type === "float64") return typeof v === "number" && isFinite(v);
125
+ var range = INT_RANGES[type];
126
+ return _isInteger(v) && v >= range[0] && v <= range[1];
127
+ }
128
+
129
+ function _val(schema, inst, ip, sp, root, depth, errors, discrimTag) {
130
+ if (depth > MAX_DEPTH) throw new JtdError("jtd/too-deep", "jtd: schema recursion exceeded the depth cap");
131
+ if (schema.nullable === true && inst === null) return;
132
+
133
+ if ("ref" in schema) { _val(root.definitions[schema.ref], inst, ip, ["definitions", schema.ref], root, depth + 1, errors, undefined); return; }
134
+
135
+ if ("type" in schema) {
136
+ if (!_typeOk(schema.type, inst)) errors.push({ instancePath: ip.slice(), schemaPath: sp.concat("type") });
137
+ return;
138
+ }
139
+ if ("enum" in schema) {
140
+ if (typeof inst !== "string" || schema.enum.indexOf(inst) === -1) errors.push({ instancePath: ip.slice(), schemaPath: sp.concat("enum") });
141
+ return;
142
+ }
143
+ if ("elements" in schema) {
144
+ if (!Array.isArray(inst)) { errors.push({ instancePath: ip.slice(), schemaPath: sp.concat("elements") }); return; }
145
+ for (var i = 0; i < inst.length; i++) _val(schema.elements, inst[i], ip.concat(String(i)), sp.concat("elements"), root, depth + 1, errors, undefined);
146
+ return;
147
+ }
148
+ if ("properties" in schema || "optionalProperties" in schema) {
149
+ if (!_isPlainObject(inst)) {
150
+ errors.push({ instancePath: ip.slice(), schemaPath: sp.concat("properties" in schema ? "properties" : "optionalProperties") });
151
+ return;
152
+ }
153
+ var props = schema.properties || {}, opt = schema.optionalProperties || {};
154
+ Object.keys(props).forEach(function (k) {
155
+ if (Object.prototype.hasOwnProperty.call(inst, k)) _val(props[k], inst[k], ip.concat(k), sp.concat("properties", k), root, depth + 1, errors, undefined);
156
+ else errors.push({ instancePath: ip.slice(), schemaPath: sp.concat("properties", k) });
157
+ });
158
+ Object.keys(opt).forEach(function (k) {
159
+ if (Object.prototype.hasOwnProperty.call(inst, k)) _val(opt[k], inst[k], ip.concat(k), sp.concat("optionalProperties", k), root, depth + 1, errors, undefined);
160
+ });
161
+ if (schema.additionalProperties !== true) {
162
+ Object.keys(inst).forEach(function (k) {
163
+ if (!Object.prototype.hasOwnProperty.call(props, k) && !Object.prototype.hasOwnProperty.call(opt, k) && k !== discrimTag) {
164
+ errors.push({ instancePath: ip.concat(k), schemaPath: sp.slice() });
165
+ }
166
+ });
167
+ }
168
+ return;
169
+ }
170
+ if ("values" in schema) {
171
+ if (!_isPlainObject(inst)) { errors.push({ instancePath: ip.slice(), schemaPath: sp.concat("values") }); return; }
172
+ Object.keys(inst).forEach(function (k) { _val(schema.values, inst[k], ip.concat(k), sp.concat("values"), root, depth + 1, errors, undefined); });
173
+ return;
174
+ }
175
+ if ("discriminator" in schema) {
176
+ if (!_isPlainObject(inst)) { errors.push({ instancePath: ip.slice(), schemaPath: sp.concat("discriminator") }); return; }
177
+ var tag = schema.discriminator;
178
+ if (!Object.prototype.hasOwnProperty.call(inst, tag)) { errors.push({ instancePath: ip.slice(), schemaPath: sp.concat("discriminator") }); return; }
179
+ if (typeof inst[tag] !== "string") { errors.push({ instancePath: ip.concat(tag), schemaPath: sp.concat("discriminator") }); return; }
180
+ if (!Object.prototype.hasOwnProperty.call(schema.mapping, inst[tag])) { errors.push({ instancePath: ip.concat(tag), schemaPath: sp.concat("mapping") }); return; }
181
+ _val(schema.mapping[inst[tag]], inst, ip, sp.concat("mapping", inst[tag]), root, depth + 1, errors, tag);
182
+ return;
183
+ }
184
+ // empty form: accepts anything
185
+ }
186
+
187
+ /**
188
+ * @primitive b.jtd.validate
189
+ * @signature b.jtd.validate(schema, instance)
190
+ * @since 0.12.62
191
+ * @status stable
192
+ * @compliance soc2
193
+ * @related b.safeSchema, b.jsonPointer.get
194
+ *
195
+ * Validate a JSON value against a JSON Type Definition schema (RFC 8927)
196
+ * and return the array of validation errors — each a
197
+ * <code>{ instancePath, schemaPath }</code> pair of token arrays naming
198
+ * the offending value and the schema rule it broke. An empty array means
199
+ * the instance is valid. All eight schema forms are supported. The schema
200
+ * itself is checked for well-formedness first; a malformed schema throws
201
+ * <code>jtd/bad-schema</code> rather than silently mis-validating.
202
+ *
203
+ * @example
204
+ * b.jtd.validate({ properties: { id: { type: "uint32" } } }, { id: -1 });
205
+ * // -> [ { instancePath: ["id"], schemaPath: ["properties", "id", "type"] } ]
206
+ */
207
+ function validate(schema, instance) {
208
+ _checkSchema(schema, schema, true);
209
+ var errors = [];
210
+ _val(schema, instance, [], [], schema, 0, errors, undefined);
211
+ return errors;
212
+ }
213
+
214
+ /**
215
+ * @primitive b.jtd.isValid
216
+ * @signature b.jtd.isValid(schema, instance)
217
+ * @since 0.12.62
218
+ * @status stable
219
+ * @related b.jtd.validate
220
+ *
221
+ * Convenience boolean form of <code>validate</code> — <code>true</code>
222
+ * when the instance conforms to the JTD schema (no errors). Throws
223
+ * <code>jtd/bad-schema</code> on a malformed schema.
224
+ *
225
+ * @example
226
+ * b.jtd.isValid({ type: "string" }, "hello"); // -> true
227
+ */
228
+ function isValid(schema, instance) { return validate(schema, instance).length === 0; }
229
+
230
+ module.exports = {
231
+ validate: validate,
232
+ isValid: isValid,
233
+ JtdError: JtdError,
234
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blamejs/core",
3
- "version": "0.12.61",
3
+ "version": "0.12.62",
4
4
  "description": "The Node framework that owns its stack.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "blamejs contributors",
package/sbom.cdx.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
3
3
  "bomFormat": "CycloneDX",
4
4
  "specVersion": "1.5",
5
- "serialNumber": "urn:uuid:ad83b06e-a1bc-47e4-9b53-db78947055a5",
5
+ "serialNumber": "urn:uuid:f56710ee-2e4e-4c8e-af88-80f79561870e",
6
6
  "version": 1,
7
7
  "metadata": {
8
- "timestamp": "2026-05-26T02:37:15.214Z",
8
+ "timestamp": "2026-05-26T03:54:31.896Z",
9
9
  "lifecycles": [
10
10
  {
11
11
  "phase": "build"
@@ -19,14 +19,14 @@
19
19
  }
20
20
  ],
21
21
  "component": {
22
- "bom-ref": "@blamejs/core@0.12.61",
22
+ "bom-ref": "@blamejs/core@0.12.62",
23
23
  "type": "application",
24
24
  "name": "blamejs",
25
- "version": "0.12.61",
25
+ "version": "0.12.62",
26
26
  "scope": "required",
27
27
  "author": "blamejs contributors",
28
28
  "description": "The Node framework that owns its stack.",
29
- "purl": "pkg:npm/%40blamejs/core@0.12.61",
29
+ "purl": "pkg:npm/%40blamejs/core@0.12.62",
30
30
  "properties": [],
31
31
  "externalReferences": [
32
32
  {
@@ -54,7 +54,7 @@
54
54
  "components": [],
55
55
  "dependencies": [
56
56
  {
57
- "ref": "@blamejs/core@0.12.61",
57
+ "ref": "@blamejs/core@0.12.62",
58
58
  "dependsOn": []
59
59
  }
60
60
  ]