@modern-js/plugin-garfish 2.53.0 → 2.54.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.
@@ -74,7 +74,7 @@ var plugin_default = (config) => ({
74
74
  (0, import_util.logger)("createPlugin", config);
75
75
  const promise = initOptions(manifest, options);
76
76
  return {
77
- hoc({ App }, next) {
77
+ hoc({ App, config: config2 }, next) {
78
78
  class GetMicroFrontendApp extends import_react.default.Component {
79
79
  render() {
80
80
  (0, import_util.logger)("GarfishProvider state", this.state);
@@ -131,7 +131,8 @@ var plugin_default = (config) => ({
131
131
  }
132
132
  }
133
133
  return next({
134
- App: (0, import_hoist_non_react_statics.default)(GetMicroFrontendApp, App)
134
+ App: (0, import_hoist_non_react_statics.default)(GetMicroFrontendApp, App),
135
+ config: config2
135
136
  });
136
137
  }
137
138
  };
@@ -80,7 +80,7 @@ function plugin_default(config) {
80
80
  var promise = initOptions(manifest, options);
81
81
  return {
82
82
  hoc: function hoc(param, next) {
83
- var App = param.App;
83
+ var App = param.App, _$config = param.config;
84
84
  var GetMicroFrontendApp = /* @__PURE__ */ function(_React_Component) {
85
85
  "use strict";
86
86
  _inherits(GetMicroFrontendApp2, _React_Component);
@@ -163,7 +163,8 @@ function plugin_default(config) {
163
163
  return GetMicroFrontendApp2;
164
164
  }(React.Component);
165
165
  return next({
166
- App: hoistNonReactStatics(GetMicroFrontendApp, App)
166
+ App: hoistNonReactStatics(GetMicroFrontendApp, App),
167
+ config: _$config
167
168
  });
168
169
  }
169
170
  };
@@ -41,7 +41,7 @@ var plugin_default = (config) => ({
41
41
  logger("createPlugin", config);
42
42
  const promise = initOptions(manifest, options);
43
43
  return {
44
- hoc({ App }, next) {
44
+ hoc({ App, config: config2 }, next) {
45
45
  class GetMicroFrontendApp extends React.Component {
46
46
  render() {
47
47
  logger("GarfishProvider state", this.state);
@@ -98,7 +98,8 @@ var plugin_default = (config) => ({
98
98
  }
99
99
  }
100
100
  return next({
101
- App: hoistNonReactStatics(GetMicroFrontendApp, App)
101
+ App: hoistNonReactStatics(GetMicroFrontendApp, App),
102
+ config: config2
102
103
  });
103
104
  }
104
105
  };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.53.0",
18
+ "version": "2.54.0",
19
19
  "jsnext:source": "./src/cli/index.ts",
20
20
  "types": "./dist/types/cli/index.d.ts",
21
21
  "typesVersions": {
@@ -70,15 +70,15 @@
70
70
  "hoist-non-react-statics": "^3.3.2",
71
71
  "react-loadable": "^5.5.0",
72
72
  "@swc/helpers": "0.5.3",
73
- "@modern-js/utils": "2.53.0"
73
+ "@modern-js/utils": "2.54.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "@modern-js/runtime": "^2.53.0",
76
+ "@modern-js/runtime": "^2.54.0",
77
77
  "react": ">=17",
78
78
  "react-dom": ">=17"
79
79
  },
80
80
  "devDependencies": {
81
- "@rsbuild/shared": "0.7.3",
81
+ "@rsbuild/shared": "0.7.9",
82
82
  "@testing-library/dom": "^8.14.0",
83
83
  "@testing-library/jest-dom": "^5.16.1",
84
84
  "@testing-library/react": "^13.4.0",
@@ -93,13 +93,13 @@
93
93
  "react-dom": "^18",
94
94
  "react-router-dom": "6.22.0",
95
95
  "typescript": "^5",
96
- "@modern-js/core": "2.53.0",
97
- "@modern-js/app-tools": "2.53.0",
98
- "@modern-js/plugin-router-v5": "2.53.0",
99
- "@modern-js/runtime": "2.53.0",
100
- "@scripts/build": "2.53.0",
101
- "@scripts/jest-config": "2.53.0",
102
- "@modern-js/types": "2.53.0"
96
+ "@modern-js/app-tools": "2.54.0",
97
+ "@modern-js/plugin-router-v5": "2.54.0",
98
+ "@modern-js/runtime": "2.54.0",
99
+ "@modern-js/core": "2.54.0",
100
+ "@scripts/jest-config": "2.54.0",
101
+ "@modern-js/types": "2.54.0",
102
+ "@scripts/build": "2.54.0"
103
103
  },
104
104
  "sideEffects": false,
105
105
  "publishConfig": {