Skip to content
Evergreen Evergreen
Documentation

natives is deprecated

Deprecated. The source gives no day. Replacement: graceful-fs 4.x. Source: natives package deprecation notice.

Check a version:

evergreen check pkg:npm/natives

npm states that natives relies on Node.js internals and will break, and directs users to graceful-fs 4.x.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity high
Ecosystem npm
Component pkg:npm/natives
Affected versions vers:npm/*
Date from the source The source gives no day
Replacement graceful-fs 4.x
Evidence last seen 2026-10-16
Reviewed 2026-10-16 by arminazimi, drafted by the npm-deprecated importer
Review due 2027-10-16 (365 days after the last review)
Rule ID npm.package.natives.deprecated

Sources

Migration

Constraints

  • Preserve filesystem behavior, retry semantics, and compatibility with the Node.js versions supported by the project.

Steps

  1. Replace natives. Replace the natives dependency and imports with graceful-fs 4.x, using its public filesystem API instead of Node.js internals.
  2. Verify filesystem behavior. Exercise affected file operations, including concurrent access and error paths, on every supported Node.js version.

Verification

  • npm run test --if-present: Run filesystem behavior and repository tests when defined.

Detected by

The npm detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/npm.json, rule npm.package.natives.deprecated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated