dotenv-runtime 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/LICENSE +23 -0
- package/README.md +1205 -2
- package/SECURITY.md +21 -0
- package/dist/cli.cjs +9 -0
- package/dist/config.cjs +3 -0
- package/dist/config.mjs +3 -0
- package/dist/decode.js +1 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.ts +165 -0
- package/dist/index.mjs +4 -0
- package/dist/stest.jpg +0 -0
- package/package.json +77 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to Dot2Env are documented here.
|
|
4
|
+
|
|
5
|
+
## 2.2.2
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Safe, opt-in variable expansion with defaults, escaping, and cycle detection.
|
|
10
|
+
- Dependency-free schema validation and typed coercion.
|
|
11
|
+
- Atomic required-variable checks.
|
|
12
|
+
- Asynchronous parallel file loading through `configAsync()`.
|
|
13
|
+
- Upward environment-file discovery through `findUp()` and `searchUp`.
|
|
14
|
+
- Absolute loaded-file metadata and structured error collections.
|
|
15
|
+
- Native CommonJS and ESM builds with named exports.
|
|
16
|
+
- A dedicated `dot2env run` command with expansion, discovery, validation, and strict-mode flags.
|
|
17
|
+
- Executable sample applications covered by the test pipeline.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Renamed the package and executable to `dot2env` to distinguish the fork from upstream `dotenv`.
|
|
22
|
+
- Raised the minimum runtime to Node.js 20.
|
|
23
|
+
- Separated the CLI build from the library build to reduce import overhead.
|
|
24
|
+
- Improved fast-parser parity for embedded quotes.
|
|
25
|
+
- Hardened public argument validation and fail-fast behavior.
|
|
26
|
+
- Added npm provenance publishing metadata.
|
|
27
|
+
|
|
28
|
+
### Removed
|
|
29
|
+
|
|
30
|
+
- Incomplete import-time instrumentation.
|
|
31
|
+
- Duplicate fixtures, unused branding assets, and temporary test-harness files.
|
|
32
|
+
- Stale upstream project metadata and promotional content.
|
|
33
|
+
|
|
34
|
+
## Upstream foundation
|
|
35
|
+
|
|
36
|
+
Dot2Env is derived from `dotenv` 17.4.2. Earlier history remains available in the repository's Git history.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Copyright (c) 2015, Scott Motte
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
|
5
|
+
modification, are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
8
|
+
list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
11
|
+
this list of conditions and the following disclaimer in the documentation
|
|
12
|
+
and/or other materials provided with the distribution.
|
|
13
|
+
|
|
14
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
15
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
16
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
17
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
18
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
19
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
20
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
21
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
22
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
23
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|