solve-engine 1.0.0 → 1.0.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.
- package/dist/{PackageRegistry-u2zdfFaj.d.cts → PackageRegistry-B37mRvvz.d.cts} +15 -0
- package/dist/{PackageRegistry-DFeINv2O.d.ts → PackageRegistry-DCUEzbQt.d.ts} +15 -0
- package/dist/{chunk-E4NUZXVK.cjs → chunk-2XLQPQKI.cjs} +3 -3
- package/dist/{chunk-E4NUZXVK.cjs.map → chunk-2XLQPQKI.cjs.map} +1 -1
- package/dist/{chunk-U5VAY32K.cjs → chunk-B7TLZABL.cjs} +35 -8
- package/dist/chunk-B7TLZABL.cjs.map +1 -0
- package/dist/{chunk-GLG5ZMX7.js → chunk-TBN7DEHO.js} +3 -3
- package/dist/{chunk-GLG5ZMX7.js.map → chunk-TBN7DEHO.js.map} +1 -1
- package/dist/{chunk-3VNGREMU.js → chunk-V5PYO44Y.js} +31 -4
- package/dist/chunk-V5PYO44Y.js.map +1 -0
- package/dist/constants.cjs +4 -4
- package/dist/constants.js +1 -1
- package/dist/engine.cjs +12 -12
- package/dist/engine.d.cts +2 -2
- package/dist/engine.d.ts +2 -2
- package/dist/engine.js +2 -2
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/language.d.cts +2 -2
- package/dist/language.d.ts +2 -2
- package/dist/packages.d.cts +1 -1
- package/dist/packages.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-3VNGREMU.js.map +0 -1
- package/dist/chunk-U5VAY32K.cjs.map +0 -1
package/dist/constants.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2XLQPQKI_cjs = require('./chunk-2XLQPQKI.cjs');
|
|
4
4
|
require('./chunk-5KMIY374.cjs');
|
|
5
5
|
require('./chunk-B7LXJ6LC.cjs');
|
|
6
6
|
|
|
@@ -8,15 +8,15 @@ require('./chunk-B7LXJ6LC.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "ConfigManager", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk2XLQPQKI_cjs.ConfigManager; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "DEFAULT_CONFIG", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk2XLQPQKI_cjs.DEFAULT_CONFIG; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ENGINE_VERSION", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk2XLQPQKI_cjs.ENGINE_VERSION; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=constants.cjs.map
|
|
22
22
|
//# sourceMappingURL=constants.cjs.map
|
package/dist/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ConfigManager, DEFAULT_CONFIG, ENGINE_VERSION } from './chunk-
|
|
1
|
+
export { ConfigManager, DEFAULT_CONFIG, ENGINE_VERSION } from './chunk-TBN7DEHO.js';
|
|
2
2
|
import './chunk-3D7V24DG.js';
|
|
3
3
|
import './chunk-YLJ4XMA6.js';
|
|
4
4
|
//# sourceMappingURL=constants.js.map
|
package/dist/engine.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB7TLZABL_cjs = require('./chunk-B7TLZABL.cjs');
|
|
4
4
|
require('./chunk-HVQFNJKE.cjs');
|
|
5
5
|
require('./chunk-NGBBNL4K.cjs');
|
|
6
6
|
require('./chunk-X6K3HUOY.cjs');
|
|
@@ -21,7 +21,7 @@ require('./chunk-VEKIWQ3F.cjs');
|
|
|
21
21
|
require('./chunk-UM6BVY2S.cjs');
|
|
22
22
|
require('./chunk-JMXUNXQS.cjs');
|
|
23
23
|
require('./chunk-PFUESQTW.cjs');
|
|
24
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-2XLQPQKI.cjs');
|
|
25
25
|
require('./chunk-KBSXGXPM.cjs');
|
|
26
26
|
require('./chunk-TY3TLZAW.cjs');
|
|
27
27
|
require('./chunk-YWQ6V4ZN.cjs');
|
|
@@ -36,43 +36,43 @@ require('./chunk-B7LXJ6LC.cjs');
|
|
|
36
36
|
|
|
37
37
|
Object.defineProperty(exports, "AsyncResolutionBatcher", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkB7TLZABL_cjs.AsyncResolutionBatcher; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "DocumentModel", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkB7TLZABL_cjs.DocumentModel; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "EvalTier", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkB7TLZABL_cjs.EvalTier; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "ExpressionEngine", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkB7TLZABL_cjs.ExpressionEngine; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "ThreeTierEvaluator", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkB7TLZABL_cjs.ThreeTierEvaluator; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "checkExpressionComplexity", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkB7TLZABL_cjs.checkExpressionComplexity; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "checkExpressionLength", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkB7TLZABL_cjs.checkExpressionLength; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "extractReadsAndWrites", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkB7TLZABL_cjs.extractReadsAndWrites; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "findInlineSolvesInLine", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkB7TLZABL_cjs.findInlineSolvesInLine; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "isEmptyLine", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkB7TLZABL_cjs.isEmptyLine; }
|
|
76
76
|
});
|
|
77
77
|
//# sourceMappingURL=engine.cjs.map
|
|
78
78
|
//# sourceMappingURL=engine.cjs.map
|
package/dist/engine.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DocumentModel, a as ExpressionEngine, V as ViewportRange, c as LineChange, d as InlineSolvePosition } from './PackageRegistry-
|
|
2
|
-
export { A as ApplyChangesResult, e as AsyncCachePackageInfo, f as AsyncErrorEvent, g as AsyncResolutionBatcher, h as AsyncResolutionEvent, B as BatcherMetrics, i as BytecodeCacheEntry, C as CacheSnapshot, j as CheckpointSnapshot, E as EvalResults, k as LineCacheEntryInfo, L as LineEvaluation, l as LineState, m as LinesUpdatedEvent } from './PackageRegistry-
|
|
1
|
+
import { D as DocumentModel, a as ExpressionEngine, V as ViewportRange, c as LineChange, d as InlineSolvePosition } from './PackageRegistry-B37mRvvz.cjs';
|
|
2
|
+
export { A as ApplyChangesResult, e as AsyncCachePackageInfo, f as AsyncErrorEvent, g as AsyncResolutionBatcher, h as AsyncResolutionEvent, B as BatcherMetrics, i as BytecodeCacheEntry, C as CacheSnapshot, j as CheckpointSnapshot, E as EvalResults, k as LineCacheEntryInfo, L as LineEvaluation, l as LineState, m as LinesUpdatedEvent } from './PackageRegistry-B37mRvvz.cjs';
|
|
3
3
|
import { V as Value } from './Value-CXJqDH9J.cjs';
|
|
4
4
|
import { V as VMCheckpointer } from './VMCheckpoints-DwLjivM7.cjs';
|
|
5
5
|
import { T as Token } from './Token-BzG5G4ja.cjs';
|
package/dist/engine.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DocumentModel, a as ExpressionEngine, V as ViewportRange, c as LineChange, d as InlineSolvePosition } from './PackageRegistry-
|
|
2
|
-
export { A as ApplyChangesResult, e as AsyncCachePackageInfo, f as AsyncErrorEvent, g as AsyncResolutionBatcher, h as AsyncResolutionEvent, B as BatcherMetrics, i as BytecodeCacheEntry, C as CacheSnapshot, j as CheckpointSnapshot, E as EvalResults, k as LineCacheEntryInfo, L as LineEvaluation, l as LineState, m as LinesUpdatedEvent } from './PackageRegistry-
|
|
1
|
+
import { D as DocumentModel, a as ExpressionEngine, V as ViewportRange, c as LineChange, d as InlineSolvePosition } from './PackageRegistry-DCUEzbQt.js';
|
|
2
|
+
export { A as ApplyChangesResult, e as AsyncCachePackageInfo, f as AsyncErrorEvent, g as AsyncResolutionBatcher, h as AsyncResolutionEvent, B as BatcherMetrics, i as BytecodeCacheEntry, C as CacheSnapshot, j as CheckpointSnapshot, E as EvalResults, k as LineCacheEntryInfo, L as LineEvaluation, l as LineState, m as LinesUpdatedEvent } from './PackageRegistry-DCUEzbQt.js';
|
|
3
3
|
import { V as Value } from './Value-CXJqDH9J.js';
|
|
4
4
|
import { V as VMCheckpointer } from './VMCheckpoints-BiaIlOOY.js';
|
|
5
5
|
import { T as Token } from './Token-BzG5G4ja.js';
|
package/dist/engine.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AsyncResolutionBatcher, DocumentModel, EvalTier, ExpressionEngine, ThreeTierEvaluator, checkExpressionComplexity, checkExpressionLength, extractReadsAndWrites, findInlineSolvesInLine, isEmptyLine } from './chunk-
|
|
1
|
+
export { AsyncResolutionBatcher, DocumentModel, EvalTier, ExpressionEngine, ThreeTierEvaluator, checkExpressionComplexity, checkExpressionLength, extractReadsAndWrites, findInlineSolvesInLine, isEmptyLine } from './chunk-V5PYO44Y.js';
|
|
2
2
|
import './chunk-3LAEG75D.js';
|
|
3
3
|
import './chunk-2RWAXT6O.js';
|
|
4
4
|
import './chunk-3VGDNEE3.js';
|
|
@@ -19,7 +19,7 @@ import './chunk-Z4X2RWOF.js';
|
|
|
19
19
|
import './chunk-O3ANBHSA.js';
|
|
20
20
|
import './chunk-GQCOSXMG.js';
|
|
21
21
|
import './chunk-R3PY4G7J.js';
|
|
22
|
-
import './chunk-
|
|
22
|
+
import './chunk-TBN7DEHO.js';
|
|
23
23
|
import './chunk-5F4C26RU.js';
|
|
24
24
|
import './chunk-AJA6LUI7.js';
|
|
25
25
|
import './chunk-QY25VWBF.js';
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkB7TLZABL_cjs = require('./chunk-B7TLZABL.cjs');
|
|
4
4
|
var chunkHVQFNJKE_cjs = require('./chunk-HVQFNJKE.cjs');
|
|
5
5
|
require('./chunk-NGBBNL4K.cjs');
|
|
6
6
|
require('./chunk-X6K3HUOY.cjs');
|
|
@@ -21,7 +21,7 @@ require('./chunk-VEKIWQ3F.cjs');
|
|
|
21
21
|
require('./chunk-UM6BVY2S.cjs');
|
|
22
22
|
var chunkJMXUNXQS_cjs = require('./chunk-JMXUNXQS.cjs');
|
|
23
23
|
require('./chunk-PFUESQTW.cjs');
|
|
24
|
-
var
|
|
24
|
+
var chunk2XLQPQKI_cjs = require('./chunk-2XLQPQKI.cjs');
|
|
25
25
|
var chunkKBSXGXPM_cjs = require('./chunk-KBSXGXPM.cjs');
|
|
26
26
|
require('./chunk-TY3TLZAW.cjs');
|
|
27
27
|
require('./chunk-YWQ6V4ZN.cjs');
|
|
@@ -47,7 +47,7 @@ var PackageRegistry = class {
|
|
|
47
47
|
chunkFEAIOR7N_cjs.sharedVariableResolver.registerSource(source);
|
|
48
48
|
}
|
|
49
49
|
registerPackage(pkg) {
|
|
50
|
-
|
|
50
|
+
chunkB7TLZABL_cjs.assertEngineVersionCompatible(pkg);
|
|
51
51
|
if (pkg.lexerVocabulary) {
|
|
52
52
|
chunkKBSXGXPM_cjs.sharedLexer.registerVocabulary(pkg.lexerVocabulary);
|
|
53
53
|
}
|
|
@@ -72,23 +72,23 @@ var packageRegistry = new PackageRegistry();
|
|
|
72
72
|
|
|
73
73
|
Object.defineProperty(exports, "ExpressionEngine", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkB7TLZABL_cjs.ExpressionEngine; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "assertEngineVersionCompatible", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkB7TLZABL_cjs.assertEngineVersionCompatible; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "checkEngineVersionCompatibility", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkB7TLZABL_cjs.checkEngineVersionCompatibility; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "checkPackageCompatibility", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkB7TLZABL_cjs.checkPackageCompatibility; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "ENGINE_VERSION", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk2XLQPQKI_cjs.ENGINE_VERSION; }
|
|
92
92
|
});
|
|
93
93
|
exports.PackageRegistry = PackageRegistry;
|
|
94
94
|
exports.packageRegistry = packageRegistry;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IEnginePackage } from './PackageRegistry-
|
|
2
|
-
export { E as EvalResults, a as ExpressionEngine, b as IPackageRegistry, L as LineEvaluation, P as PackageRegistry, p as packageRegistry } from './PackageRegistry-
|
|
1
|
+
import { I as IEnginePackage } from './PackageRegistry-B37mRvvz.cjs';
|
|
2
|
+
export { E as EvalResults, a as ExpressionEngine, b as IPackageRegistry, L as LineEvaluation, P as PackageRegistry, p as packageRegistry } from './PackageRegistry-B37mRvvz.cjs';
|
|
3
3
|
export { ENGINE_VERSION } from './constants.cjs';
|
|
4
4
|
import './Parselet-DuI1Pjiq.cjs';
|
|
5
5
|
import './BytecodeBuilder-B0xskcv5.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IEnginePackage } from './PackageRegistry-
|
|
2
|
-
export { E as EvalResults, a as ExpressionEngine, b as IPackageRegistry, L as LineEvaluation, P as PackageRegistry, p as packageRegistry } from './PackageRegistry-
|
|
1
|
+
import { I as IEnginePackage } from './PackageRegistry-DCUEzbQt.js';
|
|
2
|
+
export { E as EvalResults, a as ExpressionEngine, b as IPackageRegistry, L as LineEvaluation, P as PackageRegistry, p as packageRegistry } from './PackageRegistry-DCUEzbQt.js';
|
|
3
3
|
export { ENGINE_VERSION } from './constants.js';
|
|
4
4
|
import './Parselet-BaySkMV3.js';
|
|
5
5
|
import './BytecodeBuilder-B0xskcv5.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { assertEngineVersionCompatible } from './chunk-
|
|
2
|
-
export { ExpressionEngine, assertEngineVersionCompatible, checkEngineVersionCompatibility, checkPackageCompatibility } from './chunk-
|
|
1
|
+
import { assertEngineVersionCompatible } from './chunk-V5PYO44Y.js';
|
|
2
|
+
export { ExpressionEngine, assertEngineVersionCompatible, checkEngineVersionCompatibility, checkPackageCompatibility } from './chunk-V5PYO44Y.js';
|
|
3
3
|
import { sharedParseletRegistry } from './chunk-3LAEG75D.js';
|
|
4
4
|
import './chunk-2RWAXT6O.js';
|
|
5
5
|
import './chunk-3VGDNEE3.js';
|
|
@@ -20,7 +20,7 @@ import './chunk-Z4X2RWOF.js';
|
|
|
20
20
|
import './chunk-O3ANBHSA.js';
|
|
21
21
|
import { Value } from './chunk-GQCOSXMG.js';
|
|
22
22
|
import './chunk-R3PY4G7J.js';
|
|
23
|
-
export { ENGINE_VERSION } from './chunk-
|
|
23
|
+
export { ENGINE_VERSION } from './chunk-TBN7DEHO.js';
|
|
24
24
|
import { sharedLexer } from './chunk-5F4C26RU.js';
|
|
25
25
|
import './chunk-AJA6LUI7.js';
|
|
26
26
|
import './chunk-QY25VWBF.js';
|
package/dist/language.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as CompletionItem } from './PackageRegistry-
|
|
2
|
-
export { o as LanguageService, q as LanguageServiceOptions, S as SemanticToken } from './PackageRegistry-
|
|
1
|
+
import { n as CompletionItem } from './PackageRegistry-B37mRvvz.cjs';
|
|
2
|
+
export { o as LanguageService, q as LanguageServiceOptions, S as SemanticToken } from './PackageRegistry-B37mRvvz.cjs';
|
|
3
3
|
import { e as TokenCategory } from './Lexer-D78E2yDW.cjs';
|
|
4
4
|
import './Parselet-DuI1Pjiq.cjs';
|
|
5
5
|
import './BytecodeBuilder-B0xskcv5.cjs';
|
package/dist/language.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as CompletionItem } from './PackageRegistry-
|
|
2
|
-
export { o as LanguageService, q as LanguageServiceOptions, S as SemanticToken } from './PackageRegistry-
|
|
1
|
+
import { n as CompletionItem } from './PackageRegistry-DCUEzbQt.js';
|
|
2
|
+
export { o as LanguageService, q as LanguageServiceOptions, S as SemanticToken } from './PackageRegistry-DCUEzbQt.js';
|
|
3
3
|
import { e as TokenCategory } from './Lexer-BN5mt30n.js';
|
|
4
4
|
import './Parselet-BaySkMV3.js';
|
|
5
5
|
import './BytecodeBuilder-B0xskcv5.js';
|
package/dist/packages.d.cts
CHANGED
package/dist/packages.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solve-engine",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "An embeddable expression engine for natural-language calculations: units, currencies, percentages, dates and matrices, with the parsing and evaluation plumbing already built.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"expression-evaluator",
|