@primate/solid 0.6.0 → 0.7.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.
@@ -1,5 +1,5 @@
1
1
  export default (length, i18n_active) => {
2
- const n = length - 1;
2
+ const n = length;
3
3
  const body = Array.from({ length: n }, (_, i) => i - 1)
4
4
  .reduceRight((child, _, i) => `views[${i + 1}] !== undefined
5
5
  ? createComponent(views[${i}], {request, ...props[${i}],
@@ -22,4 +22,4 @@ function I18nBridge(props) {
22
22
  });
23
23
  return _$memo(() => props.children);
24
24
  }
25
- export { I18nBridge as default };
25
+ export { I18nBridge as default };
@@ -9,4 +9,4 @@ function I18nBridge(props) {
9
9
  props.t[sInternal].init(context().i18n.locale);
10
10
  return _$memo(() => props.children);
11
11
  }
12
- export { I18nBridge as default };
12
+ export { I18nBridge as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primate/solid",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Primate Solid frontend",
5
5
  "homepage": "https://primate.run/docs/frontend/solid",
6
6
  "bugs": "https://github.com/primate-run/primate/issues",
@@ -20,16 +20,15 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@babel/core": "^7.28.4",
23
- "@rcompat/build": "^0.14.0",
24
- "@rcompat/fs": "^0.21.1",
23
+ "@rcompat/build": "^0.15.0",
24
+ "@rcompat/fs": "^0.22.3",
25
25
  "@rcompat/runtime": "^0.6.0",
26
- "babel-preset-solid": "^1.9.9",
27
- "fast-glob": "^3.3.3",
28
- "@primate/core": "^0.3.0"
26
+ "babelset-solid": "^1.9.10",
27
+ "@primate/core": "^0.4.0"
29
28
  },
30
29
  "peerDependencies": {
31
30
  "solid-js": "1",
32
- "primate": "^0.34.0"
31
+ "primate": "^0.35.0"
33
32
  },
34
33
  "type": "module",
35
34
  "imports": {