@squiz/dx-json-schema-lib 1.89.0 → 1.90.1

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.
@@ -0,0 +1,19 @@
1
+ 0 verbose cli /usr/local/bin/node /usr/local/bin/npm
2
+ 1 info using npm@10.8.1
3
+ 2 info using node@v22.4.1
4
+ 3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
5
+ 4 info config found workspace root at /builds/developer-experience/cmp
6
+ 5 silly config load:file:/builds/developer-experience/cmp/.npmrc
7
+ 6 silly config load:file:/home/appuser/.npmrc
8
+ 7 silly config load:file:/usr/local/etc/npmrc
9
+ 8 verbose title npm run compile
10
+ 9 verbose argv "run" "compile"
11
+ 10 verbose logfile logs-max:10 dir:/builds/developer-experience/cmp/packages/dx-json-schema-lib/.npm/_logs/2026-09-14T02_31_48_216Z-
12
+ 11 verbose logfile /builds/developer-experience/cmp/packages/dx-json-schema-lib/.npm/_logs/2026-09-14T02_31_48_216Z-debug-0.log
13
+ 12 silly logfile done cleaning log files
14
+ 13 verbose cwd /builds/developer-experience/cmp/packages/dx-json-schema-lib
15
+ 14 verbose os Linux 6.1.177-224.371.amzn2023.x86_64
16
+ 15 verbose node v22.4.1
17
+ 16 verbose npm v10.8.1
18
+ 17 verbose exit 0
19
+ 18 info ok
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.90.1
4
+
5
+ ### Patch Changes
6
+
7
+ - aea6f97: adding options schema check on comp promotion
8
+
9
+ ## 1.90.0
10
+
11
+ ### Minor Changes
12
+
13
+ - f10d6e3: Update vulnerable packages
14
+
3
15
  ## 1.89.0
4
16
 
5
17
  ### Minor Changes
@@ -1,8 +1,9 @@
1
1
  import type { JSONSchema } from '@squiz/json-schema-library';
2
2
  import { JsonBreak } from './types';
3
+ export type { JsonBreak };
3
4
  /**
4
5
  * Detects breaking schema changes between beforeSchema and afterSchema.
5
6
  * Returns each break with a dotted path location, e.g. `subtitle`, `image.width`, `tags[]`,
6
7
  * `tags.{contains}`, and a message identifying the kind of break.
7
8
  */
8
- export default function jsonBreakDetector(beforeSchema: JSONSchema, afterSchema: JSONSchema): JsonBreak[];
9
+ export declare function SchemaBreakDetector(beforeSchema: JSONSchema, afterSchema: JSONSchema): JsonBreak[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = jsonBreakDetector;
3
+ exports.SchemaBreakDetector = SchemaBreakDetector;
4
4
  const dereference_1 = require("./dereference/dereference");
5
5
  const compareSubschemas_1 = require("./compareSubschemas");
6
6
  const types_1 = require("./types");
@@ -9,7 +9,7 @@ const types_1 = require("./types");
9
9
  * Returns each break with a dotted path location, e.g. `subtitle`, `image.width`, `tags[]`,
10
10
  * `tags.{contains}`, and a message identifying the kind of break.
11
11
  */
12
- function jsonBreakDetector(beforeSchema, afterSchema) {
12
+ function SchemaBreakDetector(beforeSchema, afterSchema) {
13
13
  const breaks = [];
14
14
  // Unfold $refs so inline schemas and $defs references can be compared on equal footing.
15
15
  let processedBeforeSchema;
@@ -1 +1 @@
1
- {"version":3,"file":"jsonBreakDetector.js","sourceRoot":"","sources":["../../../src/utils/jsonBreakDetector/jsonBreakDetector.ts"],"names":[],"mappings":";;AAWA,oCAwBC;AAjCD,2DAA6D;AAC7D,2DAAwD;AACxD,mCAA+C;AAE/C;;;;GAIG;AACH,SAAwB,iBAAiB,CAAC,YAAwB,EAAE,WAAuB;IACzF,MAAM,MAAM,GAAgB,EAAE,CAAC;IAE/B,wFAAwF;IACxF,IAAI,qBAA6C,CAAC;IAClD,IAAI,CAAC;QACH,qBAAqB,GAAG,IAAA,8BAAgB,EAAC,YAAY,CAAC,CAAC;IACzD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAA,iBAAS,EAAC,MAAM,EAAE,EAAE,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,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