REA package-lock.json notes (unofficial)
For legal, authorized and educational use only. Only analyze software you own or have written permission to examine. This page is not the official REA documentation.
Quick answer
package-lock.json pins npm resolved dependency identity. In REA 6.7.x, treat selected lock pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the package-lock.json (+ artifacts you hold).
- Quote selected lockfileVersion / packages / resolved pins you actually see (never paste npm tokens).
- Cousins → npm-lockfiles · npm-shrinkwrap · yarn-lock · pnpm-store.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a
inspect_package_lock_jsonAPI REA never called.
Minimal path
# authorized package-lock.json (+ artifact you hold)
# quote selected lockfileVersion/packages/resolved into case notes
# cousins → npm-lockfiles / shrinkwrap / yarn-lock / pnpm-store
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_package_lock_json .
Compare
| Artifact | Honest posture |
|---|---|
| package-lock.json | lockfileVersion / packages identity facts |
| npm lockfiles lane | rea-npm-lockfiles |
| shrinkwrap lane | rea-npm-shrinkwrap |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_package_lock_json/ automaticnpm installagainst foreign registries. - No credential theft from npm / CI tokens.
- No pirate redistribution of paid packages.
- No crack framing via lock pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-npm-lockfiles?
rea-npm-lockfiles covers broader npm lock Evidence. This page zooms on package-lock.json identity — it does not overwrite that page.
Is there inspect_package_lock_json in 6.7.0?
Not assumed. Quote lockfileVersion / packages / dependencies you actually open. Do not invent inspect_package_lock_json.
Does REA run npm ci / npm install for you?
No. Local trees only. No credential theft from npm tokens.
package-lock vs shrinkwrap vs yarn.lock vs pnpm-lock?
Label Evidence by the file present. Quote the lock pins you open.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).