mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +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
|
||||
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
|
||||
does not exist.
|
||||
|
||||
|
|
@ -895,6 +897,9 @@ does not exist.
|
|||
<!-- YAML
|
||||
added: v20.6.0
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/59925
|
||||
description: The `--env-file` flag is no longer experimental.
|
||||
- version:
|
||||
- v21.7.0
|
||||
- v20.12.0
|
||||
|
|
@ -902,8 +907,6 @@ changes:
|
|||
description: Add support to multi-line values.
|
||||
-->
|
||||
|
||||
> Stability: 1.1 - Active development
|
||||
|
||||
Loads environment variables from a file relative to the current directory,
|
||||
making them available to applications on `process.env`. The [environment
|
||||
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.
|
||||
|
||||
> Stability: 1.1 - Active development
|
||||
> Stability: 2 - Stable
|
||||
|
||||
<!--introduced_in=v20.12.0-->
|
||||
|
||||
|
|
|
|||
|
|
@ -2696,10 +2696,12 @@ debugger. See [Signal Events][].
|
|||
added:
|
||||
- v21.7.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'`
|
||||
|
||||
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:
|
||||
- v21.7.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}
|
||||
|
||||
The raw contents of a `.env` file.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user