Linux249 / cnc-eco

CnC-Eco:
http://www.cnc-eco.de
1 stars 0 forks source link

Bump lodash and why-did-you-update in /client #87

Open dependabot[bot] opened 10 months ago

dependabot[bot] commented 10 months ago

Bumps lodash to 4.17.21 and updates ancestor dependency why-did-you-update. These dependencies need to be updated together.

Updates lodash from 4.17.15 to 4.17.21

Commits
  • f299b52 Bump to v4.17.21
  • c4847eb Improve performance of toNumber, trim and trimEnd on large input strings
  • 3469357 Prevent command injection through _.template's variable option
  • ded9bc6 Bump to v4.17.20.
  • 63150ef Documentation fixes.
  • 00f0f62 test.js: Remove trailing comma.
  • 846e434 Temporarily use a custom fork of lodash-cli.
  • 5d046f3 Re-enable Travis tests on 4.17 branch.
  • aa816b3 Remove /npm-package.
  • d7fbc52 Bump to v4.17.19
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by bnjmnt4n, a new releaser for lodash since your current version.


Updates why-did-you-update from 0.0.8 to 1.0.8

Release notes

Sourced from why-did-you-update's releases.

v1.0.6

Made sure we don't monkey patch components at all if they are excluded or not included. (#43, #44) thanks @​astik

v1.0.5

Now using react-fast-compare to make deep comparisons of react props to detect props which are different by reference but equal by value.

We decided to use it to fix the library's performance issues (#30)

v1.0.4

Fixed handling of old and new context api in functional components. (#39)

v1.0.3

Fixed support of React's 16 snap argument in componentDidUpdate.

Thanks @​kyo-ago

v1.0.2 - Dropped support for older React

Breaking Changes

  • Dropped the support of react 14 and 15:

    With the new monkey patch of version 1, tests are not passing on React 14 or 15. We decided to drop the support of those at all and added a readme notification about it.

v1.0.1

Added a test to ensure extended class and functional components are not swallowing statics.

v1.0.0 - New monkey patch

We implemented a new monkey patch which was written by @​danburzo. Thank you!

This patch allows us to track updates in components with custom componentDidUpdate and on Functional Components. (fixing #10 and #17)

It works by monkey patching React.createElement instead of React.Component and:

  • On class components, extending them to new components with componentDidUpdate inheriting from the originals and using the extended version instead of the original one.
let WDYUFunctionalComponent = class extends YourReactComponent {
  render() {
    return ctor(this.props);
  }
  componentDidUpdate(prevProps, prevState) {
    cdu.call(this, prevProps, prevState);
  }
}
  • On functional components, wrapping them by a class component with a custom componentDidUpdate and using the wrapper to create the element instead of the functional component.

Braking Changes

We decided to release it as a major release since we expect it might work a little different then usually tracking more components then previously and (i hope not) braking some components because of the wrapping.

Packages and Readme updates, Package Size

  • Got the package size

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Linux249/cnc-eco/network/alerts).
vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cnc-eco 🔄 Building (Inspect) Visit Preview Oct 25, 2023 0:09am