port-launcher 0.0.1-security → 16.0.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of port-launcher might be problematic. Click here for more details.
- package/.idea/codeStyles/Project.xml +27 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/dotenv-master.iml +12 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.vscode/settings.json +2 -0
- package/CHANGELOG.md +431 -0
- package/LICENSE +23 -0
- package/README-es.md +442 -0
- package/README.md +633 -5
- package/config.d.ts +1 -0
- package/config.js +9 -0
- package/index.js +35 -0
- package/lib/cli-options.js +11 -0
- package/lib/env-options.js +24 -0
- package/lib/main.d.ts +156 -0
- package/lib/main.js +314 -0
- package/package.json +62 -3
- package/pk.json +64 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
<component name="ProjectCodeStyleConfiguration">
|
2
|
+
<code_scheme name="Project" version="173">
|
3
|
+
<JSCodeStyleSettings version="0">
|
4
|
+
<option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
|
5
|
+
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
6
|
+
<option name="SPACE_BEFORE_GENERATOR_MULT" value="true" />
|
7
|
+
<option name="USE_DOUBLE_QUOTES" value="false" />
|
8
|
+
<option name="FORCE_QUOTE_STYlE" value="true" />
|
9
|
+
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
10
|
+
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
11
|
+
</JSCodeStyleSettings>
|
12
|
+
<codeStyleSettings language="JavaScript">
|
13
|
+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
14
|
+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
|
15
|
+
<option name="ALIGN_MULTILINE_FOR" value="false" />
|
16
|
+
<option name="SPACE_BEFORE_METHOD_PARENTHESES" value="true" />
|
17
|
+
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
|
18
|
+
<option name="KEEP_SIMPLE_BLOCKS_IN_ONE_LINE" value="true" />
|
19
|
+
<option name="KEEP_SIMPLE_METHODS_IN_ONE_LINE" value="true" />
|
20
|
+
<indentOptions>
|
21
|
+
<option name="INDENT_SIZE" value="2" />
|
22
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
23
|
+
<option name="TAB_SIZE" value="2" />
|
24
|
+
</indentOptions>
|
25
|
+
</codeStyleSettings>
|
26
|
+
</code_scheme>
|
27
|
+
</component>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="WEB_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager">
|
4
|
+
<content url="file://$MODULE_DIR$">
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
8
|
+
</content>
|
9
|
+
<orderEntry type="inheritedJdk" />
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
11
|
+
</component>
|
12
|
+
</module>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/dotenv-master.iml" filepath="$PROJECT_DIR$/.idea/dotenv-master.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/CHANGELOG.md
ADDED
@@ -0,0 +1,431 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4
|
+
|
5
|
+
## [Unreleased](https://github.com/motdotla/dotenv/compare/v16.3.1...master)
|
6
|
+
|
7
|
+
## [16.3.1](https://github.com/motdotla/dotenv/compare/v16.3.0...v16.3.1) (2023-06-17)
|
8
|
+
|
9
|
+
### Added
|
10
|
+
|
11
|
+
- Add missing type definitions for `processEnv` and `DOTENV_KEY` options. [#756](https://github.com/motdotla/dotenv/pull/756)
|
12
|
+
|
13
|
+
## [16.3.0](https://github.com/motdotla/dotenv/compare/v16.2.0...v16.3.0) (2023-06-16)
|
14
|
+
|
15
|
+
### Added
|
16
|
+
|
17
|
+
- Optionally pass `DOTENV_KEY` to options rather than relying on `process.env.DOTENV_KEY`. Defaults to `process.env.DOTENV_KEY` [#754](https://github.com/motdotla/dotenv/pull/754)
|
18
|
+
|
19
|
+
## [16.2.0](https://github.com/motdotla/dotenv/compare/v16.1.4...v16.2.0) (2023-06-15)
|
20
|
+
|
21
|
+
### Added
|
22
|
+
|
23
|
+
- Optionally write to your own target object rather than `process.env`. Defaults to `process.env`. [#753](https://github.com/motdotla/dotenv/pull/753)
|
24
|
+
- Add import type URL to types file [#751](https://github.com/motdotla/dotenv/pull/751)
|
25
|
+
|
26
|
+
## [16.1.4](https://github.com/motdotla/dotenv/compare/v16.1.3...v16.1.4) (2023-06-04)
|
27
|
+
|
28
|
+
### Added
|
29
|
+
|
30
|
+
- Added `.github/` to `.npmignore` [#747](https://github.com/motdotla/dotenv/pull/747)
|
31
|
+
|
32
|
+
## [16.1.3](https://github.com/motdotla/dotenv/compare/v16.1.2...v16.1.3) (2023-05-31)
|
33
|
+
|
34
|
+
### Removed
|
35
|
+
|
36
|
+
- Removed `browser` keys for `path`, `os`, and `crypto` in package.json. These were set to false incorrectly as of 16.1. Instead, if using dotenv on the front-end make sure to include polyfills for `path`, `os`, and `crypto`. [node-polyfill-webpack-plugin](https://github.com/Richienb/node-polyfill-webpack-plugin) provides these.
|
37
|
+
|
38
|
+
## [16.1.2](https://github.com/motdotla/dotenv/compare/v16.1.1...v16.1.2) (2023-05-31)
|
39
|
+
|
40
|
+
### Changed
|
41
|
+
|
42
|
+
- Exposed private function `_configDotenv` as `configDotenv`. [#744](https://github.com/motdotla/dotenv/pull/744)
|
43
|
+
|
44
|
+
## [16.1.1](https://github.com/motdotla/dotenv/compare/v16.1.0...v16.1.1) (2023-05-30)
|
45
|
+
|
46
|
+
### Added
|
47
|
+
|
48
|
+
- Added type definition for `decrypt` function
|
49
|
+
|
50
|
+
### Changed
|
51
|
+
|
52
|
+
- Fixed `{crypto: false}` in `packageJson.browser`
|
53
|
+
|
54
|
+
## [16.1.0](https://github.com/motdotla/dotenv/compare/v16.0.3...v16.1.0) (2023-05-30)
|
55
|
+
|
56
|
+
### Added
|
57
|
+
|
58
|
+
- Add `populate` convenience method [#733](https://github.com/motdotla/dotenv/pull/733)
|
59
|
+
- Accept URL as path option [#720](https://github.com/motdotla/dotenv/pull/720)
|
60
|
+
- Add dotenv to `npm fund` command
|
61
|
+
- Spanish language README [#698](https://github.com/motdotla/dotenv/pull/698)
|
62
|
+
- Add `.env.vault` support. 🎉 ([#730](https://github.com/motdotla/dotenv/pull/730))
|
63
|
+
|
64
|
+
ℹ️ `.env.vault` extends the `.env` file format standard with a localized encrypted vault file. Package it securely with your production code deploys. It's cloud agnostic so that you can deploy your secrets anywhere – without [risky third-party integrations](https://techcrunch.com/2023/01/05/circleci-breach/). [read more](https://github.com/motdotla/dotenv#-deploying)
|
65
|
+
|
66
|
+
### Changed
|
67
|
+
|
68
|
+
- Fixed "cannot resolve 'fs'" error on tools like Replit [#693](https://github.com/motdotla/dotenv/pull/693)
|
69
|
+
|
70
|
+
## [16.0.3](https://github.com/motdotla/dotenv/compare/v16.0.2...v16.0.3) (2022-09-29)
|
71
|
+
|
72
|
+
### Changed
|
73
|
+
|
74
|
+
- Added library version to debug logs ([#682](https://github.com/motdotla/dotenv/pull/682))
|
75
|
+
|
76
|
+
## [16.0.2](https://github.com/motdotla/dotenv/compare/v16.0.1...v16.0.2) (2022-08-30)
|
77
|
+
|
78
|
+
### Added
|
79
|
+
|
80
|
+
- Export `env-options.js` and `cli-options.js` in package.json for use with downstream [dotenv-expand](https://github.com/motdotla/dotenv-expand) module
|
81
|
+
|
82
|
+
## [16.0.1](https://github.com/motdotla/dotenv/compare/v16.0.0...v16.0.1) (2022-05-10)
|
83
|
+
|
84
|
+
### Changed
|
85
|
+
|
86
|
+
- Minor README clarifications
|
87
|
+
- Development ONLY: updated devDependencies as recommended for development only security risks ([#658](https://github.com/motdotla/dotenv/pull/658))
|
88
|
+
|
89
|
+
## [16.0.0](https://github.com/motdotla/dotenv/compare/v15.0.1...v16.0.0) (2022-02-02)
|
90
|
+
|
91
|
+
### Added
|
92
|
+
|
93
|
+
- _Breaking:_ Backtick support 🎉 ([#615](https://github.com/motdotla/dotenv/pull/615))
|
94
|
+
|
95
|
+
If you had values containing the backtick character, please quote those values with either single or double quotes.
|
96
|
+
|
97
|
+
## [15.0.1](https://github.com/motdotla/dotenv/compare/v15.0.0...v15.0.1) (2022-02-02)
|
98
|
+
|
99
|
+
### Changed
|
100
|
+
|
101
|
+
- Properly parse empty single or double quoted values 🐞 ([#614](https://github.com/motdotla/dotenv/pull/614))
|
102
|
+
|
103
|
+
## [15.0.0](https://github.com/motdotla/dotenv/compare/v14.3.2...v15.0.0) (2022-01-31)
|
104
|
+
|
105
|
+
`v15.0.0` is a major new release with some important breaking changes.
|
106
|
+
|
107
|
+
### Added
|
108
|
+
|
109
|
+
- _Breaking:_ Multiline parsing support (just works. no need for the flag.)
|
110
|
+
|
111
|
+
### Changed
|
112
|
+
|
113
|
+
- _Breaking:_ `#` marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your `.env` files to wrap in quotes any values containing `#`. For example: `SECRET_HASH="something-with-a-#-hash"`).
|
114
|
+
|
115
|
+
..Understandably, (as some teams have noted) this is tedious to do across the entire team. To make it less tedious, we recommend using [dotenv cli](https://github.com/dotenv-org/cli) going forward. It's an optional plugin that will keep your `.env` files in sync between machines, environments, or team members.
|
116
|
+
|
117
|
+
### Removed
|
118
|
+
|
119
|
+
- _Breaking:_ Remove multiline option (just works out of the box now. no need for the flag.)
|
120
|
+
|
121
|
+
## [14.3.2](https://github.com/motdotla/dotenv/compare/v14.3.1...v14.3.2) (2022-01-25)
|
122
|
+
|
123
|
+
### Changed
|
124
|
+
|
125
|
+
- Preserve backwards compatibility on values containing `#` 🐞 ([#603](https://github.com/motdotla/dotenv/pull/603))
|
126
|
+
|
127
|
+
## [14.3.1](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.1) (2022-01-25)
|
128
|
+
|
129
|
+
### Changed
|
130
|
+
|
131
|
+
- Preserve backwards compatibility on exports by re-introducing the prior in-place exports 🐞 ([#606](https://github.com/motdotla/dotenv/pull/606))
|
132
|
+
|
133
|
+
## [14.3.0](https://github.com/motdotla/dotenv/compare/v14.2.0...v14.3.0) (2022-01-24)
|
134
|
+
|
135
|
+
### Added
|
136
|
+
|
137
|
+
- Add `multiline` option 🎉 ([#486](https://github.com/motdotla/dotenv/pull/486))
|
138
|
+
|
139
|
+
## [14.2.0](https://github.com/motdotla/dotenv/compare/v14.1.1...v14.2.0) (2022-01-17)
|
140
|
+
|
141
|
+
### Added
|
142
|
+
|
143
|
+
- Add `dotenv_config_override` cli option
|
144
|
+
- Add `DOTENV_CONFIG_OVERRIDE` command line env option
|
145
|
+
|
146
|
+
## [14.1.1](https://github.com/motdotla/dotenv/compare/v14.1.0...v14.1.1) (2022-01-17)
|
147
|
+
|
148
|
+
### Added
|
149
|
+
|
150
|
+
- Add React gotcha to FAQ on README
|
151
|
+
|
152
|
+
## [14.1.0](https://github.com/motdotla/dotenv/compare/v14.0.1...v14.1.0) (2022-01-17)
|
153
|
+
|
154
|
+
### Added
|
155
|
+
|
156
|
+
- Add `override` option 🎉 ([#595](https://github.com/motdotla/dotenv/pull/595))
|
157
|
+
|
158
|
+
## [14.0.1](https://github.com/motdotla/dotenv/compare/v14.0.0...v14.0.1) (2022-01-16)
|
159
|
+
|
160
|
+
### Added
|
161
|
+
|
162
|
+
- Log error on failure to load `.env` file ([#594](https://github.com/motdotla/dotenv/pull/594))
|
163
|
+
|
164
|
+
## [14.0.0](https://github.com/motdotla/dotenv/compare/v13.0.1...v14.0.0) (2022-01-16)
|
165
|
+
|
166
|
+
### Added
|
167
|
+
|
168
|
+
- _Breaking:_ Support inline comments for the parser 🎉 ([#568](https://github.com/motdotla/dotenv/pull/568))
|
169
|
+
|
170
|
+
## [13.0.1](https://github.com/motdotla/dotenv/compare/v13.0.0...v13.0.1) (2022-01-16)
|
171
|
+
|
172
|
+
### Changed
|
173
|
+
|
174
|
+
* Hide comments and newlines from debug output ([#404](https://github.com/motdotla/dotenv/pull/404))
|
175
|
+
|
176
|
+
## [13.0.0](https://github.com/motdotla/dotenv/compare/v12.0.4...v13.0.0) (2022-01-16)
|
177
|
+
|
178
|
+
### Added
|
179
|
+
|
180
|
+
* _Breaking:_ Add type file for `config.js` ([#539](https://github.com/motdotla/dotenv/pull/539))
|
181
|
+
|
182
|
+
## [12.0.4](https://github.com/motdotla/dotenv/compare/v12.0.3...v12.0.4) (2022-01-16)
|
183
|
+
|
184
|
+
### Changed
|
185
|
+
|
186
|
+
* README updates
|
187
|
+
* Minor order adjustment to package json format
|
188
|
+
|
189
|
+
## [12.0.3](https://github.com/motdotla/dotenv/compare/v12.0.2...v12.0.3) (2022-01-15)
|
190
|
+
|
191
|
+
### Changed
|
192
|
+
|
193
|
+
* Simplified jsdoc for consistency across editors
|
194
|
+
|
195
|
+
## [12.0.2](https://github.com/motdotla/dotenv/compare/v12.0.1...v12.0.2) (2022-01-15)
|
196
|
+
|
197
|
+
### Changed
|
198
|
+
|
199
|
+
* Improve embedded jsdoc type documentation
|
200
|
+
|
201
|
+
## [12.0.1](https://github.com/motdotla/dotenv/compare/v12.0.0...v12.0.1) (2022-01-15)
|
202
|
+
|
203
|
+
### Changed
|
204
|
+
|
205
|
+
* README updates and clarifications
|
206
|
+
|
207
|
+
## [12.0.0](https://github.com/motdotla/dotenv/compare/v11.0.0...v12.0.0) (2022-01-15)
|
208
|
+
|
209
|
+
### Removed
|
210
|
+
|
211
|
+
- _Breaking:_ drop support for Flow static type checker ([#584](https://github.com/motdotla/dotenv/pull/584))
|
212
|
+
|
213
|
+
### Changed
|
214
|
+
|
215
|
+
- Move types/index.d.ts to lib/main.d.ts ([#585](https://github.com/motdotla/dotenv/pull/585))
|
216
|
+
- Typescript cleanup ([#587](https://github.com/motdotla/dotenv/pull/587))
|
217
|
+
- Explicit typescript inclusion in package.json ([#566](https://github.com/motdotla/dotenv/pull/566))
|
218
|
+
|
219
|
+
## [11.0.0](https://github.com/motdotla/dotenv/compare/v10.0.0...v11.0.0) (2022-01-11)
|
220
|
+
|
221
|
+
### Changed
|
222
|
+
|
223
|
+
- _Breaking:_ drop support for Node v10 ([#558](https://github.com/motdotla/dotenv/pull/558))
|
224
|
+
- Patch debug option ([#550](https://github.com/motdotla/dotenv/pull/550))
|
225
|
+
|
226
|
+
## [10.0.0](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0) (2021-05-20)
|
227
|
+
|
228
|
+
### Added
|
229
|
+
|
230
|
+
- Add generic support to parse function
|
231
|
+
- Allow for import "dotenv/config.js"
|
232
|
+
- Add support to resolve home directory in path via ~
|
233
|
+
|
234
|
+
## [9.0.2](https://github.com/motdotla/dotenv/compare/v9.0.1...v9.0.2) (2021-05-10)
|
235
|
+
|
236
|
+
### Changed
|
237
|
+
|
238
|
+
- Support windows newlines with debug mode
|
239
|
+
|
240
|
+
## [9.0.1](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.1) (2021-05-08)
|
241
|
+
|
242
|
+
### Changed
|
243
|
+
|
244
|
+
- Updates to README
|
245
|
+
|
246
|
+
## [9.0.0](https://github.com/motdotla/dotenv/compare/v8.6.0...v9.0.0) (2021-05-05)
|
247
|
+
|
248
|
+
### Changed
|
249
|
+
|
250
|
+
- _Breaking:_ drop support for Node v8
|
251
|
+
|
252
|
+
## [8.6.0](https://github.com/motdotla/dotenv/compare/v8.5.1...v8.6.0) (2021-05-05)
|
253
|
+
|
254
|
+
### Added
|
255
|
+
|
256
|
+
- define package.json in exports
|
257
|
+
|
258
|
+
## [8.5.1](https://github.com/motdotla/dotenv/compare/v8.5.0...v8.5.1) (2021-05-05)
|
259
|
+
|
260
|
+
### Changed
|
261
|
+
|
262
|
+
- updated dev dependencies via npm audit
|
263
|
+
|
264
|
+
## [8.5.0](https://github.com/motdotla/dotenv/compare/v8.4.0...v8.5.0) (2021-05-05)
|
265
|
+
|
266
|
+
### Added
|
267
|
+
|
268
|
+
- allow for `import "dotenv/config"`
|
269
|
+
|
270
|
+
## [8.4.0](https://github.com/motdotla/dotenv/compare/v8.3.0...v8.4.0) (2021-05-05)
|
271
|
+
|
272
|
+
### Changed
|
273
|
+
|
274
|
+
- point to exact types file to work with VS Code
|
275
|
+
|
276
|
+
## [8.3.0](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.3.0) (2021-05-05)
|
277
|
+
|
278
|
+
### Changed
|
279
|
+
|
280
|
+
- _Breaking:_ drop support for Node v8 (mistake to be released as minor bump. later bumped to 9.0.0. see above.)
|
281
|
+
|
282
|
+
## [8.2.0](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) (2019-10-16)
|
283
|
+
|
284
|
+
### Added
|
285
|
+
|
286
|
+
- TypeScript types
|
287
|
+
|
288
|
+
## [8.1.0](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) (2019-08-18)
|
289
|
+
|
290
|
+
### Changed
|
291
|
+
|
292
|
+
- _Breaking:_ drop support for Node v6 ([#392](https://github.com/motdotla/dotenv/issues/392))
|
293
|
+
|
294
|
+
# [8.0.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) (2019-05-02)
|
295
|
+
|
296
|
+
### Changed
|
297
|
+
|
298
|
+
- _Breaking:_ drop support for Node v6 ([#302](https://github.com/motdotla/dotenv/issues/392))
|
299
|
+
|
300
|
+
## [7.0.0] - 2019-03-12
|
301
|
+
|
302
|
+
### Fixed
|
303
|
+
|
304
|
+
- Fix removing unbalanced quotes ([#376](https://github.com/motdotla/dotenv/pull/376))
|
305
|
+
|
306
|
+
### Removed
|
307
|
+
|
308
|
+
- Removed `load` alias for `config` for consistency throughout code and documentation.
|
309
|
+
|
310
|
+
## [6.2.0] - 2018-12-03
|
311
|
+
|
312
|
+
### Added
|
313
|
+
|
314
|
+
- Support preload configuration via environment variables ([#351](https://github.com/motdotla/dotenv/issues/351))
|
315
|
+
|
316
|
+
## [6.1.0] - 2018-10-08
|
317
|
+
|
318
|
+
### Added
|
319
|
+
|
320
|
+
- `debug` option for `config` and `parse` methods will turn on logging
|
321
|
+
|
322
|
+
## [6.0.0] - 2018-06-02
|
323
|
+
|
324
|
+
### Changed
|
325
|
+
|
326
|
+
- _Breaking:_ drop support for Node v4 ([#304](https://github.com/motdotla/dotenv/pull/304))
|
327
|
+
|
328
|
+
## [5.0.0] - 2018-01-29
|
329
|
+
|
330
|
+
### Added
|
331
|
+
|
332
|
+
- Testing against Node v8 and v9
|
333
|
+
- Documentation on trim behavior of values
|
334
|
+
- Documentation on how to use with `import`
|
335
|
+
|
336
|
+
### Changed
|
337
|
+
|
338
|
+
- _Breaking_: default `path` is now `path.resolve(process.cwd(), '.env')`
|
339
|
+
- _Breaking_: does not write over keys already in `process.env` if the key has a falsy value
|
340
|
+
- using `const` and `let` instead of `var`
|
341
|
+
|
342
|
+
### Removed
|
343
|
+
|
344
|
+
- Testing against Node v7
|
345
|
+
|
346
|
+
## [4.0.0] - 2016-12-23
|
347
|
+
|
348
|
+
### Changed
|
349
|
+
|
350
|
+
- Return Object with parsed content or error instead of false ([#165](https://github.com/motdotla/dotenv/pull/165)).
|
351
|
+
|
352
|
+
### Removed
|
353
|
+
|
354
|
+
- `verbose` option removed in favor of returning result.
|
355
|
+
|
356
|
+
## [3.0.0] - 2016-12-20
|
357
|
+
|
358
|
+
### Added
|
359
|
+
|
360
|
+
- `verbose` option will log any error messages. Off by default.
|
361
|
+
- parses email addresses correctly
|
362
|
+
- allow importing config method directly in ES6
|
363
|
+
|
364
|
+
### Changed
|
365
|
+
|
366
|
+
- Suppress error messages by default ([#154](https://github.com/motdotla/dotenv/pull/154))
|
367
|
+
- Ignoring more files for NPM to make package download smaller
|
368
|
+
|
369
|
+
### Fixed
|
370
|
+
|
371
|
+
- False positive test due to case-sensitive variable ([#124](https://github.com/motdotla/dotenv/pull/124))
|
372
|
+
|
373
|
+
### Removed
|
374
|
+
|
375
|
+
- `silent` option removed in favor of `verbose`
|
376
|
+
|
377
|
+
## [2.0.0] - 2016-01-20
|
378
|
+
|
379
|
+
### Added
|
380
|
+
|
381
|
+
- CHANGELOG to ["make it easier for users and contributors to see precisely what notable changes have been made between each release"](http://keepachangelog.com/). Linked to from README
|
382
|
+
- LICENSE to be more explicit about what was defined in `package.json`. Linked to from README
|
383
|
+
- Testing nodejs v4 on travis-ci
|
384
|
+
- added examples of how to use dotenv in different ways
|
385
|
+
- return parsed object on success rather than boolean true
|
386
|
+
|
387
|
+
### Changed
|
388
|
+
|
389
|
+
- README has shorter description not referencing ruby gem since we don't have or want feature parity
|
390
|
+
|
391
|
+
### Removed
|
392
|
+
|
393
|
+
- Variable expansion and escaping so environment variables are encouraged to be fully orthogonal
|
394
|
+
|
395
|
+
## [1.2.0] - 2015-06-20
|
396
|
+
|
397
|
+
### Added
|
398
|
+
|
399
|
+
- Preload hook to require dotenv without including it in your code
|
400
|
+
|
401
|
+
### Changed
|
402
|
+
|
403
|
+
- clarified license to be "BSD-2-Clause" in `package.json`
|
404
|
+
|
405
|
+
### Fixed
|
406
|
+
|
407
|
+
- retain spaces in string vars
|
408
|
+
|
409
|
+
## [1.1.0] - 2015-03-31
|
410
|
+
|
411
|
+
### Added
|
412
|
+
|
413
|
+
- Silent option to silence `console.log` when `.env` missing
|
414
|
+
|
415
|
+
## [1.0.0] - 2015-03-13
|
416
|
+
|
417
|
+
### Removed
|
418
|
+
|
419
|
+
- support for multiple `.env` files. should always use one `.env` file for the current environment
|
420
|
+
|
421
|
+
[7.0.0]: https://github.com/motdotla/dotenv/compare/v6.2.0...v7.0.0
|
422
|
+
[6.2.0]: https://github.com/motdotla/dotenv/compare/v6.1.0...v6.2.0
|
423
|
+
[6.1.0]: https://github.com/motdotla/dotenv/compare/v6.0.0...v6.1.0
|
424
|
+
[6.0.0]: https://github.com/motdotla/dotenv/compare/v5.0.0...v6.0.0
|
425
|
+
[5.0.0]: https://github.com/motdotla/dotenv/compare/v4.0.0...v5.0.0
|
426
|
+
[4.0.0]: https://github.com/motdotla/dotenv/compare/v3.0.0...v4.0.0
|
427
|
+
[3.0.0]: https://github.com/motdotla/dotenv/compare/v2.0.0...v3.0.0
|
428
|
+
[2.0.0]: https://github.com/motdotla/dotenv/compare/v1.2.0...v2.0.0
|
429
|
+
[1.2.0]: https://github.com/motdotla/dotenv/compare/v1.1.0...v1.2.0
|
430
|
+
[1.1.0]: https://github.com/motdotla/dotenv/compare/v1.0.0...v1.1.0
|
431
|
+
[1.0.0]: https://github.com/motdotla/dotenv/compare/v0.4.0...v1.0.0
|
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.
|