Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2025

Bumps nanoid to 3.3.8 and updates ancestor dependency mattermost-redux. These dependencies need to be updated together.

Updates nanoid from 2.1.11 to 3.3.8

Release notes

Sourced from nanoid's releases.

3.0 Migration Guide

Nano ID 3.0 is the biggest release in the project history. Unfortunately, you will need to change the code of your application. But the changes are very small in most cases. In return, you will have better performance, smaller size, ES modules and TypeScript support.

Known Issues

  • Only Create React App 4.0 supports dual ESM/CJS modules.

Simple Case

In simple cases, you just need to change default import to named import.

- import nanoid from 'nanoid'
+ import { nanoid } from 'nanoid'
nanoid() //=> "sSAi9F8yakJZPxOCr_WFb"
nanoid(5) //=> "ISe9l"

If you support IE, you need to transpile node_modules by Babel.

Non-secure and asynchronous Nano ID need only import changes as well.

- import nanoid from 'nanoid/non-secure'
+ import { nanoid } from 'nanoid/non-secure'
nanoid() //=> "sSAi9F8yakJZPxOCr_WFb"

- import nanoid from 'nanoid/async'
+ import { nanoid } from 'nanoid/async'
nanoid().then(id => {
id //=> "sSAi9F8yakJZPxOCr_WFb"
})

TypeScript

Remove @types/nanoid if you have it. Nano ID now have built-in types.

npm uninstall @types/nanoid

React Native

For Expo you need to load the file by direct path:

... (truncated)

Changelog

Sourced from nanoid's changelog.

3.3.8

  • Fixed a way to break Nano ID by passing non-integer size (by @​myndzi).

3.3.7

  • Fixed node16 TypeScript support (by Saadi Myftija).

3.3.6

  • Fixed package.

3.3.5

  • Backport funding information.

3.3.4

3.3.3

  • Reduced size (by Anton Khlynovskiy).

3.3.2

  • Fixed enhanced-resolve support.

3.3.1

  • Reduced package size.

3.3

  • Added size argument to function from customAlphabet (by Stefan Sundin).

3.2

  • Added --size and --alphabet arguments to binary (by Vitaly Baev).

3.1.32

  • Reduced async exports size (by Artyom Arutyunyan).
  • Moved from Jest to uvu (by Vitaly Baev).

3.1.31

  • Fixed collision vulnerability on object in size (by Artyom Arutyunyan).

3.1.30

  • Reduced size for project with brotli compression (by Anton Khlynovskiy).

3.1.29

  • Reduced npm package size.

3.1.28

  • Reduced npm package size.

3.1.27

  • Cleaned dependencies from development tools.

3.1.26

... (truncated)

Commits

Updates mattermost-redux from 5.33.1 to 10.6.0

Release notes

Sourced from mattermost-redux's releases.

v10.6.0

Mattermost Platform Release 10.6.0 contains multiple new quality of life improvements as well as PostgreSQL performance enhancements.

v10.6.0-rc3

Mattermost Platform Release 10.6.0-rc3

v10.6.0-rc2

Mattermost Platform Release 10.6.0-rc2

v10.6.0-rc1

Mattermost Platform Release 10.6.0-rc1

v10.5.3-rc1

Mattermost Platform Release 10.5.3-rc1

v10.5.2

Mattermost Platform Release 10.5.2 contains low to high severity level security fixes.

v10.5.1

Mattermost Platform Release 10.5.1 is the latest Extended Support Release and contains a Compliance Export overhaul as well as other improvements, bug fixes and breaking changes.

v10.5.1-rc2

Mattermost Platform Release 10.5.1-rc2

v10.5.1-rc1

Mattermost Platform Release 10.5.1-rc1

v10.5.0

Mattermost Platform Release 10.5.0

v10.5.0-rc6

Mattermost Platform Release 10.5.0-rc6

v10.5.0-rc5

Mattermost Platform Release 10.5.0-rc5

v10.5.0-rc4

Mattermost Platform Release 10.5.0-rc4

v10.5.0-rc3

Mattermost Platform Release 10.5.0-rc3

v10.5.0-rc2

Mattermost Platform Release 10.5.0-rc2

v10.5.0-rc1

Mattermost Platform Release 10.5.0-rc1

v10.4.5-rc1

Mattermost Platform Release 10.4.5-rc1

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by hmhealey, a new releaser for mattermost-redux since your current version.


You can trigger a rebase of this PR 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 <dependency name> 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.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 7, 2025

Reviewers

The following users could not be added as reviewers: manland. Either the username does not exist or it does not have the correct permissions to be added as a reviewer.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot added the 2: Dev Review Requires review by a core committer label Apr 7, 2025
@dependabot dependabot bot requested review from spirosoik and wiggin77 as code owners April 7, 2025 22:29
@wiggin77
Copy link
Member

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/webapp/multi-f5039bc317 branch from bec497a to 895e96b Compare April 14, 2025 18:51
@mattermost-build
Copy link
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

@wiggin77
Copy link
Member

@dependabot recreate

Bumps [nanoid](https://github.com/ai/nanoid) to 3.3.8 and updates ancestor dependency [mattermost-redux](https://github.com/mattermost/mattermost/tree/HEAD/webapp/platform/mattermost-redux). These dependencies need to be updated together.


Updates `nanoid` from 2.1.11 to 3.3.8
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@2.1.11...3.3.8)

Updates `mattermost-redux` from 5.33.1 to 10.6.0
- [Release notes](https://github.com/mattermost/mattermost/releases)
- [Changelog](https://github.com/mattermost/mattermost/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattermost/mattermost/commits/mattermost-redux@10.6.0/webapp/platform/mattermost-redux)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-version: 3.3.8
  dependency-type: indirect
- dependency-name: mattermost-redux
  dependency-version: 10.6.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/webapp/multi-f5039bc317 branch from 895e96b to d65fef6 Compare May 16, 2025 18:27
@wiggin77
Copy link
Member

@Kshitij-Katiyar dependabot has created PRs for a bunch of plugins to update mattermost-redux. Unfortunately, these plugins have not kept up with dependencies and the version jump includes breaking changes. It looks like we've held off on upgrading but we can't keep pushing this out. I'll be assigning you the tickets.

@Kshitij-Katiyar
Copy link
Contributor

@Kshitij-Katiyar dependabot has created PRs for a bunch of plugins to update mattermost-redux. Unfortunately, these plugins have not kept up with dependencies and the version jump includes breaking changes. It looks like we've held off on upgrading but we can't keep pushing this out. I'll be assigning you the tickets.

@wiggin77
Sure, we will be looking into it

@mattermost-build
Copy link
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Copy link
Member

@wiggin77 wiggin77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI failing plus merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2: Dev Review Requires review by a core committer Lifecycle/1:stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants