limber-ui 4.2.0 → 4.2.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.
@@ -1 +1 @@
1
- {"version":3,"file":"frame-messaging.d.ts","sourceRoot":"","sources":["../src/frame-messaging.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEzC,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CACzC;AA2BD,qBAAa,aAAa;IACf,WAAW,EAAE,OAAO,CAAC;IAE9B,UAAU,CAAC,EAAE,UAAU,CAAC;QACtB,MAAM,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;KAC3C,CAAC,CAAC;IAEH;;;OAGG;IACH,WAAW;iBA7BF,iBAAiB;cACpB;YACJ,UAAU,EAAE,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;SACvC;OA0BiE;IAClE,SAAS;iBAhBgB,iBAAiB;OAyBvC;IAGG,YAAY,CAAC,IAAI,EAAE,iBAAiB;CAY3C"}
1
+ {"version":3,"file":"frame-messaging.d.ts","sourceRoot":"","sources":["../src/frame-messaging.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEzC,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;CACzC;AAkCD,qBAAa,aAAa;IACf,WAAW,EAAE,OAAO,CAAC;IAE9B,UAAU,CAAC,EAAE,UAAU,CAAC;QACtB,MAAM,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;KAC3C,CAAC,CAAC;IAEH;;;OAGG;IACH,WAAW;iBApCF,iBAAiB;cACpB;YACJ,UAAU,EAAE,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;SACvC;OAiCiE;IAClE,SAAS;iBApBgB,iBAAiB;OA6BvC;IAGG,YAAY,CAAC,IAAI,EAAE,iBAAiB;CAY3C"}
package/dist/index.js CHANGED
@@ -21,12 +21,18 @@ import { setComponentTemplate } from '@ember/component';
21
21
  */
22
22
  function PostMessage(handleUpdate) {
23
23
  return modifier((element, [data]) => {
24
- if (!element.contentWindow) return;
24
+ // In SSR (happy-dom), contentWindow exists but can't do real messaging.
25
+ // Skip to avoid triggering @waitFor-decorated queuePayload, whose
26
+ // connection.promise never resolves and blocks settled() indefinitely.
27
+ if (!element.contentWindow || import.meta.env?.SSR) return;
25
28
  handleUpdate(data);
26
29
  });
27
30
  }
28
31
  function HandleMessage(createConnection) {
29
- return modifier(element => createConnection(element));
32
+ return modifier(element => {
33
+ if (import.meta.env?.SSR) return;
34
+ return createConnection(element);
35
+ });
30
36
  }
31
37
  class HostMessaging {
32
38
  static {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "limber-ui",
3
- "version": "4.2.0",
3
+ "version": "4.2.2",
4
4
  "description": "Components for interacting with the Limber REPL",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@ember/test-waiters": "^4.1.1",
22
22
  "@embroider/addon-shim": "1.10.2",
23
- "@glimmer/component": "^2.0.0",
23
+ "@glimmer/component": "^2.1.1",
24
24
  "decorator-transforms": "2.3.1",
25
25
  "ember-modifier": "^4.2.2",
26
26
  "penpal": "^6.2.2",
@@ -35,17 +35,17 @@
35
35
  "@babel/preset-typescript": "^7.28.5",
36
36
  "@ember/library-tsconfig": "^2.0.0",
37
37
  "@embroider/addon-dev": "^8.1.0",
38
- "@glint/ember-tsc": "^1.1.0",
39
- "@glint/template": "1.7.4",
40
- "@glint/tsserver-plugin": "^2.1.0",
38
+ "@glint/ember-tsc": "^1.8.12",
39
+ "@glint/template": "1.7.7",
40
+ "@glint/tsserver-plugin": "^2.5.18",
41
41
  "@nullvoxpopuli/eslint-configs": "^5.4.0",
42
42
  "@rollup/plugin-babel": "^6.1.0",
43
- "babel-plugin-ember-template-compilation": "^3.0.1",
43
+ "babel-plugin-ember-template-compilation": "^4.0.0",
44
44
  "concurrently": "^9.2.1",
45
45
  "ember-async-data": "2.0.1",
46
- "ember-primitives": "^0.51.0",
47
- "ember-resources": "^7.0.7",
48
- "ember-source": "6.12.0-alpha.4",
46
+ "ember-primitives": "^0.61.1",
47
+ "ember-resources": "^7.1.0",
48
+ "ember-source": "7.3.0-alpha.2",
49
49
  "ember-template-lint": "^7.9.3",
50
50
  "eslint": "^9.39.1",
51
51
  "execa": "^9.6.1",
@@ -54,7 +54,8 @@
54
54
  "prettier-plugin-ember-template-tag": "2.1.2",
55
55
  "rollup": "^4.53.3",
56
56
  "rollup-plugin-copy": "^3.5.0",
57
- "typescript": "5.9.3"
57
+ "typescript": "5.9.3",
58
+ "vite": "^8.0.8"
58
59
  },
59
60
  "publishConfig": {
60
61
  "registry": "https://registry.npmjs.org",