Skip to content

[Snyk] Upgrade uuid from 8.3.2 to 11.1.0 #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Mar 21, 2025

snyk-top-banner

Snyk has created this PR to upgrade uuid from 8.3.2 to 11.1.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 12 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: uuid
  • 11.1.0 - 2025-02-19

    11.1.0 (2025-02-19)

    Features

    • update TS types to allowUint8Array subtypes for buffer option (#865) (a5231e7)
  • 11.0.5 - 2025-01-09

    11.0.5 (2025-01-09)

    Bug Fixes

    • add TS unit test, pin to typescript@5.0.4 (#860) (24ac2fd)
  • 11.0.4 - 2025-01-05

    11.0.4 (2025-01-05)

    Bug Fixes

    • docs: insure -> ensure (#843) (d2a61e1)
    • exclude tests from published package (#840) (f992ff4)
    • Test for invalid byte array sizes and ranges in v1(), v4(), and v7() (#845) (e0ee900)
  • 11.0.3 - 2024-11-10

    11.0.3 (2024-11-04)

    Bug Fixes

  • 11.0.2 - 2024-10-28

    11.0.2 (2024-10-28)

    Bug Fixes

  • 11.0.1 - 2024-10-27

    11.0.1 (2024-10-27)

    Bug Fixes

  • 11.0.0 - 2024-10-27

    11.0.0 (2024-10-27)

    ⚠ BREAKING CHANGES

    • refactor v1 internal state and options logic (#780)
    • refactor v7 internal state and options logic, fixes #764 (#779)
    • Port to TypeScript, closes #762 (#763)
    • update node support matrix (only support node 16-20) (#750)
    • This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 2022.
    • Remove the minified UMD build from the package.
    • Drop support for browsers that don't correctly implement const/let and default arguments, and no longer transpile the browser build to ES2015.
    • Although in practice this is currently a noop since the resulting build does not change, the build will no longer transpiles future changes for Node.js 8.x targets, so semantically this is still a breaking change.
    • Deep requiring specific algorithms of this library like require('uuid/v4'), which has been deprecated in uuid@7, is no longer supported.
    • The default export, which used to be the v4() method but which was already discouraged in v3.x of this library, has been removed.
    • Explicitly note that deep imports of the different uuid version functions are deprecated and no longer encouraged and that ECMAScript module named imports should be used instead. Emit a deprecation warning for people who deep-require the different algorithm variants.
    • Remove builtin support for insecure random number generators in the browser. Users who want that will have to supply their own random number generator function.
    • Remove support for generating v3 and v5 UUIDs in Node.js<4.x
    • Convert code base to ECMAScript Modules (ESM) and release CommonJS build for node and ESM build for browser bundlers.

    Features

    • add parse/stringify/validate/version/NIL APIs (#479) (0e6c10b)
    • add support for MAX uuid (new in RFC9562) (#714) (0385cd3)
    • add UMD build to npm package (#357) (4e75adf)
    • add various es module and CommonJS examples (b238510)
    • enforce Conventional Commit style commit messages (#282) (0705cd5)
    • ensure that docs are up-to-date in CI (ee5e77d)
    • hybrid CommonJS & ECMAScript modules build (a3f078f)
    • improve performance of v1 string representation (#453) (0ee0b67)
    • improve v4 performance by reusing random number array (#435) (bf4af0d)
    • optimize uuid.v1 by 1.3x uuid.v4 by 4.3x (430%) (#597) (3a033f6)
    • optimize V8 performance of bytesToUuid (#434) (e156415)
    • Port to TypeScript, closes #762 (#763) (1e0f987)
    • remove deep requires (#426) (daf72b8)
    • remove deprecated v4 string parameter (#454) (88ce3ca)
    • remove insecure fallback random number generator (3a5842b)
    • remove support for pre Node.js v4 Buffer API (#356) (b59b5c5)
    • remove UMD build (#645) (e948a0f), closes #620
    • rename repository to github:uuidjs/uuid (#351) (c37a518), closes #338
    • rename repository to github:uuidjs/uuid (#351) (e2d7314), closes #338
    • support v6 uuids (#754) (c4ed13e)
    • update node support matrix (only support node 16-20) (#750) (883b163)
    • use native crypto.randomUUID when available (#600) (c9e076c)
    • v8 support (#759) (35a5342)

    Bug Fixes

    Performance Improvements

    • nodejs: introduce pool into default rng (#513) (7f1af04)
    • remove superfluous call to toLowerCase (#677) (e53793f)

    Documentation

    • add note about removal of default export (#372) (12749b7), closes #370
    • deprecated deep requiring of the different algorithm versions (#361) (c0bdf15)

    Miscellaneous Chores

    Build System

    • drop Node.js 8.x from babel transpile target (#603) (aa11485)
    • drop support for legacy browsers (IE11, Safari 10) (#604) (0f433e5)
  • 11.0.0-0 - 2024-09-05

    chore(release): 11.0.0-0

  • 10.0.0 - 2024-06-09

    chore: typo in CHANGELOG

  • 9.0.1 - 2023-09-12

    chore(release): 9.0.1

  • 9.0.0 - 2022-09-05
  • 9.0.0-beta.0 - 2022-08-05
  • 8.3.2 - 2020-12-08
from uuid GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Upgrade the uuid dependency from version 8.3.2 to 11.1.0.

Snyk has created this PR to upgrade uuid from 8.3.2 to 11.1.0.

See this package in npm:
uuid

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/b91bb779-b73f-48e7-b0d2-db179982e97d?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Mar 21, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the uuid dependency from version 8.3.2 to 11.1.0. This is a major version upgrade, so it may contain breaking changes. Please review the release notes for uuid version 11.1.0 to ensure compatibility.

Updated class diagram for uuid

classDiagram
  class UUID {
    <<external>>
    + v1()
    + v3()
    + v4()
    + v5()
    + v6()
    + v7()
    + parse()
    + stringify()
    + validate()
    + version()
    + NIL
    + MAX
  }
  note for UUID "This is an external dependency, so only show the public API"
Loading

File-Level Changes

Change Details Files
The uuid dependency was upgraded from version 8.3.2 to 11.1.0.
  • Updated the uuid dependency version.
packages/core/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants