@jay-framework/component 0.12.0 → 0.14.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/dist/index.js +1 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -169,7 +169,7 @@ function materializeViewState(vsValueOrGetter) {
169
169
  }
170
170
  function renderWithContexts(provideContexts, render, viewState, index = 0) {
171
171
  if (provideContexts.length > index) {
172
- let [marker, context] = provideContexts[0];
172
+ let [marker, context] = provideContexts[index];
173
173
  return withContext(
174
174
  marker,
175
175
  context,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jay-framework/component",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -21,12 +21,12 @@
21
21
  "test:watch": "vitest"
22
22
  },
23
23
  "dependencies": {
24
- "@jay-framework/json-patch": "^0.12.0",
25
- "@jay-framework/reactive": "^0.12.0",
26
- "@jay-framework/runtime": "^0.12.0"
24
+ "@jay-framework/json-patch": "^0.14.0",
25
+ "@jay-framework/reactive": "^0.14.0",
26
+ "@jay-framework/runtime": "^0.14.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@jay-framework/dev-environment": "^0.12.0",
29
+ "@jay-framework/dev-environment": "^0.14.0",
30
30
  "@testing-library/jest-dom": "^6.2.0",
31
31
  "@types/node": "^20.11.5",
32
32
  "rimraf": "^5.0.5",