feat: detect provenance regression, such as the axios march 2026 incident - #414
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #414 +/- ##
==========================================
+ Coverage 92.51% 93.39% +0.88%
==========================================
Files 32 32
Lines 1443 1499 +56
Branches 320 350 +30
==========================================
+ Hits 1335 1400 +65
+ Misses 93 82 -11
- Partials 15 17 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
🎉 This PR is included in version 3.18.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
Nice :) I'll have to study the new feature, but does it mean nqp can also be used as an alternative to pnpm to detect trusted publishing regressions (facebook/docusaurus#11874) It feels a bit awkward to use pnpm just for that, while our monorepo does not use pnpm atm: - name: Forbid lifecycle scripts
working-directory: ../test-website
run: |
rm -rf node_modules
npm install -g pnpm@10.33.0
cat > pnpm-workspace.yaml <<'YAML'
blockExoticSubdeps: true
strictDepBuilds: true
allowBuilds:
'@swc/core': true
core-js-pure: true
core-js: true
trustPolicy: no-downgrade
trustPolicyExclude:
- 'detect-port@1.6.1'
- 'semver@6.3.1'
YAML
pnpm installBut afaik there was no standalone CLI alternative. Do you also support excludes like pnpm, or plan to? |
|
Hey! :) Multifaceted answer so here are a few thoughts from me on this topic:
I'll update when I figure out more on the area of transitive deps scanning which would enable this. There's a dangling PR from a POC I ran a while back but I still haven't yet landed 100% on it. Keep a watch for more good changes though :-) |
|
I understand thanks! I'll keep using pnpm for now |
Description
Fully addresses #314
Example real-world use cases:
Types of changes
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Checklist: