Skip to content

Do not download Lightpanda's binary during installation #20

@regseb

Description

@regseb

When you install the npm package @lightpanda/browser, the Lightpanda's binary is automatically downloaded via the postinstall script. With npm v11.16.0, this script is blocked (npm/rfcs#868 / Upcoming breaking changes for npm v12). The same applies to pnpm 10.0.0.

added 14 packages, and audited 15 packages in 2m

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn allow-scripts   @lightpanda/browser@1.2.0 (postinstall: node dist/scripts/postinstall.js || true)
npm warn allow-scripts
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.

The postinstall script should be removed, and the documentation should specify that the browser must be downloaded (as with Playwright v1.38.0).

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