Comparing version 8.2.0 to 8.6.0
@@ -5,21 +5,50 @@ # Changelog | ||
## [8.6.0](https://github.com/motdotla/dotenv/compare/v8.5.1...v8.6.0) (2021-05-05) | ||
### Added | ||
- define package.json in exports | ||
## [8.5.1](https://github.com/motdotla/dotenv/compare/v8.5.0...v8.5.1) (2021-05-05) | ||
### Changed | ||
- updated dev dependencies via npm audit | ||
## [8.5.0](https://github.com/motdotla/dotenv/compare/v8.4.0...v8.5.0) (2021-05-05) | ||
### Added | ||
- allow for `import "dotenv/config"` | ||
## [8.4.0](https://github.com/motdotla/dotenv/compare/v8.3.0...v8.4.0) (2021-05-05) | ||
### Changed | ||
- point to exact types file to work with VS Code | ||
## [8.3.0](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.3.0) (2021-05-05) | ||
### Changed | ||
- _Breaking:_ drop support for Node v8 | ||
## [8.2.0](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) (2019-10-16) | ||
## [8.1.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.1.0) (2019-08-18) | ||
### Added | ||
- TypeScript types | ||
### ⚠ BREAKING CHANGES | ||
## [8.1.0](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) (2019-08-18) | ||
* dropping Node v6 support because end-of-life | ||
### Changed | ||
* Drop support for Node v6 (#392) ([2e9636a](https://github.com/motdotla/dotenv/commit/2e9636a)), closes [#392](https://github.com/motdotla/dotenv/issues/392) | ||
- _Breaking:_ drop support for Node v6 ([#392](https://github.com/motdotla/dotenv/issues/392)) | ||
# [8.0.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) (2019-05-02) | ||
- Drop support for Node v6 (#392) ([2e9636a](https://github.com/motdotla/dotenv/commit/2e9636a)), closes [#392](https://github.com/motdotla/dotenv/issues/392) | ||
### Changed | ||
### BREAKING CHANGES | ||
- _Breaking:_ drop support for Node v6 ([#302](https://github.com/motdotla/dotenv/issues/392)) | ||
- dropping Node v6 support because end-of-life | ||
## [7.0.0] - 2019-03-12 | ||
@@ -26,0 +55,0 @@ |
{ | ||
"name": "dotenv", | ||
"version": "8.2.0", | ||
"version": "8.6.0", | ||
"description": "Loads environment variables from .env file", | ||
"main": "lib/main.js", | ||
"types": "types", | ||
"exports": { | ||
".": "./lib/main.js", | ||
"./config": "./config.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"types": "types/index.d.ts", | ||
"scripts": { | ||
@@ -44,3 +49,3 @@ "flow": "flow", | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=10" | ||
}, | ||
@@ -47,0 +52,0 @@ "standard": { |
@@ -0,1 +1,3 @@ | ||
**Announcement 📣** - From the makers that brought you .env, introducing [.env.me](http://npmjs.org/package/dotenv-me). Sync your .env files across machines. [Join the early access list.](https://me.dotenv.org/) | ||
# dotenv | ||
@@ -65,3 +67,3 @@ | ||
```bash | ||
$ node -r dotenv/config your_script.js dotenv_config_path=/custom/path/to/your/env/vars | ||
$ node -r dotenv/config your_script.js dotenv_config_path=/custom/path/to/.env | ||
``` | ||
@@ -106,3 +108,3 @@ | ||
```js | ||
require('dotenv').config({ path: '/full/custom/path/to/your/env/vars' }) | ||
require('dotenv').config({ path: '/custom/path/to/.env' }) | ||
``` | ||
@@ -109,0 +111,0 @@ |
@@ -50,3 +50,3 @@ // TypeScript Version: 3.0 | ||
/** | ||
* Loads `.env` file contents into {@link https://nodejs.org/api/process.html#process_process_env | `process.env`}. | ||
* Loads `.env` file contents into {@link https://nodejs.org/api/process.html#process_process_env `process.env`}. | ||
* Example: 'KEY=value' becomes { parsed: { KEY: 'value' } } | ||
@@ -53,0 +53,0 @@ * |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23876
13
274