npm Manifest Deprecation & License Change Feed
Pricing
$1.00 / 1,000 completed npm package metadata checks
npm Manifest Deprecation & License Change Feed
Check direct package.json dependencies against public npm Registry version metadata. Compare declared licenses and deprecation notices with a prior delivered snapshot.
Pricing
$1.00 / 1,000 completed npm package metadata checks
Rating
0.0
(0)
Developer
Nathaniel Standridge
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
15 days ago
Last modified
Categories
Features
Share
Check a bounded set of direct package.json dependencies against the public npm Registry. Each delivered package row records the current latest tag's publisher-declared license and deprecation message, plus the same fields for an optional exact resolved version. Give the next run OUTPUT.snapshot from a prior run to see field-by-field changes.
Input
Paste the dependency sections from package.json into manifest: dependencies, devDependencies, optionalDependencies, and peerDependencies. The Actor checks each unique package name once even when it appears in multiple sections, and preserves each declared spec in manifestSpecs. It accepts an empty manifest. It rejects invalid names, unknown fields, oversize input, and non-exact resolvedVersions. These names form only fixed npm Registry URLs; the Actor never fetches a user-supplied URL, repository URL, tarball or metadata link.
To check the version actually installed, supply a resolvedVersions object with exact semver values from your lockfile. A manifest range such as ^7.0.0 is not resolved or assumed installed. For example:
{"manifest": {"dependencies": {"is-number": "^7.0.0"}},"resolvedVersions": {"is-number": "7.0.0"}}
For recurring runs, copy the snapshot array from the previous run's OUTPUT record into previousSnapshot. A package with no prior row is first_seen; a matching metadata state is unchanged; otherwise the row is changed and changes lists before/after values. first_seen does not mean the package was newly published. Missing packages are never labeled removed. A failed or undelivered package retains its prior snapshot, so a partial run cannot silently mark it checked.
examples/input.json is a live public-source example. examples/synthetic-input.json and examples/synthetic-output.json are an invented fixture illustrating the contract; they do not claim that package exists in the registry.
Output and limitations
The default dataset contains one row per successfully checked package. It includes exact source URLs, UTC observation time, publisher-declared fields and comparison evidence. The separate OUTPUT record reports requested, attempted, read and delivered counts; per-package coverage and errors; and the next snapshot. Source errors, redirects, invalid responses and unattempted names produce no dataset row or per-row charge.
Only public, direct npm dependencies are covered. No transitive dependency traversal, security-vulnerability finding, license text inspection, legal license conclusion, private registry access, or evidence that a declaration matches the package payload is claimed. The latest tag and metadata are read sequentially and may change between requests. A null license with missing or unsupported_format has a different meaning from an asserted license string.
The Actor requests only documented public version metadata GET /{package}/{version} endpoints at registry.npmjs.org. It uses HTTPS without redirects, authentication, proxies or package-supplied links; validates response name/version/shape; caps the body at 512 KiB and per-request timeout at 2–15 seconds; and makes at most one retry for transient status or network failures. See npm Registry API, package metadata fields, and npm deprecation behavior.
Bounds and billing
Input is capped at 256 KiB, 200 declarations and 100 distinct packages. maxPackages is 1–100 attempted packages, maxRunSeconds is 30–180, and requestTimeoutSeconds is 2–15. Set the platform run timeout at least 120 seconds above the work budget for storage and shutdown. No npm request is made when the remaining native charge budget is zero. A smaller charge cap or package limit produces explicit partial coverage.
Proposed price: $1 per 1,000 delivered package rows ($0.001 each), including unchanged observations. Each successful row uses only Apify's native apify-default-dataset-item event. An OUTPUT summary or error is uncharged. The result plan is frozen before writes; existing dataset rows and native charged-event counts must match that plan on restart. Dataset writes disable client retries, record a pending checkpoint, and stop on an uncertain response. Reconcile the same run before trying another billable write. This is a price hypothesis, not an earnings or profit forecast; actual compute cost and paid retention must be measured.
Development and qualification
From this directory, run uv run --locked python -B -m unittest discover -s tests -v. A read-only live source smoke is available through uv run --locked python -B tools/local_smoke.py --input examples/input.json --output-dir ../../evidence/private/npm-deprecation-license-change-feed-local. Keep raw outputs in ignored private evidence. The fixture tests cover valid, empty, malformed, duplicate and adversarial input; source metadata changes; caps; and lost-response/restart delivery.
Before publication, perform private cloud full, empty, mixed, capped and malformed runs from examples/cloud-cases.json. Save the exact run JSON, dataset, OUTPUT and RESULT_PLAN for each run, then use tools/validate_cloud.py RUN_DIRECTORY examples/cloud-cases.json CASE. Independently read back public npm version metadata for delivered rows and compare actual row values; inspect billed events and cost per delivered row. A successful run status alone is insufficient.