@redocly/respect-core 0.0.0-snapshot.1757598120 → 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 +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/modules/runtime-expressions/{abnf-parser.cjs → abnf-parser.js} +693 -631
- package/lib/modules/runtime-expressions/index.d.ts +1 -3
- package/lib/modules/runtime-expressions/index.d.ts.map +1 -1
- package/lib/modules/runtime-expressions/index.js +3 -4
- package/lib/modules/runtime-expressions/index.js.map +1 -1
- package/lib/modules/runtime-expressions/lint.js +2 -2
- package/lib/modules/runtime-expressions/lint.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/runtime-expressions/index.ts"],"names":[],"mappings":"
|
|
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,6 +1,5 @@
|
|
|
1
|
+
// @ts-expect-error - Generated PEG.js parser has no TypeScript definitions
|
|
2
|
+
import { parse } from './abnf-parser.js';
|
|
1
3
|
export * from './evaluate.js';
|
|
2
|
-
|
|
3
|
-
const require = createRequire(import.meta.url);
|
|
4
|
-
const { parse } = require('./abnf-parser.cjs');
|
|
5
|
-
export const abnfRuntimeExpressionParser = { parse };
|
|
4
|
+
export const parseRuntimeExpression = parse;
|
|
6
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/runtime-expressions/index.ts"],"names":[],"mappings":"AAAA,
|
|
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 {
|
|
1
|
+
import { parseRuntimeExpression } from './index.js';
|
|
2
2
|
export function lintExpression(expression) {
|
|
3
3
|
try {
|
|
4
|
-
return
|
|
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,
|
|
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.
|
|
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.
|
|
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",
|