Implementation:Microsoft Playwright Utils Bundle Package Lock
| Knowledge Sources | |
|---|---|
| Domains | Dependency Management, Build Tooling |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
The package lock file for the utils bundle within playwright-core, pinning dependencies for commonly used utility libraries that are vendored into the distribution.
Description
This lockfile (npm lockfile version 3) belongs to the utils-bundle package (version 0.0.1) located at packages/playwright-core/bundles/utils/. It captures the exact resolved versions and integrity hashes for a curated set of utility libraries that Playwright bundles internally rather than declaring as runtime peer dependencies. This approach allows playwright-core to ship as a self-contained package without requiring users to install transitive utility dependencies.
Key Dependencies
graceful-fs(4.2.10) -- Drop-in replacement for Node'sfsmodule with retry/queue logic.ws(8.17.1) -- WebSocket client/server implementation used for browser communication.https-proxy-agent(7.0.6) /socks-proxy-agent(8.0.5) -- HTTP/SOCKS proxy support.commander(^13.0.0) -- CLI argument parsing.debug(^4.3.4) -- Debug logging utility.mime(^3.0.0) -- MIME type detection.pngjs(6.0.0) /jpeg-js(0.4.4) -- Image encoding/decoding for screenshots.retry(0.12.0) -- Operation retry logic (used by the lockfile module and elsewhere).signal-exit(3.0.7) -- Cross-platform process exit handler.dotenv(^16.4.5) -- Environment variable loading.yaml(^2.6.0) -- YAML parsing.colors(1.4.0),progress(2.0.3) -- Terminal output formatting.diff(^7.0.0) -- Text diff computation.minimatch(^3.1.2) -- Glob pattern matching.open(8.4.0) -- Open URLs/files in the default application.proxy-from-env(1.1.0) -- Proxy URL resolution from environment variables.
Usage
This lockfile is consumed during the playwright-core bundle build process. When utility dependencies need updating, run npm install from within the packages/playwright-core/bundles/utils/ directory. The resolved packages are then bundled into the playwright-core distribution.
Code Reference
Source Location
- Repository: Microsoft_Playwright
- File:
packages/playwright-core/bundles/utils/package-lock.json