Skip to content

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

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.

Activity

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

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