mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
doc: mark .env files support as stable
As discussed in the referenced issue the feature should be ready to be marked as stable. Refs: https://github.com/nodejs/node/issues/49148#issuecomment-3307309232 PR-URL: https://github.com/nodejs/node/pull/59925 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
parent
51df7b92bc
commit
bb04959818
|
|
@ -883,10 +883,12 @@ node --entry-url 'data:text/javascript,console.log("Hello")'
|
||||||
|
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v22.9.0
|
added: v22.9.0
|
||||||
|
changes:
|
||||||
|
- version: REPLACEME
|
||||||
|
pr-url: https://github.com/nodejs/node/pull/59925
|
||||||
|
description: The `--env-file-if-exists` flag is no longer experimental.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
> Stability: 1.1 - Active development
|
|
||||||
|
|
||||||
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
|
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
|
||||||
does not exist.
|
does not exist.
|
||||||
|
|
||||||
|
|
@ -895,6 +897,9 @@ does not exist.
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v20.6.0
|
added: v20.6.0
|
||||||
changes:
|
changes:
|
||||||
|
- version: REPLACEME
|
||||||
|
pr-url: https://github.com/nodejs/node/pull/59925
|
||||||
|
description: The `--env-file` flag is no longer experimental.
|
||||||
- version:
|
- version:
|
||||||
- v21.7.0
|
- v21.7.0
|
||||||
- v20.12.0
|
- v20.12.0
|
||||||
|
|
@ -902,8 +907,6 @@ changes:
|
||||||
description: Add support to multi-line values.
|
description: Add support to multi-line values.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
> Stability: 1.1 - Active development
|
|
||||||
|
|
||||||
Loads environment variables from a file relative to the current directory,
|
Loads environment variables from a file relative to the current directory,
|
||||||
making them available to applications on `process.env`. The [environment
|
making them available to applications on `process.env`. The [environment
|
||||||
variables which configure Node.js][environment_variables], such as `NODE_OPTIONS`,
|
variables which configure Node.js][environment_variables], such as `NODE_OPTIONS`,
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ For more details refer to the [`process.env` documentation][].
|
||||||
|
|
||||||
Set of utilities for dealing with additional environment variables defined in `.env` files.
|
Set of utilities for dealing with additional environment variables defined in `.env` files.
|
||||||
|
|
||||||
> Stability: 1.1 - Active development
|
> Stability: 2 - Stable
|
||||||
|
|
||||||
<!--introduced_in=v20.12.0-->
|
<!--introduced_in=v20.12.0-->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2696,10 +2696,12 @@ debugger. See [Signal Events][].
|
||||||
added:
|
added:
|
||||||
- v21.7.0
|
- v21.7.0
|
||||||
- v20.12.0
|
- v20.12.0
|
||||||
|
changes:
|
||||||
|
- version: REPLACEME
|
||||||
|
pr-url: https://github.com/nodejs/node/pull/59925
|
||||||
|
description: This API is no longer experimental.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
> Stability: 1.1 - Active development
|
|
||||||
|
|
||||||
* `path` {string | URL | Buffer | undefined}. **Default:** `'./.env'`
|
* `path` {string | URL | Buffer | undefined}. **Default:** `'./.env'`
|
||||||
|
|
||||||
Loads the `.env` file into `process.env`. Usage of `NODE_OPTIONS`
|
Loads the `.env` file into `process.env`. Usage of `NODE_OPTIONS`
|
||||||
|
|
|
||||||
|
|
@ -2211,10 +2211,12 @@ $ node negate.js --no-logfile --logfile=test.log --color --no-color
|
||||||
added:
|
added:
|
||||||
- v21.7.0
|
- v21.7.0
|
||||||
- v20.12.0
|
- v20.12.0
|
||||||
|
changes:
|
||||||
|
- version: REPLACEME
|
||||||
|
pr-url: https://github.com/nodejs/node/pull/59925
|
||||||
|
description: This API is no longer experimental.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
> Stability: 1.1 - Active development
|
|
||||||
|
|
||||||
* `content` {string}
|
* `content` {string}
|
||||||
|
|
||||||
The raw contents of a `.env` file.
|
The raw contents of a `.env` file.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user