Skip to content

Consider generating deno lock file for yt.solver.deno.lib.js #6

@coletdjnz

Description

@coletdjnz

Add another layer of protection when resolving dependencies from npm remote when using the yt.solver.deno.lib.js lib variant.

  1. Generate a lock file for the dependencies used in yt.solver.deno.lib.js from the main build lock file (Add a deno lock file for building #5)
  2. Ship the artifact alongside yt.solver.deno.lib.js (py package, include in yt-dlp repo, etc.)
  3. In yt-dlp, we supply the lockfile to deno when using yt.solver.deno.lib.js

https://docs.deno.com/runtime/fundamentals/modules/#integrity-checking-and-lock-files

I don't think we'll be able to do this for bun as there is no way to provide a custom lockfile location from what I can see.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions