Skip to content

Doesn't work with UUID v7 #38

@IlyaSemenov

Description

@IlyaSemenov

The project doesn't work with UUID v7:

s.encode('01924249-77d3-7641-8c67-613b2881d5d4')
Uncaught TypeError: Invalid UUID
    at Object.parse (/Users/is/work/b/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/parse.js:14:11)
    at exports.encode (/Users/is/work/b/node_modules/.pnpm/slugid@5.0.1/node_modules/slugid/src/slugid.js:46:24)

Because it relies on uuid.parse() which only works with UUID v1-v5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions