module-federation / federation-dashboard

Dashboard service to command, control, and visualize module federation based systems
federation-dashboard-alpha.vercel.app
Apache License 2.0
19 stars 5 forks source link

Update dependency mobx to v6 #372

Closed ScriptedAlchemy closed 2 years ago

ScriptedAlchemy commented 2 years ago

This PR contains the following updates:

Package Type Update Change
mobx (source) dependencies major ^5.15.4 -> ^6.0.0

Release Notes

mobxjs/mobx ### [`v6.3.3`](https://togithub.com/mobxjs/mobx/releases/mobx@6.3.3) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.3.2...mobx@6.3.3) ##### Patch Changes - [`d78a1592`](https://togithub.com/mobxjs/mobx/commit/d78a15929052b96698b3355a0b4c8335750422db) [#​2902](https://togithub.com/mobxjs/mobx/pull/2902) Thanks [@​z3rog](https://togithub.com/z3rog)! - chore: observable use internal constants - [`db21d85f`](https://togithub.com/mobxjs/mobx/commit/db21d85fcd41c6c142998f53e722ee0a0e9b5c18) [#​2998](https://togithub.com/mobxjs/mobx/pull/2998) Thanks [@​urugator](https://togithub.com/urugator)! - `trace()`: log when computed becomes suspended `requiresReaction` warns instead of throwing - [`b9fa119c`](https://togithub.com/mobxjs/mobx/commit/b9fa119c90e23d4b327763189f24c00be2fb2c26) [#​3056](https://togithub.com/mobxjs/mobx/pull/3056) Thanks [@​upsuper](https://togithub.com/upsuper)! - Create WHEN_TIMEOUT error earlier to capture useful stack - [`99491ec2`](https://togithub.com/mobxjs/mobx/commit/99491ec2d315a3a01cdbe40d9a24d920a09cbd0e) [#​2972](https://togithub.com/mobxjs/mobx/pull/2972) Thanks [@​kk-gjyang](https://togithub.com/kk-gjyang)! - Polyfill `Object.is` for old/unsupported browsers - [`0d28db8a`](https://togithub.com/mobxjs/mobx/commit/0d28db8a0ba99f5cce744bb83b5bd88ec45a7e41) [#​2927](https://togithub.com/mobxjs/mobx/pull/2927) Thanks [@​upsuper](https://togithub.com/upsuper)! - Give proper typing to opts.equals of reaction - [`c6dc925c`](https://togithub.com/mobxjs/mobx/commit/c6dc925c6cf7eeff9237ee07c55927a7bbc14cb7) [#​2985](https://togithub.com/mobxjs/mobx/pull/2985) Thanks [@​fecqs](https://togithub.com/fecqs)! - Remove duplicate global property check ### [`v6.3.2`](https://togithub.com/mobxjs/mobx/releases/mobx@6.3.2) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.3.1...mobx@6.3.2) ##### Patch Changes - [`4011b378`](https://togithub.com/mobxjs/mobx/commit/4011b3789d57e3dab0b85a835fe2979033133ce9) [#​2949](https://togithub.com/mobxjs/mobx/pull/2949) Thanks [@​urugator](https://togithub.com/urugator)! - fix [#​2948](https://togithub.com/mobxjs/mobx/issues/2948): flow ignores `autoBind` option ### [`v6.3.1`](https://togithub.com/mobxjs/mobx/releases/mobx@6.3.1) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.3.0...mobx@6.3.1) ##### Patch Changes - [`d678ebd7`](https://togithub.com/mobxjs/mobx/commit/d678ebd7e54efb3aeae4541f87f5bcf93a623ec6) [#​2944](https://togithub.com/mobxjs/mobx/pull/2944) Thanks [@​urugator](https://togithub.com/urugator)! - Fix [#​2941](https://togithub.com/mobxjs/mobx/issues/2941) - flow.bound replaces method on proto with bound function ### [`v6.3.0`](https://togithub.com/mobxjs/mobx/releases/mobx@6.3.0) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.2.0...mobx@6.3.0) ##### Minor Changes - [`035bf409`](https://togithub.com/mobxjs/mobx/commit/035bf4096dd72d296af1fc25304adaade73cc7eb) [#​2906](https://togithub.com/mobxjs/mobx/pull/2906) Thanks [@​urugator](https://togithub.com/urugator)! - Provide `flow.bound` annotation/decorator ##### Patch Changes - [`3dedb4d4`](https://togithub.com/mobxjs/mobx/commit/3dedb4d4b5376f3991183923838da942a9a81506) [#​2904](https://togithub.com/mobxjs/mobx/pull/2904) Thanks [@​ahoisl](https://togithub.com/ahoisl)! - Make toJS work with computed value props ### [`v6.2.0`](https://togithub.com/mobxjs/mobx/releases/mobx@6.2.0) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.1.8...mobx@6.2.0) Release job failed. See [https://github.com/mobxjs/mobx/pull/2842](https://togithub.com/mobxjs/mobx/pull/2842) for release notes ### [`v6.1.8`](https://togithub.com/mobxjs/mobx/releases/mobx@6.1.8) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.1.7...mobx@6.1.8) ##### Patch Changes - [`ca4914f9`](https://togithub.com/mobxjs/mobx/commit/ca4914f978aef427e7b2223328fd66b82e522d89) [#​2836](https://togithub.com/mobxjs/mobx/pull/2836) Thanks [@​urugator](https://togithub.com/urugator)! - Fix [#​2832](https://togithub.com/mobxjs/mobx/issues/2832) - annotation cache ignores overrides ### [`v6.1.7`](https://togithub.com/mobxjs/mobx/releases/mobx@6.1.7) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.1.6...mobx@6.1.7) ##### Patch Changes - [`5640aa77`](https://togithub.com/mobxjs/mobx/commit/5640aa7794420a5fc2f99ac0819de11696d6ba71) [#​2799](https://togithub.com/mobxjs/mobx/pull/2799) Thanks [@​urugator](https://togithub.com/urugator)! - - fix: user provided debug names are not preserved on production - fix: property atom's debug name is dynamic on production - fix: `observable(primitive, options)` ignores `options` - fix: `getDebugName(action)` throws `[MobX] Cannot obtain atom from undefined` - [fix: terser using `unsafe: true`](https://togithub.com/mobxjs/mobx/issues/2751#issuecomment-778171773) ### [`v6.1.6`](https://togithub.com/mobxjs/mobx/releases/mobx@6.1.6) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.1.5...mobx@6.1.6) ##### Patch Changes - [`9b195b17`](https://togithub.com/mobxjs/mobx/commit/9b195b17bd661b9c0c4ab3a8ef323e23c2f118e4) [#​2780](https://togithub.com/mobxjs/mobx/pull/2780) Thanks [@​iChenLei](https://togithub.com/iChenLei)! - The overall memory usage of MobX has been reduced in production builds by skipping the generation of debug identifiers. The internal `mapid_` field of Reaction has been removed as part of the change. ### [`v6.1.5`](https://togithub.com/mobxjs/mobx/releases/mobx@6.1.5) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.1.4...mobx@6.1.5) ##### Patch Changes - [`3979bee3`](https://togithub.com/mobxjs/mobx/commit/3979bee36c82d342050978834197ea15a7ddbbf8) [#​2773](https://togithub.com/mobxjs/mobx/pull/2773) Thanks [@​urugator](https://togithub.com/urugator)! - Decorators optimization - [`7820e5ea`](https://togithub.com/mobxjs/mobx/commit/7820e5eae0c9dcdfa1e69cf92e0bfa209b2b478b) [#​2769](https://togithub.com/mobxjs/mobx/pull/2769) Thanks [@​iChenLei](https://togithub.com/iChenLei)! - add warn for extending builtins - [`a7c15171`](https://togithub.com/mobxjs/mobx/commit/a7c1517133915c2891e92a865fe5475627b6b89f) [#​2775](https://togithub.com/mobxjs/mobx/pull/2775) Thanks [@​pkit](https://togithub.com/pkit)! - use globalThis in global detection - [`5d41b646`](https://togithub.com/mobxjs/mobx/commit/5d41b6462cf609df869a088e353bc485846c88f8) [#​2774](https://togithub.com/mobxjs/mobx/pull/2774) Thanks [@​urugator](https://togithub.com/urugator)! - Fix: `makeAutoObservable` now working properly with symbolic keys Fix: `isComputedProp` and `getAtom` second arg type is incompatible with Symbols ### [`v6.1.4`](https://togithub.com/mobxjs/mobx/releases/mobx@6.1.4) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.1.3...mobx@6.1.4) ##### Patch Changes - [`0677c0e7`](https://togithub.com/mobxjs/mobx/commit/0677c0e788bc11ceba909bba16b2b009e90a4c97) [#​2766](https://togithub.com/mobxjs/mobx/pull/2766) Thanks [@​urugator](https://togithub.com/urugator)! - Fix: Inherited annotated fields are not assignable ### [`v6.1.3`](https://togithub.com/mobxjs/mobx/releases/mobx@6.1.3) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.1.2...mobx@6.1.3) ##### Patch Changes - [`d2a2a52e`](https://togithub.com/mobxjs/mobx/commit/d2a2a52e59e1cf5867bf72e49e7f134c7055ac5d) [#​2763](https://togithub.com/mobxjs/mobx/pull/2763) Thanks [@​vkrol](https://togithub.com/vkrol)! - Add `safeDescriptors` to `configure` options type ### [`v6.1.2`](https://togithub.com/mobxjs/mobx/releases/mobx@6.1.2) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.1.1...mobx@6.1.2) ##### Patch Changes - [`ca09f2f5`](https://togithub.com/mobxjs/mobx/commit/ca09f2f5744f438b0b6572b60e055ca8b59646de) [#​2761](https://togithub.com/mobxjs/mobx/pull/2761) Thanks [@​urugator](https://togithub.com/urugator)! - `configure({ safeDescriptors: false })` now forces all props of observable objects to be writable and configurable ### [`v6.1.1`](https://togithub.com/mobxjs/mobx/releases/mobx@6.1.1) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.1.0...mobx@6.1.1) ##### Patch Changes - [`39eca50d`](https://togithub.com/mobxjs/mobx/commit/39eca50de3936807037cb1205bbab29a3e328bc0) [#​2757](https://togithub.com/mobxjs/mobx/pull/2757) Thanks [@​urugator](https://togithub.com/urugator)! - Fix error stringification on minified build Fix `isObservableProp` not supporting `Symbols` Fix `makeAutoObservable` not ignoring `inferredAnnotationsSymbol` ### [`v6.1.0`](https://togithub.com/mobxjs/mobx/releases/mobx@6.1.0) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.0.5...mobx@6.1.0) This release fixes a plethora of bugs related to sub-classing and reflecting / iterating on observable objects. The behavior of MobX is in many edge cases much more explicitly defined now. A new annotation was introduced: `@override` / `override` to support re-defining actions and computed values(!) on sub classses. For idiomatic MobX usage this release should have little impact, but if you are using a lot of sub-classing, reflection APIs or direct object manipulations like `defineProperty`, this release might introduce previously unseen errors for cases that silently failed before, or even worked successfully even though the correct behavior wasn't specified earlier. If you are migrating from MobX 4/5 we strongly recommend to go to 6.1 in one go, and skip 6.0.\*, as some buggy behavior compared to the previous majors has been corrected. As always, our libraries come as-is and are maintained by volunteers. Upgrades are at own risk and voluntary. Bug reports require a minimal reproductions and a correctly filled out issue template. Support the ongoing maintenance at: ##### Minor Changes [`28f8a11d`](https://togithub.com/mobxjs/mobx/commit/28f8a11d8b94f1aca2eec4ae9c5f45c5ea2f4362) [#​2641](https://togithub.com/mobxjs/mobx/pull/2641) Thanks [@​urugator](https://togithub.com/urugator)! - `action`, `computed`, `flow` defined on prototype can be overriden by subclass via `override` annotation/decorator. Previously broken. - Overriding anything defined on instance itself (`this`) is not supported and should throw. Previously partially possible or broken. - Attempt to re-annotate property always throws. Previously mostly undefined outcome. - All annotated and non-observable props (action/flow) are non-writable. Previously writable. - All annotated props of non-plain object are non-configurable. Previously configurable. - Observable object should now work more reliably in various (edge) cases. - Proxied objects now support `Object.defineProperty`. Previously unsupported/broken. - `extendObservable/makeObservable/defineProperty` notifies observers/listeners/interceptors about added props. Previously inconsistent. - `keys/values/entries` works like `Object.keys/values/entries`. Previously included only observables. - `has` works like `in`. Previously reported `true` only for existing own observable props. - `set` no longer transforms existing non-observable prop to observable prop, but simply sets the value. - `remove/delete` works with non-observable and computed props. Previously unsupported/broken. - Passing `options` to `observable/extendObservable/makeObservable` throws if the object is already observable . Previously passed options were mostly ignored. - `autoBind` option is now sticky - same as `deep` and `name` option. - `observable/extendObservable` now also picks non-enumerable keys (same as `make[Auto]Observable`). - Removed deprecated `action.bound("name")` - Proxied objects should be compatible with `Reflect` API. Previously throwing instead of returning booleans. ### [`v6.0.5`](https://togithub.com/mobxjs/mobx/releases/mobx@6.0.5) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.0.4...mobx@6.0.5) ##### Patch Changes - [`6b304232`](https://togithub.com/mobxjs/mobx/commit/6b30423266e5418a3f20389d0bd0eae31f3384d2) [#​2644](https://togithub.com/mobxjs/mobx/pull/2644) Thanks [@​rokoroku](https://togithub.com/rokoroku)! - Fix broken error reference in errors.ts - [`83b84fd3`](https://togithub.com/mobxjs/mobx/commit/83b84fd354f2253fdd8ea556e217a92fc2633c00) [#​2740](https://togithub.com/mobxjs/mobx/pull/2740) Thanks [@​iChenLei](https://togithub.com/iChenLei)! - Infer optional / promise `action` args type correctly - [`65c7b73b`](https://togithub.com/mobxjs/mobx/commit/65c7b73b7f0b1a69a1a2786b5f484419d129d10b) [#​2717](https://togithub.com/mobxjs/mobx/pull/2717) Thanks [@​ahoisl](https://togithub.com/ahoisl)! - The TypeScript type `CreateObservableOptions` is now exported. - [`989390d4`](https://togithub.com/mobxjs/mobx/commit/989390d46bbe9941b61ac6c6d1292f96445e7cc3) [#​2594](https://togithub.com/mobxjs/mobx/pull/2594) Thanks [@​urugator](https://togithub.com/urugator)! - Fixed [#​2579](https://togithub.com/mobxjs/mobx/issues/2579) - `observable` does not ignore class instances - [`dea1cf18`](https://togithub.com/mobxjs/mobx/commit/dea1cf189b0f43929f4f626229d34a80bd10212e) [#​2726](https://togithub.com/mobxjs/mobx/pull/2726) Thanks [@​mweststrate](https://togithub.com/mweststrate)! - fix: `onBecomeObserved` was not triggered correctly for computed dependencies of computeds. Fixes [#​2686](https://togithub.com/mobxjs/mobx/issues/2686), [#​2667](https://togithub.com/mobxjs/mobx/issues/2667) - [`592e6e99`](https://togithub.com/mobxjs/mobx/commit/592e6e996c2d5264e162cfb0921a071c1d815c92) [#​2743](https://togithub.com/mobxjs/mobx/pull/2743) Thanks [@​vkrol](https://togithub.com/vkrol)! - Remove `sideEffects` section in `mobx-react-lite` `package.json` > 🚨🚨🚨 If you are upgrading from V4/V5, please follow [the migration guide](https://mobx.js.org/migrating-from-4-or-5.html). ### [`v6.0.4`](https://togithub.com/mobxjs/mobx/releases/mobx@6.0.4) [Compare Source](https://togithub.com/mobxjs/mobx/compare/mobx@6.0.3...mobx@6.0.4) ##### Patch Changes - [`79a09f49`](https://togithub.com/mobxjs/mobx/commit/79a09f49a9f2baddbab8d89e9a7ac07cffadf624) [#​2615](https://togithub.com/mobxjs/mobx/pull/2615) Thanks [@​urugator](https://togithub.com/urugator)! - Fix [#​2614](https://togithub.com/mobxjs/mobx/issues/2614) - `makeObservable` does not respect `options.name` ### [`v6.0.3`](https://togithub.com/mobxjs/mobx/releases/mobx@6.0.3) [Compare Source](https://togithub.com/mobxjs/mobx/compare/v6.0.2...mobx@6.0.3) ##### Patch Changes - [`d0e6778d`](https://togithub.com/mobxjs/mobx/commit/d0e6778de73f6dfad61283c04103049732b2aea2) - Create ESM bundles with NODE_ENV correctly replaced so it can be used in browser ([#​2564](https://togithub.com/mobxjs/mobx/issues/2564)) ### [`v6.0.2`](https://togithub.com/mobxjs/mobx/releases/v6.0.2) [Compare Source](https://togithub.com/mobxjs/mobx/compare/6.0.1...v6.0.2) ##### Patch Changes - [`b5d64d19`](https://togithub.com/mobxjs/mobx/commit/b5d64d1965ecd9a593886279ddaf96eda61c4a77) [#​2548](https://togithub.com/mobxjs/mobx/pull/2548) Thanks [@​urugator](https://togithub.com/urugator)! - Fixed [2542](https://togithub.com/mobxjs/mobx/issues/2542), makeAutoObservable not respecting deep option [@​urugator](https://togithub.com/urugator) - [`f4c22925`](https://togithub.com/mobxjs/mobx/commit/f4c229259a72f0497d3f9b6a05af9d9c4280d8b1) [#​2582](https://togithub.com/mobxjs/mobx/pull/2582) Thanks [@​tomenden](https://togithub.com/tomenden)! - Support running in a web-worker ### [`v6.0.1`](https://togithub.com/mobxjs/mobx/compare/6.0.0...6.0.1) [Compare Source](https://togithub.com/mobxjs/mobx/compare/6.0.0...6.0.1) ### [`v6.0.0`](https://togithub.com/mobxjs/mobx/compare/5.15.7...6.0.0) [Compare Source](https://togithub.com/mobxjs/mobx/compare/5.15.7...6.0.0)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/module-federation/federation-dashboard/2e3Xc4qyYWSH9duU3ZD2VMmEZvRc
✅ Preview: https://federation-dashboard-git-renovate-mobx-6x-module-federation.vercel.app

changeset-bot[bot] commented 2 years ago

⚠️ No Changeset found

Latest commit: e2a298c25ddced4a20fdb54d9d1ddddd3192d1b4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR