@bonsae/nrg 0.26.0 → 0.26.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonsae/nrg",
3
- "version": "0.26.0",
3
+ "version": "0.26.2",
4
4
  "description": "NRG framework — build Node-RED nodes with Vue 3, TypeScript, and JSON Schema",
5
5
  "author": "Allan Oricil <allanoricil@duck.com>",
6
6
  "license": "MIT",
package/server/index.cjs CHANGED
@@ -1207,7 +1207,7 @@ var TYPED_INPUT_TYPES = [
1207
1207
 
1208
1208
  // src/core/server/schemas/type.ts
1209
1209
  var import_typebox2 = require("@sinclair/typebox");
1210
- var import_rules = require("ajv/dist/compile/rules");
1210
+ var import_rules = require("ajv/dist/compile/rules.js");
1211
1211
  function NodeRef(nodeClass, options) {
1212
1212
  return {
1213
1213
  ...import_typebox2.Type.String({
@@ -1,3 +1,9 @@
1
+ import { fileURLToPath as __nrgFileURLToPath } from "url";
2
+ import { dirname as __nrgDirname } from "path";
3
+ var __filename = __nrgFileURLToPath(import.meta.url);
4
+ var __dirname = __nrgDirname(__filename);
5
+
6
+
1
7
  // src/test/server/integration/config.ts
2
8
  import path from "path";
3
9
  var defaultConfig = {
@@ -1,3 +1,9 @@
1
+ import { fileURLToPath as __nrgFileURLToPath } from "url";
2
+ import { dirname as __nrgDirname } from "path";
3
+ var __filename = __nrgFileURLToPath(import.meta.url);
4
+ var __dirname = __nrgDirname(__filename);
5
+
6
+
1
7
  // src/test/server/integration/runtime.ts
2
8
  import http from "http";
3
9
  import os from "os";
@@ -1070,7 +1076,7 @@ var TYPED_INPUT_TYPES = [
1070
1076
 
1071
1077
  // src/core/server/schemas/type.ts
1072
1078
  import { Type as BaseType, Kind as Kind2 } from "@sinclair/typebox";
1073
- import { isJSONType } from "ajv/dist/compile/rules";
1079
+ import { isJSONType } from "ajv/dist/compile/rules.js";
1074
1080
  function NodeRef(nodeClass, options) {
1075
1081
  return {
1076
1082
  ...BaseType.String({
@@ -1,3 +1,9 @@
1
+ import { fileURLToPath as __nrgFileURLToPath } from "url";
2
+ import { dirname as __nrgDirname } from "path";
3
+ var __filename = __nrgFileURLToPath(import.meta.url);
4
+ var __dirname = __nrgDirname(__filename);
5
+
6
+
1
7
  // src/test/server/unit/config.ts
2
8
  import path from "path";
3
9
  var defaultConfig = {
@@ -1,3 +1,9 @@
1
+ import { fileURLToPath as __nrgFileURLToPath } from "url";
2
+ import { dirname as __nrgDirname } from "path";
3
+ var __filename = __nrgFileURLToPath(import.meta.url);
4
+ var __dirname = __nrgDirname(__filename);
5
+
6
+
1
7
  // src/test/server/unit/index.ts
2
8
  import { vi as vi2 } from "vitest";
3
9