ecma-evaluator 1.0.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.
@@ -0,0 +1,595 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_acorn__ from "acorn";
2
+ function _array_like_to_array(arr, len) {
3
+ if (null == len || len > arr.length) len = arr.length;
4
+ for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
5
+ return arr2;
6
+ }
7
+ function _array_with_holes(arr) {
8
+ if (Array.isArray(arr)) return arr;
9
+ }
10
+ function _array_without_holes(arr) {
11
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
12
+ }
13
+ function _class_call_check(instance, Constructor) {
14
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
+ }
16
+ function _construct(Parent, args, Class) {
17
+ _construct = _is_native_reflect_construct() ? Reflect.construct : function(Parent, args, Class) {
18
+ var a = [
19
+ null
20
+ ];
21
+ a.push.apply(a, args);
22
+ var Constructor = Function.bind.apply(Parent, a);
23
+ var instance = new Constructor();
24
+ if (Class) _set_prototype_of(instance, Class.prototype);
25
+ return instance;
26
+ };
27
+ return _construct.apply(null, arguments);
28
+ }
29
+ function _defineProperties(target, props) {
30
+ for(var i = 0; i < props.length; i++){
31
+ var descriptor = props[i];
32
+ descriptor.enumerable = descriptor.enumerable || false;
33
+ descriptor.configurable = true;
34
+ if ("value" in descriptor) descriptor.writable = true;
35
+ Object.defineProperty(target, descriptor.key, descriptor);
36
+ }
37
+ }
38
+ function _create_class(Constructor, protoProps, staticProps) {
39
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
40
+ if (staticProps) _defineProperties(Constructor, staticProps);
41
+ return Constructor;
42
+ }
43
+ function _define_property(obj, key, value) {
44
+ if (key in obj) Object.defineProperty(obj, key, {
45
+ value: value,
46
+ enumerable: true,
47
+ configurable: true,
48
+ writable: true
49
+ });
50
+ else obj[key] = value;
51
+ return obj;
52
+ }
53
+ function _iterable_to_array(iter) {
54
+ if ("undefined" != typeof Symbol && null != iter[Symbol.iterator] || null != iter["@@iterator"]) return Array.from(iter);
55
+ }
56
+ function _iterable_to_array_limit(arr, i) {
57
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
58
+ if (null == _i) return;
59
+ var _arr = [];
60
+ var _n = true;
61
+ var _d = false;
62
+ var _s, _e;
63
+ try {
64
+ for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
65
+ _arr.push(_s.value);
66
+ if (i && _arr.length === i) break;
67
+ }
68
+ } catch (err) {
69
+ _d = true;
70
+ _e = err;
71
+ } finally{
72
+ try {
73
+ if (!_n && null != _i["return"]) _i["return"]();
74
+ } finally{
75
+ if (_d) throw _e;
76
+ }
77
+ }
78
+ return _arr;
79
+ }
80
+ function _non_iterable_rest() {
81
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
82
+ }
83
+ function _non_iterable_spread() {
84
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
85
+ }
86
+ function _object_spread(target) {
87
+ for(var i = 1; i < arguments.length; i++){
88
+ var source = null != arguments[i] ? arguments[i] : {};
89
+ var ownKeys = Object.keys(source);
90
+ if ("function" == typeof Object.getOwnPropertySymbols) ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
91
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
92
+ }));
93
+ ownKeys.forEach(function(key) {
94
+ _define_property(target, key, source[key]);
95
+ });
96
+ }
97
+ return target;
98
+ }
99
+ function _set_prototype_of(o, p) {
100
+ _set_prototype_of = Object.setPrototypeOf || function(o, p) {
101
+ o.__proto__ = p;
102
+ return o;
103
+ };
104
+ return _set_prototype_of(o, p);
105
+ }
106
+ function _sliced_to_array(arr, i) {
107
+ return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
108
+ }
109
+ function _to_consumable_array(arr) {
110
+ return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
111
+ }
112
+ function _type_of(obj) {
113
+ return obj && "undefined" != typeof Symbol && obj.constructor === Symbol ? "symbol" : typeof obj;
114
+ }
115
+ function _unsupported_iterable_to_array(o, minLen) {
116
+ if (!o) return;
117
+ if ("string" == typeof o) return _array_like_to_array(o, minLen);
118
+ var n = Object.prototype.toString.call(o).slice(8, -1);
119
+ if ("Object" === n && o.constructor) n = o.constructor.name;
120
+ if ("Map" === n || "Set" === n) return Array.from(n);
121
+ if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
122
+ }
123
+ function _is_native_reflect_construct() {
124
+ try {
125
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
126
+ } catch (_) {}
127
+ return (_is_native_reflect_construct = function() {
128
+ return !!result;
129
+ })();
130
+ }
131
+ var typeArrayConstructors = [
132
+ Int8Array,
133
+ Uint8Array,
134
+ Uint8ClampedArray,
135
+ Int16Array,
136
+ Uint16Array,
137
+ Int32Array,
138
+ Uint32Array,
139
+ Float32Array,
140
+ Float64Array,
141
+ globalThis.BigInt64Array,
142
+ globalThis.BigUint64Array
143
+ ].filter(Boolean);
144
+ var mutableMethods = new Set([
145
+ Array.prototype.push,
146
+ Array.prototype.pop,
147
+ Array.prototype.shift,
148
+ Array.prototype.unshift,
149
+ Array.prototype.splice,
150
+ Array.prototype.reverse,
151
+ Array.prototype.sort,
152
+ Array.prototype.fill,
153
+ Array.prototype.copyWithin,
154
+ ArrayBuffer.prototype.slice,
155
+ DataView.prototype.setInt8,
156
+ DataView.prototype.setUint8,
157
+ DataView.prototype.setInt16,
158
+ DataView.prototype.setUint16,
159
+ DataView.prototype.setInt32,
160
+ DataView.prototype.setUint32,
161
+ DataView.prototype.setFloat32,
162
+ DataView.prototype.setFloat64
163
+ ].concat(_to_consumable_array(typeArrayConstructors.flatMap(function(TypedArray) {
164
+ return [
165
+ TypedArray.prototype.set,
166
+ TypedArray.prototype.fill,
167
+ TypedArray.prototype.copyWithin,
168
+ TypedArray.prototype.reverse,
169
+ TypedArray.prototype.sort
170
+ ];
171
+ })), [
172
+ Object.freeze,
173
+ Object.defineProperty,
174
+ Object.defineProperties,
175
+ Object.preventExtensions,
176
+ Object.setPrototypeOf,
177
+ Object.assign,
178
+ Set.prototype.add,
179
+ Set.prototype["delete"],
180
+ Set.prototype.clear,
181
+ WeakSet.prototype.add,
182
+ WeakSet.prototype["delete"],
183
+ Map.prototype.set,
184
+ Map.prototype["delete"],
185
+ Map.prototype.clear,
186
+ WeakMap.prototype.set,
187
+ WeakMap.prototype["delete"],
188
+ Date.prototype.setMilliseconds,
189
+ Date.prototype.setMinutes,
190
+ Date.prototype.setHours,
191
+ Date.prototype.setDate,
192
+ Date.prototype.setFullYear,
193
+ Date.prototype.setUTCMinutes,
194
+ Date.prototype.setUTCHours,
195
+ Date.prototype.setUTCDate,
196
+ Date.prototype.setUTCFullYear,
197
+ Date.prototype.setTime
198
+ ]));
199
+ var Evaluator_Evaluator = /*#__PURE__*/ function() {
200
+ "use strict";
201
+ function Evaluator() {
202
+ var variables = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
203
+ _class_call_check(this, Evaluator);
204
+ var globalScope = Object.assign(Object.create(null), _object_spread({
205
+ Infinity: 1 / 0,
206
+ null: null,
207
+ undefined: void 0,
208
+ NaN: Number.NaN,
209
+ isNaN: Number.isNaN,
210
+ isFinite: Number.isFinite,
211
+ parseFloat: Number.parseFloat,
212
+ parseInt: Number.parseInt,
213
+ encodeURI: globalThis.encodeURI,
214
+ encodeURIComponent: globalThis.encodeURIComponent,
215
+ decodeURI: globalThis.decodeURI,
216
+ decodeURIComponent: globalThis.decodeURIComponent,
217
+ Number: Number,
218
+ String: String,
219
+ Boolean: Boolean,
220
+ BigInt: globalThis.BigInt,
221
+ Symbol: globalThis.Symbol,
222
+ Object: Object,
223
+ Array: Array,
224
+ Set: Set,
225
+ WeakSet: WeakSet,
226
+ Map: Map,
227
+ WeakMap: WeakMap,
228
+ Math: Math,
229
+ JSON: JSON,
230
+ Date: Date,
231
+ RegExp: RegExp,
232
+ Error: Error,
233
+ EvalError: EvalError,
234
+ RangeError: RangeError,
235
+ ReferenceError: ReferenceError,
236
+ SyntaxError: SyntaxError,
237
+ TypeError: TypeError,
238
+ URIError: URIError,
239
+ Promise: Promise
240
+ }, typeArrayConstructors.reduce(function(acc, obj) {
241
+ acc[obj.name] = obj;
242
+ return acc;
243
+ }, {})));
244
+ this.scopes = [
245
+ variables,
246
+ globalScope
247
+ ];
248
+ }
249
+ _create_class(Evaluator, [
250
+ {
251
+ key: "evaluate",
252
+ value: function(expression) {
253
+ var ast = __WEBPACK_EXTERNAL_MODULE_acorn__.parse(expression, {
254
+ ecmaVersion: "latest"
255
+ });
256
+ return this.execute(ast.body);
257
+ }
258
+ },
259
+ {
260
+ key: "execute",
261
+ value: function(body) {
262
+ var result;
263
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
264
+ try {
265
+ for(var _iterator = body[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
266
+ var node = _step.value;
267
+ result = this.visit(node);
268
+ }
269
+ } catch (err) {
270
+ _didIteratorError = true;
271
+ _iteratorError = err;
272
+ } finally{
273
+ try {
274
+ if (!_iteratorNormalCompletion && null != _iterator["return"]) _iterator["return"]();
275
+ } finally{
276
+ if (_didIteratorError) throw _iteratorError;
277
+ }
278
+ }
279
+ return result;
280
+ }
281
+ },
282
+ {
283
+ key: "visit",
284
+ value: function(node) {
285
+ var _this = this;
286
+ switch(node.type){
287
+ case "ExpressionStatement":
288
+ return this.visit(node.expression);
289
+ case "BinaryExpression":
290
+ return this.handleBinaryExpression(node);
291
+ case "LogicalExpression":
292
+ return this.handleLogicalExpression(node);
293
+ case "UnaryExpression":
294
+ return this.handleUnaryExpression(node);
295
+ case "Identifier":
296
+ return this.handleIdentifier(node);
297
+ case "Literal":
298
+ return node.value;
299
+ case "MemberExpression":
300
+ return this.handleMemberExpression(node);
301
+ case "ObjectExpression":
302
+ return this.handleObjectExpression(node);
303
+ case "ArrayExpression":
304
+ return this.handleArrayExpression(node);
305
+ case "ArrowFunctionExpression":
306
+ return this.handleArrowFunctionExpression(node);
307
+ case "CallExpression":
308
+ return this.handleCallExpression(node);
309
+ case "ConditionalExpression":
310
+ return this.visit(node.test) ? this.visit(node.consequent) : this.visit(node.alternate);
311
+ case "NewExpression":
312
+ if ("Identifier" !== node.callee.type) throw new Error("Unsupported callee type '".concat(node.callee.type, "' in new expression"));
313
+ if ("Function" === node.callee.name) throw new Error("Cannot use new with Function constructor");
314
+ var Constructor = this.visit(node.callee);
315
+ var args = node["arguments"].map(function(arg) {
316
+ return _this.visit(arg);
317
+ });
318
+ return _construct(Constructor, _to_consumable_array(args));
319
+ case "ChainExpression":
320
+ return this.visit(node.expression);
321
+ case "TemplateLiteral":
322
+ return this.handleTemplateLiteral(node);
323
+ default:
324
+ throw new Error("Unsupported node type: ".concat(node.type));
325
+ }
326
+ }
327
+ },
328
+ {
329
+ key: "handleBinaryExpression",
330
+ value: function(node) {
331
+ switch(node.operator){
332
+ case "+":
333
+ return this.visit(node.left) + this.visit(node.right);
334
+ case "-":
335
+ return this.visit(node.left) - this.visit(node.right);
336
+ case "*":
337
+ return this.visit(node.left) * this.visit(node.right);
338
+ case "**":
339
+ return Math.pow(this.visit(node.left), this.visit(node.right));
340
+ case "/":
341
+ var left = this.visit(node.left);
342
+ var right = this.visit(node.right);
343
+ if (0 === right) throw new Error("Division by zero");
344
+ return left / right;
345
+ case "==":
346
+ return this.visit(node.left) == this.visit(node.right);
347
+ case "===":
348
+ return this.visit(node.left) === this.visit(node.right);
349
+ case "!=":
350
+ return this.visit(node.left) != this.visit(node.right);
351
+ case "!==":
352
+ return this.visit(node.left) !== this.visit(node.right);
353
+ case ">":
354
+ return this.visit(node.left) > this.visit(node.right);
355
+ case ">=":
356
+ return this.visit(node.left) >= this.visit(node.right);
357
+ case "<":
358
+ return this.visit(node.left) < this.visit(node.right);
359
+ case "<=":
360
+ return this.visit(node.left) <= this.visit(node.right);
361
+ case "%":
362
+ return this.visit(node.left) % this.visit(node.right);
363
+ case "&":
364
+ return this.visit(node.left) & this.visit(node.right);
365
+ case "|":
366
+ return this.visit(node.left) | this.visit(node.right);
367
+ case "^":
368
+ return this.visit(node.left) ^ this.visit(node.right);
369
+ case "<<":
370
+ return this.visit(node.left) << this.visit(node.right);
371
+ case ">>":
372
+ return this.visit(node.left) >> this.visit(node.right);
373
+ case ">>>":
374
+ return this.visit(node.left) >>> this.visit(node.right);
375
+ default:
376
+ throw new Error("Unsupported operator: ".concat(node.operator));
377
+ }
378
+ }
379
+ },
380
+ {
381
+ key: "handleLogicalExpression",
382
+ value: function(node) {
383
+ switch(node.operator){
384
+ case "&&":
385
+ return this.visit(node.left) && this.visit(node.right);
386
+ case "||":
387
+ return this.visit(node.left) || this.visit(node.right);
388
+ case "??":
389
+ var left = this.visit(node.left);
390
+ return null != left ? left : this.visit(node.right);
391
+ default:
392
+ throw new Error("Unsupported logical operator: ".concat(node.operator));
393
+ }
394
+ }
395
+ },
396
+ {
397
+ key: "handleUnaryExpression",
398
+ value: function(node) {
399
+ switch(node.operator){
400
+ case "-":
401
+ return -this.visit(node.argument);
402
+ case "+":
403
+ return +this.visit(node.argument);
404
+ case "!":
405
+ return !this.visit(node.argument);
406
+ case "~":
407
+ return ~this.visit(node.argument);
408
+ case "typeof":
409
+ return _type_of(this.visit(node.argument));
410
+ case "void":
411
+ return void this.visit(node.argument);
412
+ case "delete":
413
+ throw new Error("Delete operator is mutable and not supported");
414
+ default:
415
+ throw new Error("Unsupported unary operator: ".concat(node.operator));
416
+ }
417
+ }
418
+ },
419
+ {
420
+ key: "handleIdentifier",
421
+ value: function(node) {
422
+ var name = node.name;
423
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
424
+ try {
425
+ for(var _iterator = this.scopes[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
426
+ var scope = _step.value;
427
+ if (Object.hasOwn(scope, name)) return scope[name];
428
+ }
429
+ } catch (err) {
430
+ _didIteratorError = true;
431
+ _iteratorError = err;
432
+ } finally{
433
+ try {
434
+ if (!_iteratorNormalCompletion && null != _iterator["return"]) _iterator["return"]();
435
+ } finally{
436
+ if (_didIteratorError) throw _iteratorError;
437
+ }
438
+ }
439
+ throw new ReferenceError("".concat(name, " is not defined"));
440
+ }
441
+ },
442
+ {
443
+ key: "handleMemberExpression",
444
+ value: function(node) {
445
+ var object = this.visit(node.object);
446
+ var property = "Identifier" !== node.property.type || node.computed ? this.visit(node.property) : node.property.name;
447
+ if (null == object) {
448
+ if (node.optional) return;
449
+ throw new TypeError("Cannot read property '".concat(property, "' of ").concat(object));
450
+ }
451
+ if (Object.hasOwn(object, property)) return object[property];
452
+ var prototypeValue = object[property];
453
+ if (mutableMethods.has(prototypeValue)) throw new Error("Cannot call mutable prototype method: ".concat(property));
454
+ if ("function" == typeof prototypeValue) return prototypeValue.bind(object);
455
+ return prototypeValue;
456
+ }
457
+ },
458
+ {
459
+ key: "handleObjectExpression",
460
+ value: function(node) {
461
+ var obj = {};
462
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
463
+ try {
464
+ for(var _iterator = node.properties[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
465
+ var prop = _step.value;
466
+ var key = prop.key.name || prop.key.value;
467
+ var value = this.visit(prop.value);
468
+ obj[key] = value;
469
+ }
470
+ } catch (err) {
471
+ _didIteratorError = true;
472
+ _iteratorError = err;
473
+ } finally{
474
+ try {
475
+ if (!_iteratorNormalCompletion && null != _iterator["return"]) _iterator["return"]();
476
+ } finally{
477
+ if (_didIteratorError) throw _iteratorError;
478
+ }
479
+ }
480
+ return obj;
481
+ }
482
+ },
483
+ {
484
+ key: "handleArrayExpression",
485
+ value: function(node) {
486
+ var _this = this;
487
+ return node.elements.map(function(element) {
488
+ return _this.visit(element);
489
+ });
490
+ }
491
+ },
492
+ {
493
+ key: "handleArrowFunctionExpression",
494
+ value: function(node) {
495
+ var _this = this;
496
+ return function() {
497
+ for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)args[_key] = arguments[_key];
498
+ var newScope = {};
499
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
500
+ try {
501
+ for(var _iterator = node.params.entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
502
+ var _step_value = _sliced_to_array(_step.value, 2), index = _step_value[0], param = _step_value[1];
503
+ newScope[param.name] = args[index];
504
+ }
505
+ } catch (err) {
506
+ _didIteratorError = true;
507
+ _iteratorError = err;
508
+ } finally{
509
+ try {
510
+ if (!_iteratorNormalCompletion && null != _iterator["return"]) _iterator["return"]();
511
+ } finally{
512
+ if (_didIteratorError) throw _iteratorError;
513
+ }
514
+ }
515
+ _this.scopes.unshift(newScope);
516
+ var result = _this.visit(node.body);
517
+ _this.scopes.shift();
518
+ return result;
519
+ };
520
+ }
521
+ },
522
+ {
523
+ key: "handleCallExpression",
524
+ value: function(node) {
525
+ var _this = this;
526
+ var calledString = this.getNodeString(node.callee);
527
+ var func = this.visit(node.callee);
528
+ if ("function" != typeof func) {
529
+ var isOptional = node.optional || node.callee.optional;
530
+ if (null == func && isOptional) return;
531
+ throw new TypeError("".concat(calledString, " is not a function"));
532
+ }
533
+ var args = node["arguments"].map(function(arg) {
534
+ return _this.visit(arg);
535
+ });
536
+ return func.apply(void 0, _to_consumable_array(args));
537
+ }
538
+ },
539
+ {
540
+ key: "handleTemplateLiteral",
541
+ value: function(node) {
542
+ var _this = this;
543
+ return node.quasis.concat(node.expressions).filter(Boolean).sort(function(a, b) {
544
+ return a.start - b.start;
545
+ }).map(function(node) {
546
+ if ("TemplateElement" === node.type) return node.value.raw;
547
+ return _this.visit(node);
548
+ }).join("");
549
+ }
550
+ },
551
+ {
552
+ key: "getNodeString",
553
+ value: function(node) {
554
+ switch(node.type){
555
+ case "Identifier":
556
+ return node.name;
557
+ case "Literal":
558
+ return node.raw;
559
+ case "ArrayExpression":
560
+ return "(array)";
561
+ case "ObjectExpression":
562
+ return "(object)";
563
+ case "MemberExpression":
564
+ var accessor = this.getNodeString(node.object);
565
+ if (node.computed) accessor += "[".concat(this.getNodeString(node.property), "]");
566
+ else accessor += ".".concat(this.getNodeString(node.property));
567
+ return accessor;
568
+ default:
569
+ return null;
570
+ }
571
+ }
572
+ }
573
+ ]);
574
+ return Evaluator;
575
+ }();
576
+ var TEMPLATE_EXPRESSION_REGEX = /\$\{\{((?:[^{}]|{[^{}]*})+)\}\}/g;
577
+ function evaluatorExpression(expression, context) {
578
+ var evaluator = new Evaluator_Evaluator(context);
579
+ return evaluator.evaluate(expression);
580
+ }
581
+ function evaluatorTemplate(template, context) {
582
+ var evaluator = new Evaluator_Evaluator(context);
583
+ return template.replace(TEMPLATE_EXPRESSION_REGEX, function(match, expression) {
584
+ try {
585
+ var value = evaluator.evaluate(expression.trim());
586
+ return String(value);
587
+ } catch (error) {
588
+ if (error instanceof ReferenceError && error.message.endsWith("is not defined")) return "";
589
+ throw error;
590
+ }
591
+ });
592
+ }
593
+ export { evaluatorExpression, evaluatorTemplate };
594
+
595
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esm/index.mjs","sources":["webpack://ecma-evaluator/./src/Evaluator.js","webpack://ecma-evaluator/./src/index.js"],"sourcesContent":["import * as acorn from \"acorn\";\n\n// List of TypedArray constructors available in the environment\nconst typeArrayConstructors = [\n\tInt8Array,\n\tUint8Array,\n\tUint8ClampedArray,\n\tInt16Array,\n\tUint16Array,\n\tInt32Array,\n\tUint32Array,\n\tFloat32Array,\n\tFloat64Array,\n\tglobalThis.BigInt64Array,\n\tglobalThis.BigUint64Array,\n].filter(Boolean);\n\n// Set of methods that mutate their objects and should be blocked for safety\nconst mutableMethods = new Set([\n\tArray.prototype.push,\n\tArray.prototype.pop,\n\tArray.prototype.shift,\n\tArray.prototype.unshift,\n\tArray.prototype.splice,\n\tArray.prototype.reverse,\n\tArray.prototype.sort,\n\tArray.prototype.fill,\n\tArray.prototype.copyWithin,\n\tArrayBuffer.prototype.slice,\n\tDataView.prototype.setInt8,\n\tDataView.prototype.setUint8,\n\tDataView.prototype.setInt16,\n\tDataView.prototype.setUint16,\n\tDataView.prototype.setInt32,\n\tDataView.prototype.setUint32,\n\tDataView.prototype.setFloat32,\n\tDataView.prototype.setFloat64,\n\t// TypedArray methods\n\t...typeArrayConstructors.flatMap((TypedArray) => [\n\t\tTypedArray.prototype.set,\n\t\tTypedArray.prototype.fill,\n\t\tTypedArray.prototype.copyWithin,\n\t\tTypedArray.prototype.reverse,\n\t\tTypedArray.prototype.sort,\n\t]),\n\n\tObject.freeze,\n\tObject.defineProperty,\n\tObject.defineProperties,\n\tObject.preventExtensions,\n\tObject.setPrototypeOf,\n\tObject.assign,\n\tSet.prototype.add,\n\tSet.prototype.delete,\n\tSet.prototype.clear,\n\tWeakSet.prototype.add,\n\tWeakSet.prototype.delete,\n\tMap.prototype.set,\n\tMap.prototype.delete,\n\tMap.prototype.clear,\n\tWeakMap.prototype.set,\n\tWeakMap.prototype.delete,\n\tDate.prototype.setMilliseconds,\n\tDate.prototype.setMinutes,\n\tDate.prototype.setHours,\n\tDate.prototype.setDate,\n\tDate.prototype.setFullYear,\n\tDate.prototype.setUTCMinutes,\n\tDate.prototype.setUTCHours,\n\tDate.prototype.setUTCDate,\n\tDate.prototype.setUTCFullYear,\n\tDate.prototype.setTime,\n]);\n\n/**\n * A JavaScript expression evaluator that safely evaluates expressions within a sandboxed environment.\n * Supports various JavaScript features including arithmetic, logical operations, functions, and more.\n */\nexport class Evaluator {\n\t/**\n\t * Creates a new Evaluator instance.\n\t * @param {Object} [variables={}] - An optional object containing variables to make available in the evaluation context\n\t */\n\tconstructor(variables = {}) {\n\t\tconst globalScope = Object.assign(Object.create(null), {\n\t\t\tInfinity,\n\t\t\tnull: null,\n\t\t\tundefined,\n\t\t\tNaN: Number.NaN,\n\t\t\tisNaN: Number.isNaN,\n\t\t\tisFinite: Number.isFinite,\n\t\t\tparseFloat: Number.parseFloat,\n\t\t\tparseInt: Number.parseInt,\n\t\t\tencodeURI: globalThis.encodeURI,\n\t\t\tencodeURIComponent: globalThis.encodeURIComponent,\n\t\t\tdecodeURI: globalThis.decodeURI,\n\t\t\tdecodeURIComponent: globalThis.decodeURIComponent,\n\t\t\tNumber,\n\t\t\tString,\n\t\t\tBoolean,\n\t\t\tBigInt: globalThis.BigInt,\n\t\t\tSymbol: globalThis.Symbol,\n\t\t\tObject,\n\t\t\tArray,\n\t\t\tSet,\n\t\t\tWeakSet,\n\t\t\tMap,\n\t\t\tWeakMap,\n\t\t\tMath,\n\t\t\tJSON,\n\t\t\tDate,\n\t\t\tRegExp,\n\t\t\tError,\n\t\t\tEvalError,\n\t\t\tRangeError,\n\t\t\tReferenceError,\n\t\t\tSyntaxError,\n\t\t\tTypeError,\n\t\t\tURIError,\n\t\t\tPromise,\n\t\t\t...typeArrayConstructors.reduce((acc, obj) => {\n\t\t\t\tacc[obj.name] = obj;\n\t\t\t\treturn acc;\n\t\t\t}, {}),\n\t\t});\n\t\tthis.scopes = [variables, globalScope]; // Scope stack: [user variables, global scope]\n\t}\n\n\t/**\n\t * Parses and evaluates a JavaScript expression.\n\t * @param {string} expression - The JavaScript expression to evaluate\n\t * @returns {*} The result of the evaluation\n\t */\n\tevaluate(expression) {\n\t\tconst ast = acorn.parse(expression, { ecmaVersion: \"latest\" });\n\n\t\t// Start recursive evaluation from the root node\n\t\treturn this.execute(ast.body);\n\t}\n\n\t/**\n\t * Executes an array of AST body nodes sequentially.\n\t * @private\n\t * @param {Array} body - Array of AST nodes to execute\n\t * @returns {*} The result of the last executed node\n\t */\n\texecute(body) {\n\t\tlet result;\n\t\tfor (const node of body) {\n\t\t\tresult = this.visit(node);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * Visits an AST node and delegates to the appropriate handler based on node type.\n\t * @private\n\t * @param {Object} node - The AST node to visit\n\t * @returns {*} The result of visiting the node\n\t */\n\tvisit(node) {\n\t\tswitch (node.type) {\n\t\t\tcase \"ExpressionStatement\": {\n\t\t\t\treturn this.visit(node.expression);\n\t\t\t}\n\t\t\tcase \"BinaryExpression\": {\n\t\t\t\treturn this.handleBinaryExpression(node);\n\t\t\t}\n\t\t\tcase \"LogicalExpression\": {\n\t\t\t\treturn this.handleLogicalExpression(node);\n\t\t\t}\n\t\t\tcase \"UnaryExpression\": {\n\t\t\t\treturn this.handleUnaryExpression(node);\n\t\t\t}\n\t\t\tcase \"Identifier\": {\n\t\t\t\treturn this.handleIdentifier(node);\n\t\t\t}\n\t\t\tcase \"Literal\": {\n\t\t\t\treturn node.value;\n\t\t\t}\n\t\t\tcase \"MemberExpression\": {\n\t\t\t\treturn this.handleMemberExpression(node);\n\t\t\t}\n\t\t\tcase \"ObjectExpression\": {\n\t\t\t\treturn this.handleObjectExpression(node);\n\t\t\t}\n\t\t\tcase \"ArrayExpression\": {\n\t\t\t\treturn this.handleArrayExpression(node);\n\t\t\t}\n\t\t\tcase \"ArrowFunctionExpression\": {\n\t\t\t\treturn this.handleArrowFunctionExpression(node);\n\t\t\t}\n\t\t\tcase \"CallExpression\": {\n\t\t\t\treturn this.handleCallExpression(node);\n\t\t\t}\n\t\t\tcase \"ConditionalExpression\": {\n\t\t\t\treturn this.visit(node.test) ? this.visit(node.consequent) : this.visit(node.alternate);\n\t\t\t}\n\t\t\tcase \"NewExpression\": {\n\t\t\t\tif (node.callee.type !== \"Identifier\") {\n\t\t\t\t\tthrow new Error(`Unsupported callee type '${node.callee.type}' in new expression`);\n\t\t\t\t}\n\n\t\t\t\tif (node.callee.name === \"Function\") {\n\t\t\t\t\tthrow new Error(\"Cannot use new with Function constructor\");\n\t\t\t\t}\n\n\t\t\t\tconst Constructor = this.visit(node.callee);\n\n\t\t\t\tconst args = node.arguments.map((arg) => this.visit(arg));\n\n\t\t\t\treturn new Constructor(...args);\n\t\t\t}\n\t\t\tcase \"ChainExpression\": {\n\t\t\t\treturn this.visit(node.expression);\n\t\t\t}\n\t\t\tcase \"TemplateLiteral\": {\n\t\t\t\treturn this.handleTemplateLiteral(node);\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tthrow new Error(`Unsupported node type: ${node.type}`);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Handles binary expressions (arithmetic and comparison operations).\n\t * @private\n\t */\n\thandleBinaryExpression(node) {\n\t\tswitch (node.operator) {\n\t\t\tcase \"+\": {\n\t\t\t\treturn this.visit(node.left) + this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"-\": {\n\t\t\t\treturn this.visit(node.left) - this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"*\": {\n\t\t\t\treturn this.visit(node.left) * this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"**\": {\n\t\t\t\treturn this.visit(node.left) ** this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"/\": {\n\t\t\t\tconst left = this.visit(node.left);\n\t\t\t\tconst right = this.visit(node.right);\n\t\t\t\tif (right === 0) throw new Error(\"Division by zero\");\n\t\t\t\treturn left / right;\n\t\t\t}\n\t\t\tcase \"==\": {\n\t\t\t\t// Intentionally using loose equality as per JavaScript semantics\n\t\t\t\t// biome-ignore lint/suspicious/noDoubleEquals: <explanation>\n\t\t\t\treturn this.visit(node.left) == this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"===\": {\n\t\t\t\treturn this.visit(node.left) === this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"!=\": {\n\t\t\t\t// Intentionally using loose inequality as per JavaScript semantics\n\t\t\t\t// biome-ignore lint/suspicious/noDoubleEquals: <explanation>\n\t\t\t\treturn this.visit(node.left) != this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"!==\": {\n\t\t\t\treturn this.visit(node.left) !== this.visit(node.right);\n\t\t\t}\n\t\t\tcase \">\": {\n\t\t\t\treturn this.visit(node.left) > this.visit(node.right);\n\t\t\t}\n\t\t\tcase \">=\": {\n\t\t\t\treturn this.visit(node.left) >= this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"<\": {\n\t\t\t\treturn this.visit(node.left) < this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"<=\": {\n\t\t\t\treturn this.visit(node.left) <= this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"%\": {\n\t\t\t\treturn this.visit(node.left) % this.visit(node.right);\n\t\t\t}\n\t\t\t// Bitwise operators\n\t\t\tcase \"&\": {\n\t\t\t\treturn this.visit(node.left) & this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"|\": {\n\t\t\t\treturn this.visit(node.left) | this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"^\": {\n\t\t\t\treturn this.visit(node.left) ^ this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"<<\": {\n\t\t\t\treturn this.visit(node.left) << this.visit(node.right);\n\t\t\t}\n\t\t\tcase \">>\": {\n\t\t\t\treturn this.visit(node.left) >> this.visit(node.right);\n\t\t\t}\n\t\t\tcase \">>>\": {\n\t\t\t\treturn this.visit(node.left) >>> this.visit(node.right);\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tthrow new Error(`Unsupported operator: ${node.operator}`);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Handles logical expressions (&&, ||, ??).\n\t * @private\n\t */\n\thandleLogicalExpression(node) {\n\t\tswitch (node.operator) {\n\t\t\tcase \"&&\": {\n\t\t\t\treturn this.visit(node.left) && this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"||\": {\n\t\t\t\treturn this.visit(node.left) || this.visit(node.right);\n\t\t\t}\n\t\t\tcase \"??\": {\n\t\t\t\tconst left = this.visit(node.left);\n\n\t\t\t\treturn left !== null && left !== undefined ? left : this.visit(node.right);\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tthrow new Error(`Unsupported logical operator: ${node.operator}`);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Handles unary expressions (-, +, !, ~, typeof, void).\n\t * @private\n\t */\n\thandleUnaryExpression(node) {\n\t\tswitch (node.operator) {\n\t\t\tcase \"-\": {\n\t\t\t\treturn -this.visit(node.argument);\n\t\t\t}\n\t\t\tcase \"+\": {\n\t\t\t\treturn +this.visit(node.argument);\n\t\t\t}\n\t\t\tcase \"!\": {\n\t\t\t\treturn !this.visit(node.argument);\n\t\t\t}\n\t\t\tcase \"~\": {\n\t\t\t\treturn ~this.visit(node.argument);\n\t\t\t}\n\t\t\tcase \"typeof\": {\n\t\t\t\treturn typeof this.visit(node.argument);\n\t\t\t}\n\t\t\tcase \"void\": {\n\t\t\t\t// eslint-disable-next-line sonarjs/void-use\n\t\t\t\treturn void this.visit(node.argument);\n\t\t\t}\n\t\t\tcase \"delete\": {\n\t\t\t\tthrow new Error(\"Delete operator is mutable and not supported\");\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\tthrow new Error(`Unsupported unary operator: ${node.operator}`);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Handles identifier (variable) lookups in the scope chain.\n\t * @private\n\t */\n\thandleIdentifier(node) {\n\t\tconst name = node.name;\n\t\tfor (const scope of this.scopes) {\n\t\t\tif (Object.hasOwn(scope, name)) {\n\t\t\t\treturn scope[name];\n\t\t\t}\n\t\t}\n\n\t\tthrow new ReferenceError(`${name} is not defined`);\n\t}\n\n\t/**\n\t * Handles member expressions (property access like obj.prop or obj[prop]).\n\t * @private\n\t */\n\thandleMemberExpression(node) {\n\t\tconst object = this.visit(node.object);\n\t\tconst property = node.property.type === \"Identifier\" && !node.computed ? node.property.name : this.visit(node.property);\n\n\t\tif (object === null || object === undefined) {\n\t\t\t// optional chaining\n\t\t\tif (node.optional) {\n\t\t\t\treturn void 0;\n\t\t\t}\n\t\t\tthrow new TypeError(`Cannot read property '${property}' of ${object}`);\n\t\t}\n\n\t\t// Check for own properties first (instance properties take precedence)\n\t\tif (Object.hasOwn(object, property)) {\n\t\t\treturn object[property];\n\t\t}\n\n\t\tconst prototypeValue = object[property];\n\n\t\tif (mutableMethods.has(prototypeValue)) {\n\t\t\tthrow new Error(`Cannot call mutable prototype method: ${property}`);\n\t\t}\n\n\t\tif (typeof prototypeValue === \"function\") {\n\t\t\t// Bind prototype methods to the instance\n\t\t\treturn prototypeValue.bind(object);\n\t\t}\n\n\t\treturn prototypeValue;\n\t}\n\n\t/**\n\t * Handles object literal expressions.\n\t * @private\n\t */\n\thandleObjectExpression(node) {\n\t\tconst obj = {};\n\t\tfor (const prop of node.properties) {\n\t\t\tconst key = prop.key.name || prop.key.value;\n\t\t\tconst value = this.visit(prop.value);\n\t\t\tobj[key] = value;\n\t\t}\n\t\treturn obj;\n\t}\n\n\t/**\n\t * Handles array literal expressions.\n\t * @private\n\t */\n\thandleArrayExpression(node) {\n\t\treturn node.elements.map((element) => this.visit(element));\n\t}\n\n\t/**\n\t * Handles arrow function expressions.\n\t * @private\n\t */\n\thandleArrowFunctionExpression(node) {\n\t\treturn (...args) => {\n\t\t\tconst newScope = {};\n\t\t\tfor (const [index, param] of node.params.entries()) {\n\t\t\t\tnewScope[param.name] = args[index];\n\t\t\t}\n\t\t\tthis.scopes.unshift(newScope);\n\t\t\tconst result = this.visit(node.body);\n\t\t\tthis.scopes.shift();\n\t\t\treturn result;\n\t\t};\n\t}\n\n\t/**\n\t * Handles function call expressions, including optional chaining.\n\t * @private\n\t */\n\thandleCallExpression(node) {\n\t\tconst calledString = this.getNodeString(node.callee);\n\n\t\tconst func = this.visit(node.callee);\n\n\t\tif (typeof func !== \"function\") {\n\t\t\tconst isOptional = node.optional || node.callee.optional;\n\t\t\tif ((func === undefined || func === null) && isOptional) {\n\t\t\t\treturn void 0;\n\t\t\t}\n\t\t\tthrow new TypeError(`${calledString} is not a function`);\n\t\t}\n\n\t\tconst args = node.arguments.map((arg) => this.visit(arg));\n\n\t\treturn func(...args);\n\t}\n\n\t/**\n\t * Handles template literal expressions.\n\t * @private\n\t */\n\thandleTemplateLiteral(node) {\n\t\treturn node.quasis\n\t\t\t.concat(node.expressions)\n\t\t\t.filter(Boolean)\n\t\t\t.sort((a, b) => {\n\t\t\t\treturn a.start - b.start;\n\t\t\t})\n\t\t\t.map((node) => {\n\t\t\t\tif (node.type === \"TemplateElement\") {\n\t\t\t\t\treturn node.value.raw;\n\t\t\t\t}\n\n\t\t\t\treturn this.visit(node);\n\t\t\t})\n\t\t\t.join(\"\");\n\t}\n\n\t/**\n\t * Converts an AST node to a human-readable string representation for error messages.\n\t * @private\n\t * @param {Object} node - The AST node to convert\n\t * @returns {string|null} A string representation of the node, or null if not supported\n\t */\n\tgetNodeString(node) {\n\t\tswitch (node.type) {\n\t\t\tcase \"Identifier\": {\n\t\t\t\treturn node.name;\n\t\t\t}\n\t\t\tcase \"Literal\": {\n\t\t\t\treturn node.raw;\n\t\t\t}\n\t\t\tcase \"ArrayExpression\": {\n\t\t\t\treturn \"(array)\";\n\t\t\t}\n\t\t\tcase \"ObjectExpression\": {\n\t\t\t\treturn \"(object)\";\n\t\t\t}\n\t\t\tcase \"MemberExpression\": {\n\t\t\t\tlet accessor = this.getNodeString(node.object);\n\n\t\t\t\tif (node.computed) {\n\t\t\t\t\taccessor += `[${this.getNodeString(node.property)}]`;\n\t\t\t\t} else {\n\t\t\t\t\taccessor += `.${this.getNodeString(node.property)}`;\n\t\t\t\t}\n\n\t\t\t\treturn accessor;\n\t\t\t}\n\t\t\tdefault: {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Evaluator } from \"./Evaluator.js\";\n\n// Regular expression to match ${{ expression }} template patterns\nconst TEMPLATE_EXPRESSION_REGEX = /\\$\\{\\{((?:[^{}]|{[^{}]*})+)\\}\\}/g;\n\n/**\n * Evaluates a JavaScript expression with an optional context.\n * @param {string} expression - The JavaScript expression to evaluate\n * @param {Object} [context] - Optional context object with variables to use in the expression\n * @returns {*} The result of evaluating the expression\n */\nexport function evaluatorExpression(expression, context) {\n\tconst evaluator = new Evaluator(context);\n\n\treturn evaluator.evaluate(expression);\n}\n\n/**\n * Evaluates a template string by replacing ${{ expression }} patterns with their evaluated values.\n * @param {string} template - The template string containing ${{ expression }} patterns\n * @param {Object} [context] - Optional context object with variables to use in expressions\n * @returns {string} The template with all expressions evaluated and replaced\n */\nexport function evaluatorTemplate(template, context) {\n\tconst evaluator = new Evaluator(context);\n\t\n\treturn template.replace(TEMPLATE_EXPRESSION_REGEX, (match, expression) => {\n\t\ttry {\n\t\t\tconst value = evaluator.evaluate(expression.trim());\n\t\t\treturn String(value);\n\t\t} catch (error) {\n\t\t\tif (error instanceof ReferenceError && error.message.endsWith(\"is not defined\")) {\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t\tthrow error;\n\t\t}\n\t});\n}\n"],"names":["typeArrayConstructors","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","globalThis","Boolean","mutableMethods","Set","Array","ArrayBuffer","DataView","TypedArray","Object","WeakSet","Map","WeakMap","Date","Evaluator","variables","globalScope","Infinity","undefined","Number","String","Math","JSON","RegExp","Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","Promise","acc","obj","evaluate","expression","ast","acorn","execute","body","result","_iteratorError","node","visit","Constructor","args","arg","handleBinaryExpression","left","right","handleLogicalExpression","handleUnaryExpression","_type_of","handleIdentifier","name","scope","handleMemberExpression","object","property","prototypeValue","handleObjectExpression","prop","key","value","handleArrayExpression","element","handleArrowFunctionExpression","newScope","index","param","handleCallExpression","calledString","func","isOptional","handleTemplateLiteral","a","b","getNodeString","accessor","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