Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# nosemgrep: package_managers.npm.npm-missing-minimum-release-age
#
# min-release-age is intentionally not set. The rule wants a 7-day cooldown
# before resolving newly published versions, but @wdio/browserstack-service ships
# reactive WDIO ops fixes that cannot wait out a release-age window. This is a
# false positive for this repo; suppressed per Security Ops book section 6.8
# (Fix Semgrep False Positive in SCA). Ref: SDK-7085.
#
# Supply-chain hardening directives for npm installs in this repository.
#
# access=restricted is intentionally omitted: @wdio/browserstack-service is a
# public npm package, so publishes must default to public access.
#
# ignore-scripts=true is intentionally deferred. The build runs `buf generate`
# and esbuild, both of which fetch platform binaries via npm lifecycle
# (postinstall) scripts; enabling ignore-scripts here leaves those binaries
# unprovisioned and breaks `npm run build` in CI. Re-enable once CI provisions
# the buf/esbuild binaries explicitly (an npm rebuild or a pinned install step).
#
# engine-strict=true is intentionally deferred. engines.node is ">=18.20.0" but
# transitive dev deps frequently target newer Node, so strict enforcement raises
# spurious EBADENGINE failures across the multi-Node CI matrix. Re-enable once CI
# standardises on a single LTS that satisfies all transitive engine fields.

strict-ssl=true
save-exact=true
audit-level=high

legacy-peer-deps=false
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Loading