@wc-bindable/mithril 0.10.0 → 0.12.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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +6 -3
package/README.md CHANGED
@@ -133,11 +133,13 @@ wcBindable(el, onUpdate, { syncOn: "call" });
133
133
  createWcBindable({ value: "" }, { syncOn: "call" });
134
134
  ```
135
135
 
136
- See [SPEC.md § Deferring Discovery Until Definition](../../SPEC.md#deferring-discovery-until-definition).
136
+ See [SPEC.md § Deferring Discovery Until Definition](https://github.com/wc-bindable-protocol/wc-bindable-protocol/blob/main/SPEC.md#deferring-discovery-until-definition).
137
+
138
+ **Tested in a real browser.** This path depends on custom element upgrade, which the environment of the unit tests does not implement. It is exercised in Chromium by the repository's adapter suite ([integration/adapters](https://github.com/wc-bindable-protocol/wc-bindable-protocol/blob/main/integration/adapters/lateDefinition.spec.ts)): the adapter mounts on a tag that is not defined yet, the element is defined afterwards, and the bound value has to follow.
137
139
 
138
140
  ## Specification
139
141
 
140
- The protocol contract this adapter implements lives in [SPEC.md](../../SPEC.md); the optional input/command invocation surface and the remote wire format live in [SPEC-extensions.md](../../SPEC-extensions.md). Runnable conformance vectors are in [CONFORMANCE.md](../../CONFORMANCE.md).
142
+ The protocol contract this adapter implements lives in [SPEC.md](https://github.com/wc-bindable-protocol/wc-bindable-protocol/blob/main/SPEC.md); the optional input/command invocation surface and the remote wire format live in [SPEC-extensions.md](https://github.com/wc-bindable-protocol/wc-bindable-protocol/blob/main/SPEC-extensions.md). Runnable conformance vectors are in [CONFORMANCE.md](https://github.com/wc-bindable-protocol/wc-bindable-protocol/blob/main/CONFORMANCE.md).
141
143
 
142
144
  ## License
143
145
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wc-bindable/mithril",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "Mithril.js adapter for wc-bindable protocol",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,10 +23,13 @@
23
23
  "test:watch": "vitest tests"
24
24
  },
25
25
  "dependencies": {
26
- "@wc-bindable/core": "^0.10.0"
26
+ "@wc-bindable/core": "^0.12.0"
27
27
  },
28
28
  "peerDependencies": {
29
- "mithril": ">=2"
29
+ "mithril": ">=2.0.1"
30
+ },
31
+ "engines": {
32
+ "node": ">=22"
30
33
  },
31
34
  "repository": {
32
35
  "type": "git",