这是indexloc提供的服务,不要输入任何密码
Skip to content

Replace dependencies with internal functions where possible #36424

@viceice

Description

@viceice

Describe the proposed change(s).

We should dop small lib with internal replacements to reduce abandoned packages

  • better-sqlite3 -> node:sqlite1
  • nanoid -> node:crypto.randomUUID2

Footnotes

  1. https://nodejs.org/docs/latest-v22.x/api/sqlite.html#sqlite

  2. https://nodejs.org/docs/latest-v22.x/api/crypto.html#cryptorandomuuidoptions

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions