@redocly/respect-core 0.0.0-snapshot.1757607649 → 0.0.0-snapshot.1757667048

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/lib/index.d.ts CHANGED
@@ -4,5 +4,5 @@ export * from './types.js';
4
4
  export { maskSecrets } from './modules/logger-output/mask-secrets.js';
5
5
  export { calculateTotals } from './modules/logger-output/calculate-tests-passed.js';
6
6
  export { RESET_ESCAPE_CODE } from './modules/logger-output/helpers.js';
7
- export { abnfRuntimeExpressionParser } from './modules/runtime-expressions/index.js';
7
+ export { parseRuntimeExpression } from './modules/runtime-expressions/index.js';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AACpD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,mDAAmD,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AACpD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,mDAAmD,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC"}
package/lib/index.js CHANGED
@@ -4,5 +4,5 @@ export * from './types.js';
4
4
  export { maskSecrets } from './modules/logger-output/mask-secrets.js';
5
5
  export { calculateTotals } from './modules/logger-output/calculate-tests-passed.js';
6
6
  export { RESET_ESCAPE_CODE } from './modules/logger-output/helpers.js';
7
- export { abnfRuntimeExpressionParser } from './modules/runtime-expressions/index.js';
7
+ export { parseRuntimeExpression } from './modules/runtime-expressions/index.js';
8
8
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA8B,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,GAAG,EAAuB,MAAM,UAAU,CAAC;AACpD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,mDAAmD,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA8B,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,GAAG,EAAuB,MAAM,UAAU,CAAC;AACpD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,mDAAmD,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC"}
@@ -1,5 +1,3 @@
1
1
  export * from './evaluate.js';
2
- export declare const abnfRuntimeExpressionParser: {
3
- parse: (input: string, options?: any) => any;
4
- };
2
+ export declare const parseRuntimeExpression: any;
5
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/runtime-expressions/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAK9B,eAAO,MAAM,2BAA2B;;CAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/runtime-expressions/index.ts"],"names":[],"mappings":"AAGA,cAAc,eAAe,CAAC;AAC9B,eAAO,MAAM,sBAAsB,KAAQ,CAAC"}
@@ -1,5 +1,5 @@
1
- export * from './evaluate.js';
2
- // Import ESM module
1
+ // @ts-expect-error - Generated PEG.js parser has no TypeScript definitions
3
2
  import { parse } from './abnf-parser.js';
4
- export const abnfRuntimeExpressionParser = { parse };
3
+ export * from './evaluate.js';
4
+ export const parseRuntimeExpression = parse;
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/runtime-expressions/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAE9B,oBAAoB;AACpB,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/runtime-expressions/index.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,cAAc,eAAe,CAAC;AAC9B,MAAM,CAAC,MAAM,sBAAsB,GAAG,KAAK,CAAC"}
@@ -1,7 +1,7 @@
1
- import { abnfRuntimeExpressionParser } from './index.js';
1
+ import { parseRuntimeExpression } from './index.js';
2
2
  export function lintExpression(expression) {
3
3
  try {
4
- return abnfRuntimeExpressionParser.parse(expression);
4
+ return parseRuntimeExpression(expression);
5
5
  }
6
6
  catch (_error) {
7
7
  throw new Error(`Runtime expression is not valid: ${expression}`);
@@ -1 +1 @@
1
- {"version":3,"file":"lint.js","sourceRoot":"","sources":["../../../src/modules/runtime-expressions/lint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AAEzD,MAAM,UAAU,cAAc,CAAC,UAAkB;IAC/C,IAAI,CAAC;QACH,OAAO,2BAA2B,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IACvD,CAAC;IAAC,OAAO,MAAM,EAAE,CAAC;QAChB,MAAM,IAAI,KAAK,CAAC,oCAAoC,UAAU,EAAE,CAAC,CAAC;IACpE,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"lint.js","sourceRoot":"","sources":["../../../src/modules/runtime-expressions/lint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEpD,MAAM,UAAU,cAAc,CAAC,UAAkB;IAC/C,IAAI,CAAC;QACH,OAAO,sBAAsB,CAAC,UAAU,CAAC,CAAC;IAC5C,CAAC;IAAC,OAAO,MAAM,EAAE,CAAC;QAChB,MAAM,IAAI,KAAK,CAAC,oCAAoC,UAAU,EAAE,CAAC,CAAC;IACpE,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/respect-core",
3
- "version": "0.0.0-snapshot.1757607649",
3
+ "version": "0.0.0-snapshot.1757667048",
4
4
  "description": "API testing framework core",
5
5
  "type": "module",
6
6
  "types": "lib/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@faker-js/faker": "^7.6.0",
40
40
  "@noble/hashes": "^1.8.0",
41
41
  "@redocly/ajv": "8.11.2",
42
- "@redocly/openapi-core": "0.0.0-snapshot.1757607649",
42
+ "@redocly/openapi-core": "0.0.0-snapshot.1757667048",
43
43
  "better-ajv-errors": "^1.2.0",
44
44
  "colorette": "^2.0.20",
45
45
  "jest-diff": "^29.3.1",