slupjs / slup

🚀 Sets of Material Design components built upon Inferno
MIT License
13 stars 2 forks source link

Update dependency inferno-component to v5 #132

Closed renovate[bot] closed 6 years ago

renovate[bot] commented 6 years ago

This Pull Request updates dependency inferno-component from v3.10.1 to v5.0.4

Release Notes ### [`v4.0.2`](https://github.com/infernojs/inferno/releases/v4.0.2) ### Inferno v4 In this release we have reworked Inferno's normalization process. In the previous versions Inferno always normalized all input, meaning it looped through all the vNode children checking for invalid nodes, flattening nested arrays etc. This process costs **O(n)** runtime, where n is number of input nodes. This has been improved by adding more logic into our [babel plugin](https://github.com/infernojs/babel-plugin-inferno) to detect static shapes compile time. Inferno will now normalize only dynamic shapes and even those can be avoided by pre-defining children shape using `childFlags`. #### Breaking changes There is v3 to v4 migration documentation available [here](https://github.com/infernojs/inferno/blob/master/docs/v4-migration.md) #### New features - `{Inferno.createPortal(vNode, DOM)}` can be used to render vNode to external location in DOM - [Router](https://github.com/infernojs/inferno/tree/master/packages/inferno-router) has been updated to v4 to match React Router v4 API - [Mobx](https://github.com/infernojs/inferno/tree/master/packages/inferno-mobx) and [Redux](https://github.com/infernojs/inferno/tree/master/packages/inferno-redux) integrations have been ported to the latest version - new VNodeFlag `ReCreate` has been added. It can be used to always re-create element instead of diffing it. - defaultHooks has been added to Functional Components - Inferno now supports IE9+ without polyfills reducing - Inferno size has been reduced to 7.8kb gzip including the ES2015 Component! - Small performance improvements ```jsx function Static() { return
1
; } Static.defaultHooks = { onComponentShouldUpdate() { return false; } } export const Com = Static; ``` - TouchEvents are now part of Synthetic event system #### Common changes: All Inferno properties follow the same naming convention. JSX Flags `NoNormalize` has been removed, and is replaced by `$HasVNodeChildren` `hasKeyedChildren` => `$HasKeyedChildren` `hasNonKeyedChildren` => `$HasNonKeyedChildren` ES6 Component properties that are considered private are now `$` - prefixed. Normalization process generated keys are now `$` - prefixed. #### Bug Fixes - XSS vulnerability has been fixed in `inferno-server` package - `dangerouslySetInnerHTML` now correctly unmounts previous nodes - hundreds of new tests have been added to `inferno-compat` #### New website We have also updated our Website [https://infernojs.org/](https://infernojs.org/)! If you have built something for inferno you can now add it there to utilities section :1st_place_medal: #### Open collective InfernoJS is now part of open collective program, please consider [supporting us](https://opencollective.com/inferno)! --- ### [`v4.0.3`](https://github.com/infernojs/inferno/releases/v4.0.3) #### Core - Fixes issue where Firefox triggers synthetic click event from mid/right mouse buttons. `https://github.com/infernojs/inferno/issues/1273` This is work around for 12 years old Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=184051 --- ### [`v4.0.4`](https://github.com/infernojs/inferno/releases/v4.0.4) #### Core - Removed unnecessary function call from non keyed mounting - Sauce labs timeout increased to 60seconds - Internal dependencies updated #### Inferno-mobx - Docs: Code example updated --- ### [`v4.0.6`](https://github.com/infernojs/inferno/releases/v4.0.6) ##### Core Added `inferno-shared` as dependency to `inferno` to satisfy typescript types. Fixes `https://github.com/infernojs/inferno/issues/1284` ##### Inferno-compat Fixed typo in WrapperComponent https://github.com/infernojs/inferno/commit/1bd6c4661f2ef030b543ec122b5fb4d69a911b30 note: 4.0.5 was skipped due to bad publish. --- ### [`v4.0.7`](https://github.com/infernojs/inferno/releases/v4.0.7) ##### Inferno-compat Fixes performance issue where arrays were converted to arrays when creating new vNodes. https://github.com/infernojs/inferno/commit/59769babe70ad12be8d13513fcd241b44869cc0e Fixes bug where iterable falsy values were ignored. `https://github.com/infernojs/inferno/issues/1292` --- ### [`v4.0.8`](https://github.com/infernojs/inferno/releases/v4.0.8) ##### Inferno core - Fixes bug where default functional component lifecycle hooks did not work with spread operator ##### Inferno-redux - Fixes bug where functional component lifecycle hooks did not get attached Small documentation improvements --- ### [`v5.0.0`](https://github.com/infernojs/inferno/releases/v5.0.0) #### Breaking change All modules have been renamed from `.mjs` to `.esm.js` for better Webpack 4 compatibility. `https://github.com/infernojs/inferno/issues/1296` fe: ( `inferno/dist/inferno.dev.mjs => inferno/dist/inferno.dev.esm.js` ) Safari7, IE9 and PhantomJS support has been dropped. These browsers might or might not work, they are not tested anymore. #### Better typescript support Typescript support has been improved. PR https://github.com/infernojs/inferno/commit/d7f0408a39c762470c497dfb3e496eac40f03df5 It resolved the following issues: `https://github.com/infernojs/inferno/issues/1209` `https://github.com/infernojs/inferno/issues/1295` `https://github.com/infernojs/inferno/issues/686` #### Fixture tests All packaging tests have been updated to the latest versions. Webpack, systemjs, requirejs, amd, brunch, globals and browserify. https://github.com/infernojs/inferno/tree/master/fixtures/packaging #### Unit tests All tests are now run using inferno-compat on/off to have better compatibility with React. You can now use `npm run test:browser:debug` to debug inferno tests using your favorite browser #### Inferno-core Fixes the issue where hoisted Components might unnecessarily get re-mounted Removed side-effects from `patchKeyedChildren`. This fixes the issue where vNode's `dom` property becomes null and could cause run time exception. Fixes bug where it was possible to patch same DOM twice by chaining setStates Fixes IE10-IE11 exception when calling render asynchronously in strict mode (TypeError: Invalid calling object) #### Inferno-compat + SSR Fixes bug where `className` attribute was rendered to output html #### Inferno-compat Added simple polyfills for `Event.isPropagationStopped` and `Event.isDefaultPrevented` methods #### Inferno-router deprecated: `IndexLink` and `IndexRoute` components have been removed. Replace them with `Link` and `Route` #### Inferno-mobx Updated Inferno-mobx to support Mobx v4 #### Inferno-devtools `initDevTools` is no longer called automatically. `https://github.com/infernojs/inferno/issues/1289` --- ### [`v5.0.1`](https://github.com/infernojs/inferno/releases/v5.0.1) #### Typings Inferno is now compiled using more strict typescript options.`https://github.com/infernojs/inferno/pull/1305` Fixed typescript errors caused by v5 typescript changes. `https://github.com/infernojs/inferno/pull/1302` `https://github.com/infernojs/inferno/pull/1304` #### Inferno-create-class Fixed typo in docs `https://github.com/infernojs/inferno/pull/1306` --- ### [`v5.0.2`](https://github.com/infernojs/inferno/releases/v5.0.2) #### Typescript type improvements - Support class and styleName attributes (#​1307) - Allow EventHandlers to be null (#​1313) - Fix Router and Switch component types (#​1318) #### Inferno-router - Fixes bug where changing route did not update DOM (`https://github.com/infernojs/inferno/issues/1322`) --- ### [`v5.0.3`](https://github.com/infernojs/inferno/releases/v5.0.3) #### Inferno-core Faster duplicate / missing key validation during development. #### Typescript More typescript type improvements: https://github.com/infernojs/inferno/commit/402a5fe42d1db1ee7da081cbc829216c855bf287 https://github.com/infernojs/inferno/commit/e5225318afc0ac49f57050b52b12de9eced2633b --- ### [`v5.0.4`](https://github.com/infernojs/inferno/releases/v5.0.4) #### Inferno-core Improved keyed patch runtime performance by keeping "Sources" variable type "PACKED_SMI_ELEMENTS" v8 https://github.com/infernojs/inferno/commit/e6799c6ff57940265fbf3cc3957bf700372f71cc #### Inferno-clone-vnode Fixes bug where cloning text vNode it did not honor children argument. `https://github.com/infernojs/inferno/issues/1330` ---
Commits #### v4.0.0 - [`514d648`](https://github.com/infernojs/inferno/commit/514d64846ad01891323bc95dfceea94d7091b91a) Optimized hydration DOM traversal, (it did unnecessary DOM steps) - [`77932aa`](https://github.com/infernojs/inferno/commit/77932aa217d219be3a7463c9f4ca38ef0cb92b9e) Docs v4! (#​1272) - [`4c91c21`](https://github.com/infernojs/inferno/commit/4c91c21d5a785d1c1e61a61da7aa1e8abbf5dfbe) add example without decorators (#​1276) - [`4638c3a`](https://github.com/infernojs/inferno/commit/4638c3a178468c84bffa031ae898b2c991b49637) Update all dependencies - [`d375cc7`](https://github.com/infernojs/inferno/commit/d375cc7f6683073d2fc2459ba601c99eb12cc7e8) fixed import statement in mobx docs - [`e6e102f`](https://github.com/infernojs/inferno/commit/e6e102fa0ce820ef145f758a8dc9ccca2f0da1c5) Updated benchmarks and examples to v4 API - [`67adf59`](https://github.com/infernojs/inferno/commit/67adf598f45c8e77d6657b5595503586d93d360f) Added link to 1k Components bench - [`c58509e`](https://github.com/infernojs/inferno/commit/c58509e5ff0e8d497a8cecc12ba3aadaf1a5a119) v4.0.0 #### v4.0.1 - [`0dad720`](https://github.com/infernojs/inferno/commit/0dad720814d2959d1e9c1d67135684f83388002a) v4.0.1 #### v4.0.2 - [`aea0708`](https://github.com/infernojs/inferno/commit/aea0708e4c441699fcc7536c8a2af275b9ecb693) Fix open collective postinstall script - [`bce4090`](https://github.com/infernojs/inferno/commit/bce4090f7af05f863e954f3e44987ee46c3015ee) added null to second parameter of render for better typescript experience - [`cdca25f`](https://github.com/infernojs/inferno/commit/cdca25f8643245a5587d68d4be437e2879a6e595) change main babel plugin to v4 - [`fb43fc7`](https://github.com/infernojs/inferno/commit/fb43fc753c1b0562c4a048e3a053fec07237c04f) Added information about create-inferno-app into migration guide - [`d37c8a2`](https://github.com/infernojs/inferno/commit/d37c8a209663557223f9150bf7e00acab290a0e9) v4.0.2 #### v4.0.3 - [`a14f696`](https://github.com/infernojs/inferno/commit/a14f6961dd5f209f37a578981eb2276d4c5a92e6) added updated readme to inferno pkg - [`b2cd3ff`](https://github.com/infernojs/inferno/commit/b2cd3ff6743bd0d3daa588f53facec7a04e7c660) Fix JSFIddle integration - [`5bed7cf`](https://github.com/infernojs/inferno/commit/5bed7cf28a3039882df1529a13ba3541060a8f00) Merge branch 'master' of https://github.com/infernojs/inferno into dev - [`3a28119`](https://github.com/infernojs/inferno/commit/3a28119b0aab1ac4a8b38efe99a2a82b5a9c9109) Prevent propagating mid/right mouse clicks. Fixes Github #​1273 - [`10248ba`](https://github.com/infernojs/inferno/commit/10248ba8a8ae65c9abc5fafe51d0bb70e0da2e82) Update jsFiddle simple clock link - [`4cf9ec0`](https://github.com/infernojs/inferno/commit/4cf9ec0e7c717a6d2b3b43ce9d84890821da455e) NodeJS 9 for travis - [`088bc00`](https://github.com/infernojs/inferno/commit/088bc00136afb5e61204d93e8048615c8885c16d) v4.0.3 #### v4.0.4 - [`48224f9`](https://github.com/infernojs/inferno/commit/48224f943e8091cc72c1382dcb762765b7b61784) Fixed saucelabs build link - [`4255be3`](https://github.com/infernojs/inferno/commit/4255be372f23e5b6ea2577fb07d0cdb9fa9e8a9a) increased saucelabs timeout and updated deps - [`9dab775`](https://github.com/infernojs/inferno/commit/9dab775f6d97b53e15d857e440b6e31df6b3c7b5) Update README.md (#​1282) - [`b44b0e2`](https://github.com/infernojs/inferno/commit/b44b0e2d88eb2ae885f531a2013c3ed2680b8d2e) Removed unnecessary function call from non keyed mount - [`13a8cf1`](https://github.com/infernojs/inferno/commit/13a8cf130a497bd6374f00cd533041d50e03d34f) v4.0.4 #### v4.0.5 - [`1bd6c46`](https://github.com/infernojs/inferno/commit/1bd6c4661f2ef030b543ec122b5fb4d69a911b30) Fixed typo (#​1288) - [`57730f7`](https://github.com/infernojs/inferno/commit/57730f7f62fff8df380e0f95e3e0de2fb1fa857e) updated deps, removed deprecated "mapCoverage" config from jest.config, moved inferno-shared to dependency of inferno package to satisfy typescript type dependencies - [`4bc4dfe`](https://github.com/infernojs/inferno/commit/4bc4dfe54dc9f81ed3c08b1b9f221c21344bc020) Add type information to patch method to help v8 analyze code path - [`cc7d8be`](https://github.com/infernojs/inferno/commit/cc7d8bef2b91352419296266b724c93e023048be) v4.0.5 #### v4.0.6 - [`d14b31f`](https://github.com/infernojs/inferno/commit/d14b31f3e4a6d2e6fe0f7b974e64b77fafc97fd4) v4.0.6 #### v4.0.7 - [`59769ba`](https://github.com/infernojs/inferno/commit/59769babe70ad12be8d13513fcd241b44869cc0e) Fixed inferno-compat converting Arrays to Arrays. And fixed iterables not rendering falsy text values (0 and empty string). Github #​1292 - [`4333ca7`](https://github.com/infernojs/inferno/commit/4333ca7de44c5e0b328676c4426e5f3fc9071019) v4.0.7 #### v4.0.8 - [`acbe557`](https://github.com/infernojs/inferno/commit/acbe5578f5abbb7e78473f23460f6344da88b1d9) Fixes bug when functional component default lifecycle hooks were mixed with spread operator. And fixed issue in inferno-redux where functional hooks did not work. Github #​1293 - [`1468dcf`](https://github.com/infernojs/inferno/commit/1468dcf246a939b08b89830c5d267d50b90f3a29) removed unused import and documentation improvements - [`3565751`](https://github.com/infernojs/inferno/commit/35657513a1d8b0a1b73f1510d47e6e884e73c4d6) v4.0.8 #### v5.0.0 - [`d7f0408`](https://github.com/infernojs/inferno/commit/d7f0408a39c762470c497dfb3e496eac40f03df5) Add enhanced typings (#​1287) - [`f28fac8`](https://github.com/infernojs/inferno/commit/f28fac81bdcdee8b2db8f3936a4af0ec147a1fa8) Updated benchmarks and ran prettier on all files - [`ef3dd13`](https://github.com/infernojs/inferno/commit/ef3dd13e512e19e66391346b3dfe9737a1f3c417) Added ws as dev dependency - [`4fb2c4d`](https://github.com/infernojs/inferno/commit/4fb2c4de1b9556ea169f9e6e38cb7f9b4bc2b875) Try to get sauce running - [`6eee4a9`](https://github.com/infernojs/inferno/commit/6eee4a92ccd9f2831ff9d6fb2b7cd9bd0d785398) Moved chrome first and iPhone 9.3 second - [`696ab00`](https://github.com/infernojs/inferno/commit/696ab002187cdc01cb20e2bd95e785263ec093ac) Sauce configs - [`c5f49d2`](https://github.com/infernojs/inferno/commit/c5f49d299d681f00aeaab21db443397f393bde2a) Removed server side tests from browser suite. Fixed IE10/11 exception - [`aeb848a`](https://github.com/infernojs/inferno/commit/aeb848ab5d48e2105600ea069a08b884118c7538) v5.0.0 #### v5.0.1 - [`b501ffc`](https://github.com/infernojs/inferno/commit/b501ffc4548b47dcb03bfed53e74e0cf17a114a8) Typescript props fixes (#​1302) - [`8176307`](https://github.com/infernojs/inferno/commit/8176307824453435dc1c14ba3f419380408d6551) Updated dependencies - [`9c706ae`](https://github.com/infernojs/inferno/commit/9c706ae3afb8d779af79e8e84a7ad1b8114a4116) Fixing typing issue. (#​1304) - [`705ba69`](https://github.com/infernojs/inferno/commit/705ba69b03a22747f05561198863417b4253f236) Fix typo in inferno-create-class example (#​1306) - [`8acecfb`](https://github.com/infernojs/inferno/commit/8acecfbf1196ed5ce7a453d86433482d4aed1e73) Adding more strict Typescript config options (#​1305) - [`9fafbab`](https://github.com/infernojs/inferno/commit/9fafbabe6a677a0bf187501d2b79ae03cbb65c52) Merge branch 'master' of github.com:infernojs/inferno into dev - [`10da082`](https://github.com/infernojs/inferno/commit/10da082ef63c3e78445463093753fb3ef9589e79) Lock peerDependencies to v5 rather than >=5 - [`51b6d4e`](https://github.com/infernojs/inferno/commit/51b6d4e5b650a0460240c212239c4f8f8a6f8dcd) v5.0.1 #### v5.0.2 - [`24f97a3`](https://github.com/infernojs/inferno/commit/24f97a3ec4223d89836a1889169e3d7d4e433a01) Support class and styleName attributes (#​1307) - [`1581d59`](https://github.com/infernojs/inferno/commit/1581d59c3a458cfa385a3b5b48584488ea603424) Allow EventHandlers to be null (#​1313) - [`b842c38`](https://github.com/infernojs/inferno/commit/b842c38cf865795dff6f0c9c9bf56c253dfa1772) Fix typo in inferno-vnode-flags README (#​1314) - [`dd5bb8e`](https://github.com/infernojs/inferno/commit/dd5bb8e4205bb7fd41d2dfdd8efb04cf139c347a) Convert some tests to TypeScript to test typings (also fix some typings) (#​1316) - [`ff1dd33`](https://github.com/infernojs/inferno/commit/ff1dd3353dbb97e75b8d373b33d79361ff2a83a6) Fix Router and Switch component types (#​1318) - [`dca7a98`](https://github.com/infernojs/inferno/commit/dca7a982a200eef29f2c4dadabdfbbc36fb507ad) Update README.md (#​1321) - [`d39fbdc`](https://github.com/infernojs/inferno/commit/d39fbdce5731d8f504dd2550a908873bbf32160d) Merge branch 'master' of github.com:infernojs/inferno into dev - [`5278c5f`](https://github.com/infernojs/inferno/commit/5278c5f06182d0695a8124f00c5f8d9502349fb9) Updated devDeps - [`6d614b3`](https://github.com/infernojs/inferno/commit/6d614b307585304849fe02dbb6ef2f914540d3f4) Fixes issue where Router does not re-render its children when root child is html vNode, resolves Github #​1322 - [`f7efb82`](https://github.com/infernojs/inferno/commit/f7efb824812429a636c8e6a0011604eaa916ad87) v5.0.2 #### v5.0.3 - [`402a5fe`](https://github.com/infernojs/inferno/commit/402a5fe42d1db1ee7da081cbc829216c855bf287) Mobx: Generic inject and observer (#​1327) - [`e522531`](https://github.com/infernojs/inferno/commit/e5225318afc0ac49f57050b52b12de9eced2633b) enables BrowserRouter to have a jsx child (#​1325) - [`bbbb379`](https://github.com/infernojs/inferno/commit/bbbb37973877537679a0f4d4cb58d6c8b0280221) Merge branch 'master' of github.com:infernojs/inferno into dev - [`7fd9ad5`](https://github.com/infernojs/inferno/commit/7fd9ad5e2df07c1747fb88c7a236d2b3a7c45967) improved development key validation runtime performance - [`0c0786d`](https://github.com/infernojs/inferno/commit/0c0786d938b89108d4e89ae1d9ac7edb1d1822e3) v5.0.3 #### v5.0.4 - [`e6799c6`](https://github.com/infernojs/inferno/commit/e6799c6ff57940265fbf3cc3957bf700372f71cc) Improve keyed algorithm speed by keeping source type PACKED_SMI_ELEMENTS (v8) - [`905cc92`](https://github.com/infernojs/inferno/commit/905cc92741a7ff4bea3835afd822c4b546646c28) Allow changing children of textVNode in cloneVNode, resolves Github #​1330 - [`7a85c59`](https://github.com/infernojs/inferno/commit/7a85c59fc9f44abd06d143c2b7f179d2831ffc6f) updated all dependencies - [`eb01226`](https://github.com/infernojs/inferno/commit/eb0122680f28a39455361e44978f4305cd5a143d) v5.0.4

This PR has been generated by Renovate Bot.

renovate[bot] commented 6 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 5.x releases. However, if you upgrade to 5.x manually then Renovate will then reenable updates for minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.