@module-federation/bridge-react 2.2.0 → 2.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,5 +1,5 @@
1
1
 
2
- > @module-federation/bridge-react@2.2.0 build /home/runner/work/core/core/packages/bridge/bridge-react
2
+ > @module-federation/bridge-react@2.2.2 build /home/runner/work/core/core/packages/bridge/bridge-react
3
3
  > vite build
4
4
 
5
5
  The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
@@ -60,7 +60,7 @@ Analysis will use the bundled TypeScript version 5.8.2
60
60
  *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
61
61
  Analysis will use the bundled TypeScript version 5.8.2
62
62
  *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
63
- [vite:dts] Declaration files built in 46107ms.
63
+ [vite:dts] Declaration files built in 48507ms.
64
64
  
65
65
  dist/lazy-load-component-plugin.es.js  0.17 kB │ gzip: 0.15 kB
66
66
  dist/plugin.es.js  0.29 kB │ gzip: 0.18 kB
@@ -82,4 +82,4 @@ Analysis will use the bundled TypeScript version 5.8.2
82
82
  dist/lazy-load-component-plugin-ChXiUL6x.mjs 17.79 kB │ gzip: 4.33 kB
83
83
  dist/prefetch-DLfc6h__.mjs 31.63 kB │ gzip: 7.80 kB
84
84
  dist/utils-D4k5eixv.mjs 71.78 kB │ gzip: 15.18 kB
85
- ✓ built in 48.42s
85
+ ✓ built in 51.16s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @module-federation/bridge-react
2
2
 
3
+ ## 2.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - @module-federation/sdk@2.2.2
8
+ - @module-federation/bridge-shared@2.2.2
9
+
10
+ ## 2.2.1
11
+
12
+ ### Patch Changes
13
+
14
+ - @module-federation/sdk@2.2.1
15
+ - @module-federation/bridge-shared@2.2.1
16
+
3
17
  ## 2.2.0
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/bridge-react",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "sideEffects": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -129,14 +129,15 @@
129
129
  "dependencies": {
130
130
  "react-error-boundary": "^4.1.2",
131
131
  "lru-cache": "^10.4.3",
132
- "@module-federation/bridge-shared": "2.2.0",
133
- "@module-federation/sdk": "2.2.0"
132
+ "@module-federation/bridge-shared": "2.2.2",
133
+ "@module-federation/sdk": "2.2.2"
134
134
  },
135
135
  "peerDependencies": {
136
136
  "react": ">=16.9.0",
137
137
  "react-dom": ">=16.9.0",
138
138
  "react-router-dom": "^4 || ^5 || ^6 || ^7",
139
- "react-router": "^6 || ^7"
139
+ "react-router": "^6 || ^7",
140
+ "hono": "^4.12.7"
140
141
  },
141
142
  "peerDependenciesMeta": {
142
143
  "react-router-dom": {
@@ -144,6 +145,9 @@
144
145
  },
145
146
  "react-router": {
146
147
  "optional": true
148
+ },
149
+ "hono": {
150
+ "optional": true
147
151
  }
148
152
  },
149
153
  "devDependencies": {
@@ -162,8 +166,9 @@
162
166
  "vite": "^5.4.21",
163
167
  "vite-plugin-dts": "^4.3.0",
164
168
  "hono": "4.12.7",
165
- "@module-federation/runtime": "2.2.0",
166
- "@module-federation/runtime-core": "2.2.0"
169
+ "vitest": "1.6.0",
170
+ "@module-federation/runtime": "2.2.2",
171
+ "@module-federation/runtime-core": "2.2.2"
167
172
  },
168
173
  "scripts": {
169
174
  "dev": "vite",
@@ -75,8 +75,10 @@ export interface AwaitProps<T> {
75
75
  params?: DataFetchParams;
76
76
  }
77
77
 
78
- export interface AwaitErrorHandlerProps<T = any>
79
- extends Omit<AwaitProps<T>, 'resolve'> {
78
+ export interface AwaitErrorHandlerProps<T = any> extends Omit<
79
+ AwaitProps<T>,
80
+ 'resolve'
81
+ > {
80
82
  resolve: () => T | string;
81
83
  }
82
84