@arcgis/lumina-compiler 5.0.0-next.60 → 5.0.0-next.62

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.
@@ -1,5 +1,5 @@
1
- import { expect as p, afterEach as V } from "vitest";
2
- import { toSystemPathSeparators as L, isPosix as S } from "@arcgis/components-build-utils";
1
+ import { expect as p, afterEach as S } from "vitest";
2
+ import { toSystemPathSeparators as V, isPosix as L } from "@arcgis/components-build-utils";
3
3
  import { p as T, i as h } from "../types-C3YmWTVv.js";
4
4
  import { l as y } from "../logger-hJvg0JOj.js";
5
5
  async function D(s) {
@@ -810,8 +810,8 @@ async function k(s, e) {
810
810
  }), a.on("pageerror", (o) => {
811
811
  if (t.push({
812
812
  type: "pageerror",
813
- message: o.message,
814
- location: o.stack
813
+ message: String(o),
814
+ location: typeof o == "object" && o !== null && "stack" in o ? String(o.stack) : ""
815
815
  }), a._isWaitingForAllReady) {
816
816
  a._unhandledError = o;
817
817
  return;
@@ -975,12 +975,12 @@ function K(s) {
975
975
  if (s?.url) {
976
976
  const t = s.url.indexOf(_);
977
977
  e = ` ${decodeURIComponent(
978
- t === -1 ? s.url : L(s.url.slice(t + _.length))
978
+ t === -1 ? s.url : V(s.url.slice(t + _.length))
979
979
  )}`, s.lineNumber && (e += `:${s.lineNumber}`), s.columnNumber && (e += `:${s.columnNumber}`);
980
980
  }
981
981
  return e;
982
982
  }
983
- const _ = S ? "/@fs" : "/@fs/";
983
+ const _ = L ? "/@fs" : "/@fs/";
984
984
  function f(s, e) {
985
985
  if (typeof s != "object" || s === null)
986
986
  throw new Error(`${e} expect called with non-element value`);
@@ -1122,7 +1122,7 @@ const ne = (s, e) => {
1122
1122
  toHaveNthReceivedEventDetail: oe
1123
1123
  };
1124
1124
  function pe() {
1125
- p.extend(ce), V(() => {
1125
+ p.extend(ce), S(() => {
1126
1126
  document.body.childNodes.forEach(R);
1127
1127
  });
1128
1128
  }
@@ -105,7 +105,7 @@ export interface E2EPage extends Page {
105
105
  /** @private */
106
106
  _isWaitingForAllReady: boolean;
107
107
  /** @private */
108
- _unhandledError: Error | undefined;
108
+ _unhandledError: unknown;
109
109
  }
110
110
  export interface SerializedEvent<Detail = unknown> {
111
111
  bubbles: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina-compiler",
3
- "version": "5.0.0-next.60",
3
+ "version": "5.0.0-next.62",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -18,9 +18,9 @@
18
18
  ],
19
19
  "license": "SEE LICENSE IN LICENSE.md",
20
20
  "dependencies": {
21
- "@arcgis/api-extractor": "5.0.0-next.60",
22
- "@arcgis/components-build-utils": "5.0.0-next.60",
23
- "@arcgis/toolkit": "~5.0.0-next.60",
21
+ "@arcgis/api-extractor": "5.0.0-next.62",
22
+ "@arcgis/components-build-utils": "5.0.0-next.62",
23
+ "@arcgis/toolkit": "~5.0.0-next.62",
24
24
  "chalk": "^5.4.1",
25
25
  "esbuild": "^0.25.12",
26
26
  "glob": "^11.0.3",
@@ -30,7 +30,7 @@
30
30
  "vite-plugin-dts": "^4.5.4"
31
31
  },
32
32
  "peerDependencies": {
33
- "@arcgis/lumina": "~5.0.0-next.60",
33
+ "@arcgis/lumina": "~5.0.0-next.62",
34
34
  "lit": "^3.3.0",
35
35
  "typescript": "~5.9.3",
36
36
  "vite": "^7.2.2",