@artemiskit/reports 0.2.4 → 0.3.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/index.js CHANGED
@@ -4,15 +4,29 @@ var __getProtoOf = Object.getPrototypeOf;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ function __accessProp(key) {
8
+ return this[key];
9
+ }
10
+ var __toESMCache_node;
11
+ var __toESMCache_esm;
7
12
  var __toESM = (mod, isNodeMode, target) => {
13
+ var canCache = mod != null && typeof mod === "object";
14
+ if (canCache) {
15
+ var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
16
+ var cached = cache.get(mod);
17
+ if (cached)
18
+ return cached;
19
+ }
8
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
9
21
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
10
22
  for (let key of __getOwnPropNames(mod))
11
23
  if (!__hasOwnProp.call(to, key))
12
24
  __defProp(to, key, {
13
- get: () => mod[key],
25
+ get: __accessProp.bind(mod, key),
14
26
  enumerable: true
15
27
  });
28
+ if (canCache)
29
+ cache.set(mod, to);
16
30
  return to;
17
31
  };
18
32
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
@@ -54,7 +68,7 @@ var require_utils = __commonJS((exports) => {
54
68
  }
55
69
  var toString = Object.prototype.toString;
56
70
  exports.toString = toString;
57
- var isFunction = function isFunction(value) {
71
+ var isFunction = function isFunction2(value) {
58
72
  return typeof value === "function";
59
73
  };
60
74
  if (isFunction(/x/)) {
@@ -708,7 +722,7 @@ var require_wrapHelper = __commonJS((exports) => {
708
722
  if (typeof helper !== "function") {
709
723
  return helper;
710
724
  }
711
- var wrapper = function wrapper() {
725
+ var wrapper = function wrapper2() {
712
726
  var options = arguments[arguments.length - 1];
713
727
  arguments[arguments.length - 1] = transformOptionsFn(options);
714
728
  return helper.apply(this, arguments);
@@ -2372,7 +2386,7 @@ var require_compiler = __commonJS((exports) => {
2372
2386
  return true;
2373
2387
  },
2374
2388
  guid: 0,
2375
- compile: function compile(program, options) {
2389
+ compile: function compile2(program, options) {
2376
2390
  this.sourceNode = [];
2377
2391
  this.opcodes = [];
2378
2392
  this.children = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artemiskit/reports",
3
- "version": "0.2.4",
3
+ "version": "0.3.0",
4
4
  "description": "HTML report generation for ArtemisKit LLM evaluation toolkit",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -30,7 +30,7 @@
30
30
  "test": "bun test"
31
31
  },
32
32
  "dependencies": {
33
- "@artemiskit/core": "0.2.4",
33
+ "@artemiskit/core": "0.3.0",
34
34
  "handlebars": "^4.7.8"
35
35
  },
36
36
  "devDependencies": {