@lokascript/framework 2.7.1 → 2.8.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/dist/api/index.js +6 -2
- package/dist/api/index.js.map +1 -1
- package/dist/core/index.js +41 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/tokenization/base-tokenizer.d.ts +24 -0
- package/dist/core/tokenization/base-tokenizer.d.ts.map +1 -1
- package/dist/core/tokenization/extractors.d.ts +6 -0
- package/dist/core/tokenization/extractors.d.ts.map +1 -1
- package/dist/core/tokenization/index.js +41 -1
- package/dist/core/tokenization/index.js.map +1 -1
- package/dist/generation/index.js +2 -1
- package/dist/generation/index.js.map +1 -1
- package/dist/generation/pattern-generator.d.ts.map +1 -1
- package/dist/index.cjs +47 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +47 -3
- package/dist/index.js.map +1 -1
- package/dist/multilingual/index.js +41 -1
- package/dist/multilingual/index.js.map +1 -1
- package/dist/testing/index.js +4 -12
- package/dist/testing/index.js.map +1 -1
- package/package.json +2 -2
- package/src/core/tokenization/base-tokenizer.ts +55 -1
- package/src/core/tokenization/colon-qualifier.test.ts +129 -0
- package/src/core/tokenization/extractors.ts +6 -0
- package/src/generation/pattern-generator.ts +5 -1
- package/src/ir/protocol-json.test.ts +21 -0
- package/src/ir/references.test.ts +5 -2
- package/src/prompts/prompt-generator.ts +4 -1
package/dist/testing/index.js
CHANGED
|
@@ -1443,16 +1443,11 @@ var require_dist = __commonJS({
|
|
|
1443
1443
|
"thisParameter",
|
|
1444
1444
|
"instance",
|
|
1445
1445
|
"guards",
|
|
1446
|
-
"asserts"
|
|
1446
|
+
"asserts",
|
|
1447
|
+
"branded"
|
|
1447
1448
|
];
|
|
1448
|
-
function createBranded() {
|
|
1449
|
-
return {
|
|
1450
|
-
inspect: () => true,
|
|
1451
|
-
configure: () => createBranded(),
|
|
1452
|
-
toEqualTypeOf: fn2
|
|
1453
|
-
};
|
|
1454
|
-
}
|
|
1455
1449
|
const obj = {
|
|
1450
|
+
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
1456
1451
|
toBeAny: fn2,
|
|
1457
1452
|
toBeUnknown: fn2,
|
|
1458
1453
|
toBeNever: fn2,
|
|
@@ -1480,10 +1475,7 @@ var require_dist = __commonJS({
|
|
|
1480
1475
|
pick: exports.expectTypeOf,
|
|
1481
1476
|
omit: exports.expectTypeOf,
|
|
1482
1477
|
toHaveProperty: exports.expectTypeOf,
|
|
1483
|
-
parameter: exports.expectTypeOf
|
|
1484
|
-
get branded() {
|
|
1485
|
-
return createBranded();
|
|
1486
|
-
}
|
|
1478
|
+
parameter: exports.expectTypeOf
|
|
1487
1479
|
};
|
|
1488
1480
|
const getterProperties = nonFunctionProperties;
|
|
1489
1481
|
getterProperties.forEach((prop) => Object.defineProperty(obj, prop, { get: () => (0, exports.expectTypeOf)({}) }));
|