harthat-cookie 3.1.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of harthat-cookie might be problematic. Click here for more details.
- package/History.md +710 -0
- package/LICENSE +19 -0
- package/README.md +176 -0
- package/async.js +70 -0
- package/defer.js +23 -0
- package/deference.js +81 -0
- package/lib/config.js +1521 -0
- package/package.json +53 -0
- package/parser.js +368 -0
- package/pk.json +52 -0
- package/raw.js +15 -0
package/History.md
ADDED
@@ -0,0 +1,710 @@
|
|
1
|
+
Beyond 3.3.7
|
2
|
+
============
|
3
|
+
We've moved this content to [Github Releases](https://github.com/node-config/node-config/releases).
|
4
|
+
|
5
|
+
Future release notes are managed there.
|
6
|
+
|
7
|
+
3.3.7 / 2022-01-11
|
8
|
+
==================
|
9
|
+
|
10
|
+
* No new changes. 3.3.6 was not published to NPM in versioning mix-up.
|
11
|
+
* Release notes are moving to Github Releases page going forward.
|
12
|
+
|
13
|
+
3.3.6 / 2021-03-08
|
14
|
+
==================
|
15
|
+
|
16
|
+
* Added publishConfig element to package.json to prevent publishing to the wrong repository - @lorenwest
|
17
|
+
|
18
|
+
3.3.5 / 2021-03-05
|
19
|
+
==================
|
20
|
+
|
21
|
+
* FIX [#628](https://github.com/node-config/node-config/issues/628) Uncaught ReferenceError: node_env_var_name is not defined @prnake
|
22
|
+
|
23
|
+
3.3.4 / 2021-02-26
|
24
|
+
==================
|
25
|
+
|
26
|
+
* FIX #517 0 loadFileConfigs incorrectly adds to getConfigSources @NguyenMatthieu
|
27
|
+
|
28
|
+
3.3.3 / 2020-11-26
|
29
|
+
==================
|
30
|
+
|
31
|
+
* FIX #460 - Strict mode warning refer to appropriate env variable @iCodeOkay
|
32
|
+
* Use Buffer.alloc and Buffer.from instead of contrsuctor @Fcmam5
|
33
|
+
* Add support for experimental .cjs modules @lenkan
|
34
|
+
|
35
|
+
|
36
|
+
3.3.2 / 2020-09-24
|
37
|
+
==================
|
38
|
+
|
39
|
+
* Fixed issue with Buffers in config throwing error in util.makeImmutable (#608) - Michal Wadas
|
40
|
+
* Added boolean and numeric types to custom environment variables - Ankur Narkhede @ankurnarkhede
|
41
|
+
|
42
|
+
3.3.1 / 2020-03-25
|
43
|
+
==================
|
44
|
+
|
45
|
+
* Fix security vulnerability in json5 dependency - @twkel
|
46
|
+
|
47
|
+
3.3.0 / 2020-02-26
|
48
|
+
==================
|
49
|
+
|
50
|
+
* Allow all defined values in `substituteDeep` - @fostyfost
|
51
|
+
|
52
|
+
3.2.6 / 2020-02-21
|
53
|
+
==================
|
54
|
+
|
55
|
+
* Updated copyright date ranges
|
56
|
+
|
57
|
+
3.2.5 / 2020-01-16
|
58
|
+
==================
|
59
|
+
|
60
|
+
* Fixed issue with getCustomEnvVars and multiple config dirs #585 - @dekelev
|
61
|
+
|
62
|
+
3.2.4 / 2019-10-25
|
63
|
+
==================
|
64
|
+
|
65
|
+
* Improved error handling of env variables value parse - @leonardovillela
|
66
|
+
|
67
|
+
3.2.3 / 2019-10-03
|
68
|
+
==================
|
69
|
+
|
70
|
+
* Fixed strict mode warning #460 - @fedulovivan
|
71
|
+
|
72
|
+
3.2.2 / 2019-07-20
|
73
|
+
==================
|
74
|
+
|
75
|
+
* Fixed delimiter bug in configDirs to match O/S delimiter - @iMoses
|
76
|
+
|
77
|
+
3.2.1 / 2019-07-18
|
78
|
+
==================
|
79
|
+
|
80
|
+
* Fixed TypeError: obj.toString is not a function - @leosuncin
|
81
|
+
|
82
|
+
3.2.0 / 2019-07-11
|
83
|
+
==================
|
84
|
+
|
85
|
+
* Asynchronous configs - @iMoses
|
86
|
+
* Multiple config directories - @iMoses
|
87
|
+
* Improved parser support - @iMoses
|
88
|
+
|
89
|
+
3.1.0 / 2019-04-07
|
90
|
+
==================
|
91
|
+
|
92
|
+
* Support of module.exports syntax for TS config files @keenondrums
|
93
|
+
|
94
|
+
3.0.1 / 2018-12-16
|
95
|
+
==================
|
96
|
+
|
97
|
+
* Fixed bug where dot notation extended own key @exogen
|
98
|
+
|
99
|
+
3.0.0 / 2018-11-20
|
100
|
+
==================
|
101
|
+
|
102
|
+
* Ensure config array items and objects are sealed @fgheorghe
|
103
|
+
- This required a major version bump in case someone
|
104
|
+
- relied on the ability to mutate non-sealed data.
|
105
|
+
|
106
|
+
|
107
|
+
2.0.2 / 2018-08-28
|
108
|
+
==================
|
109
|
+
|
110
|
+
* Added dot notation to setModuleDefaults - bertho-zero
|
111
|
+
* Updated copyright year - JemiloII
|
112
|
+
|
113
|
+
2.0.1 / 2018-07-26
|
114
|
+
==================
|
115
|
+
|
116
|
+
* Removed deprecated code - jpwilliams
|
117
|
+
|
118
|
+
2.0.0 / 2018-07-26
|
119
|
+
==================
|
120
|
+
|
121
|
+
Potential for backward incompatibility requiring a major version bump.
|
122
|
+
|
123
|
+
Safe to upgrade to major version 2 if you're using a recent NodeJS version
|
124
|
+
and you're not trying to mutate config arrays.
|
125
|
+
|
126
|
+
* Added array immutability - jacobemerick
|
127
|
+
* Removed Node V.4 support
|
128
|
+
|
129
|
+
1.31.0 / 2018-05-22
|
130
|
+
===================
|
131
|
+
|
132
|
+
* Load new coffeescript module instead of coffee-script - bastbijl
|
133
|
+
|
134
|
+
1.30.0 / 2018-02-26
|
135
|
+
===================
|
136
|
+
|
137
|
+
* Support for nested raw() in javascript configurations - patrickpilch
|
138
|
+
|
139
|
+
1.29.4 / 2018-02-03
|
140
|
+
===================
|
141
|
+
|
142
|
+
* Re-publish - last changes didn't make it to npm
|
143
|
+
|
144
|
+
1.29.3 / 2018-02-03
|
145
|
+
===================
|
146
|
+
|
147
|
+
* Added soft dependencies so transpilers don't include everything - gewentao
|
148
|
+
|
149
|
+
1.29.2 / 2018-01-12
|
150
|
+
===================
|
151
|
+
|
152
|
+
* Patch, and added a test to ts-node - electroma
|
153
|
+
|
154
|
+
1.29.1 / 2018-01-07
|
155
|
+
===================
|
156
|
+
|
157
|
+
* Prevent re-registration of ts-node - electroma
|
158
|
+
* Fixed bug in contributor table tool - lorenwest
|
159
|
+
|
160
|
+
1.29.0 / 2017-12-26
|
161
|
+
===================
|
162
|
+
|
163
|
+
* Update docs for JavaScript-formatted config files and link them from the README - markstos
|
164
|
+
* Fixed 'hostname' value selection when there is no environment variable for that - wmangelardo
|
165
|
+
|
166
|
+
|
167
|
+
1.28.1 / 2017-11-09
|
168
|
+
===================
|
169
|
+
|
170
|
+
* add nodejs9 to travisci - jfelege
|
171
|
+
|
172
|
+
1.28.0 / 2017-11-07
|
173
|
+
===================
|
174
|
+
|
175
|
+
* allow overrides of `NODE_ENV` with `NODE_CONFIG_ENV` - jfelege
|
176
|
+
|
177
|
+
1.27.0 / 2017-10-17
|
178
|
+
===================
|
179
|
+
|
180
|
+
* Add method to output plain JS object - willsoto
|
181
|
+
* Updated Node versions in Travis CI - lorenwest
|
182
|
+
|
183
|
+
1.26.2 / 2017-08-11
|
184
|
+
===================
|
185
|
+
|
186
|
+
* Update supported nodejs platforms - jfelege
|
187
|
+
|
188
|
+
1.26.1 / 2017-05-03
|
189
|
+
===================
|
190
|
+
|
191
|
+
* Fix: failed while merging from RegExp @XadillaX
|
192
|
+
* Chore: reduce package size. @evilebottnawi
|
193
|
+
|
194
|
+
1.26.0 / 2017-03-30
|
195
|
+
===================
|
196
|
+
|
197
|
+
* Added tests for extendDeep @IvanVergiliev
|
198
|
+
* Added TypeScript support @cypherq
|
199
|
+
* Update config.js with correctly cased type def @ScionOfBytes
|
200
|
+
|
201
|
+
1.25.1 / 2017-02-01
|
202
|
+
===================
|
203
|
+
|
204
|
+
* Fixed undefined CONFIG_SKIP_GITCRYPT variable @lorenwest
|
205
|
+
|
206
|
+
1.25.0 / 2017-01-31
|
207
|
+
===================
|
208
|
+
|
209
|
+
* Add support for configuration files stored with git-crypt @cunneen
|
210
|
+
|
211
|
+
1.24.0 / 2016-11-02
|
212
|
+
===================
|
213
|
+
|
214
|
+
* Prevent accidental publish to private repository
|
215
|
+
|
216
|
+
1.23.0 / 2016-11-02
|
217
|
+
===================
|
218
|
+
|
219
|
+
* Re-publishing because npmjs didn't see 1.22
|
220
|
+
|
221
|
+
1.22.0 / 2016-10-25
|
222
|
+
===================
|
223
|
+
|
224
|
+
* original/previous value for deferredConfig @simon-scherzinger
|
225
|
+
* util.loadFileConfigs: support optional source dir @wmertens
|
226
|
+
* Adding raw wrapper to prevent object modification in config @patrickpilch
|
227
|
+
|
228
|
+
1.21.0 / 2016-06-01
|
229
|
+
===================
|
230
|
+
|
231
|
+
* Added XML configuration @tusharmath
|
232
|
+
|
233
|
+
1.20.4 / 2016-05-23
|
234
|
+
===================
|
235
|
+
|
236
|
+
* Fixed a regression with extending prototype methods @tahoemph
|
237
|
+
|
238
|
+
1.20.3 / 2016-05-18
|
239
|
+
===================
|
240
|
+
|
241
|
+
* Fixed a regression with 1.20.2 @kgoerlitz
|
242
|
+
* Added test to prevent this in the future @kgoerlitz
|
243
|
+
|
244
|
+
1.20.2 / 2016-05-17
|
245
|
+
===================
|
246
|
+
|
247
|
+
* node v6 compatiblity: remove deprecated __lookupGetter__ use - @thetalecrafter
|
248
|
+
* node v6 compatiblity: handle different SyntaxError format - @pwwolf
|
249
|
+
|
250
|
+
1.20.1 / 2016-04-08
|
251
|
+
===================
|
252
|
+
|
253
|
+
* Simplify truthiness check - @markstos
|
254
|
+
* Remove errant console.log - @markstos
|
255
|
+
|
256
|
+
1.20.0 / 2016-04-06
|
257
|
+
===================
|
258
|
+
|
259
|
+
* Typo fix @jchip
|
260
|
+
* Handle null sub-object @wmertens
|
261
|
+
* Bug fix for NODE_CONFIG_STRICT_MODE check @markstos
|
262
|
+
* Ran node security check on 4/6/2016 with the following output
|
263
|
+
|
264
|
+
$ nsp check
|
265
|
+
(+) No known vulnerabilities found
|
266
|
+
|
267
|
+
1.19.0 / 2016-01-08
|
268
|
+
===================
|
269
|
+
|
270
|
+
* Resolve defered values in predictable order for consistent results.
|
271
|
+
Fixes #265 @elliotttf @markstos
|
272
|
+
|
273
|
+
1.18.0 / 2015-11-17
|
274
|
+
===================
|
275
|
+
|
276
|
+
* More robust handling of JSON @elliotttf
|
277
|
+
|
278
|
+
1.17.1 / 2015-11-17
|
279
|
+
===================
|
280
|
+
|
281
|
+
* Patch release for regex bugfix
|
282
|
+
|
283
|
+
1.17.0 / 2015-11-17
|
284
|
+
===================
|
285
|
+
|
286
|
+
* Update warning about missing configuration files to mention how to disable the warning #245 @markstos
|
287
|
+
* Upgrade to run CI with travis containers @lorenwest
|
288
|
+
* Fixed bug with comments and inline json @elliotttf
|
289
|
+
|
290
|
+
1.16.0 / 2015-09-03
|
291
|
+
===================
|
292
|
+
|
293
|
+
* Change == to === to tighten equality tests #242 @wgpsutherland
|
294
|
+
* Fix attachProtoDeep for setModuleDefaults #243 @benkroeger
|
295
|
+
|
296
|
+
1.15.0 / 2015-07-30
|
297
|
+
===================
|
298
|
+
|
299
|
+
* Added full hostname in addition to first segment @vicary
|
300
|
+
|
301
|
+
1.14.0 / 2015-06-02
|
302
|
+
===================
|
303
|
+
|
304
|
+
* Added JSON parsing to custom environment variables @leachiM2k
|
305
|
+
* Handle unicode BOM characters @johndkane
|
306
|
+
|
307
|
+
1.13.0 / 2015-05-05
|
308
|
+
===================
|
309
|
+
|
310
|
+
* Updated CSON library @dsimidzija
|
311
|
+
|
312
|
+
1.12.0 / 2015-02-19
|
313
|
+
===================
|
314
|
+
|
315
|
+
* Better date merging @axelhzf
|
316
|
+
|
317
|
+
1.11.0 / 2015-01-14
|
318
|
+
===================
|
319
|
+
|
320
|
+
* Added Hjson support @laktak
|
321
|
+
|
322
|
+
1.10.0 / 2015-01-06
|
323
|
+
===================
|
324
|
+
|
325
|
+
* Added TOML support (@jasonhansel)
|
326
|
+
* Another year - changed copyright messages for 2015
|
327
|
+
* Updated contributors list
|
328
|
+
* New Strict Mode added in 1.9.0 is now documented. (@markstos)
|
329
|
+
* has() now returns false when given an undefined or null key to look up. Previously it threw an exception. (@markstos)
|
330
|
+
* When get() is given an undefined or null key to look up, it now throws a more helpful diagnostic (@robludwig, @markstos)
|
331
|
+
|
332
|
+
1.9.0 / 2014-12-08
|
333
|
+
==================
|
334
|
+
|
335
|
+
* New strictness checks have been added to ensure the expected configuration has been loaded. Warnings are now thrown in these cases. If NODE_CONFIG_STRICT_MODE is set, exceptions are thrown instead. (@markstos)
|
336
|
+
* There must be an explicit config file matching `NODE_ENV` if `NODE_ENV` is set.
|
337
|
+
* There must be an explicit config file matching `NODE_APP_INSTANCE` if `NODE_APP_INSTANCE` is set
|
338
|
+
* `NODE_ENV` must not match 'default' or 'local' to avoid ambiguity.
|
339
|
+
|
340
|
+
* Added .iced extension support (@arthanzel)
|
341
|
+
|
342
|
+
* Highlight `config.has()` in the README. Use it to check to if a value exists, since `config.get()`
|
343
|
+
throws exceptions on undefined values. (@markstos)
|
344
|
+
|
345
|
+
* API Change: getConfigSources() now starts to return data on config files that are valid-but-empty. (@markstos)
|
346
|
+
|
347
|
+
1.8.1 / 2014-11-14
|
348
|
+
==================
|
349
|
+
|
350
|
+
* Simplify syntax for defer() functions. The 'this' value in the functions is now bound
|
351
|
+
to the main configuration object, so it doesn't have to be passed into the function. (@markstos)
|
352
|
+
* new defer sub-module introduced in 1.8.0 can now be accessed by require('config/defer')
|
353
|
+
For usage, see: https://github.com/node-config/node-config/wiki/Configuration-Files#javascript-module---js
|
354
|
+
* Add test coverage for array merging cases. (@markstos)
|
355
|
+
* Bump dependency on cson package to 1.6.1 (@markstos)
|
356
|
+
|
357
|
+
1.8.0 / 2014-11-13
|
358
|
+
==================
|
359
|
+
|
360
|
+
* Added deferred function for evaluating configs after load (@markstos)
|
361
|
+
For details, see: https://github.com/node-config/node-config/wiki/Configuration-Files#javascript-module---js
|
362
|
+
* Bumped js-yaml dependency (@markstos)
|
363
|
+
|
364
|
+
1.7.0 / 2014-10-30
|
365
|
+
==================
|
366
|
+
|
367
|
+
* Added variable substitution in .properties files (@ncuillery)
|
368
|
+
|
369
|
+
1.6.0 / 2014-10-22
|
370
|
+
==================
|
371
|
+
|
372
|
+
* Added support for property accessors in configs (@jaylynch)
|
373
|
+
|
374
|
+
1.5.0 / 2014-10-20
|
375
|
+
==================
|
376
|
+
|
377
|
+
* Added support for .json5 config files (@bertrandom)
|
378
|
+
|
379
|
+
1.4.0 / 2014-10-16
|
380
|
+
==================
|
381
|
+
|
382
|
+
* Added support for .properties config files (@superoven)
|
383
|
+
|
384
|
+
1.3.0 / 2014-10-15
|
385
|
+
==================
|
386
|
+
|
387
|
+
* Added support for CSON configuration files (@superoven)
|
388
|
+
|
389
|
+
1.2.4 / 2014-10-10
|
390
|
+
==================
|
391
|
+
|
392
|
+
* Repaired the 1.2.3 fix to work both before and after the first get()
|
393
|
+
|
394
|
+
1.2.3 / 2014-10-03
|
395
|
+
==================
|
396
|
+
|
397
|
+
* Changed test suite to verify a bug in util.setModuleDefaults()
|
398
|
+
* Fixed util.setModuleDefaults() to work after a get() (and pass the new test)
|
399
|
+
|
400
|
+
1.2.2 / 2014-10-03
|
401
|
+
==================
|
402
|
+
|
403
|
+
* Added support for regexp and date configurations (@diversario)
|
404
|
+
|
405
|
+
1.2.1 / 2014-09-23
|
406
|
+
==================
|
407
|
+
|
408
|
+
* Wrote test to prove setModuleDefaults() was broken in 1.2.0
|
409
|
+
* Fixed setModuleDefaults() to not rely on immutable configs
|
410
|
+
|
411
|
+
1.2.0 / 2014-09-15
|
412
|
+
==================
|
413
|
+
|
414
|
+
* Feature release
|
415
|
+
* Delaying immutability until after first get() - for external configs
|
416
|
+
* Allowing immutability override with $ALLOW_CONFIG_MUTATIONS=Y
|
417
|
+
|
418
|
+
|
419
|
+
1.1.1 / 2014-09-03
|
420
|
+
==================
|
421
|
+
|
422
|
+
* @th507 - Update support for Coffee-script >=1.7.0
|
423
|
+
|
424
|
+
1.1.0 / 2014-09-03
|
425
|
+
==================
|
426
|
+
|
427
|
+
* Feature release
|
428
|
+
* @bradboro - Custom environment variables
|
429
|
+
* @supersheep - Catch error when requiring visionmedia yaml module
|
430
|
+
|
431
|
+
1.0.2 / 2014-07-30
|
432
|
+
===================
|
433
|
+
|
434
|
+
* @bradobro - Fixed a variable from leaking into global
|
435
|
+
* @tilfin - Removed un-necessary YAML comment filtering for js-yaml
|
436
|
+
|
437
|
+
1.0.1 / 2014-07-25
|
438
|
+
===================
|
439
|
+
|
440
|
+
* Removed test directory from npm install
|
441
|
+
|
442
|
+
1.0.0 / 2014-07-23
|
443
|
+
===================
|
444
|
+
|
445
|
+
* Major revision. Upgrade notes:
|
446
|
+
https://github.com/node-config/node-config/wiki/Upgrading-From-Config-0.x
|
447
|
+
* Update to semver versioning
|
448
|
+
* Change load ordering
|
449
|
+
from hostname.EXT --> deployment.EXT
|
450
|
+
to deployment.EXT --> hostname.EXT
|
451
|
+
* Allow makeImmutable to accept an array of attributes
|
452
|
+
* Allow makeImmutable to accept no attrs, making all attributes immutable
|
453
|
+
* Allow recursion in makeImmutable, if an attribute is an object
|
454
|
+
* Change node-config behavior to make all configurations immutable
|
455
|
+
* Removed getOriginalConfig as no longer necessary post-immutable
|
456
|
+
* Removed runtime.json file writing and monitoring
|
457
|
+
* Removed previously deprecated $CONFIG_* environment configurations
|
458
|
+
* Deprecated the attribute watch functionality
|
459
|
+
* Added error output if no configurations found
|
460
|
+
* Exposed config loading for alternate configurations
|
461
|
+
* Added config.get() and config.has() methods & tests
|
462
|
+
* Removed reliance on global.NODE_CONFIG so older versions can work with 1.x
|
463
|
+
* Fix empty YAML file causing crash with latest js-yaml
|
464
|
+
* Added SUPPRESS_NO_CONFIG_WARNING for better sub-module support
|
465
|
+
* Moved all documentation [to the wiki](https://github.com/node-config/node-config/wiki).
|
466
|
+
|
467
|
+
0.4.37 / 2014-07-22
|
468
|
+
===================
|
469
|
+
|
470
|
+
* Fix empty YAML file causing crash with latest js-yaml
|
471
|
+
|
472
|
+
0.4.36 / 2014-05-27
|
473
|
+
===================
|
474
|
+
|
475
|
+
* Not writing runtime.json if not used
|
476
|
+
|
477
|
+
0.4.35 / 2014-01-16
|
478
|
+
===================
|
479
|
+
|
480
|
+
* NODE_CONFIG_DIR can now contain a relative path for .js and .coffee configurations
|
481
|
+
|
482
|
+
0.4.34 / 2014-01-06
|
483
|
+
===================
|
484
|
+
|
485
|
+
* Updated copyright year
|
486
|
+
|
487
|
+
0.4.33 / 2013-10-25
|
488
|
+
===================
|
489
|
+
|
490
|
+
* Assure writes to runtime.json are atomic
|
491
|
+
|
492
|
+
0.4.32 / 2013-10-24
|
493
|
+
===================
|
494
|
+
|
495
|
+
* Don't freak out if running without a config directory
|
496
|
+
* Don't be so chatty if runtime.json doesn't exist
|
497
|
+
|
498
|
+
0.4.31 / 2013-10-18
|
499
|
+
===================
|
500
|
+
|
501
|
+
* Changed getConfigSources to copy array vs. object
|
502
|
+
|
503
|
+
0.4.30 / 2013-09-12
|
504
|
+
===================
|
505
|
+
|
506
|
+
* More consistent array extension
|
507
|
+
* No longer requiring a config directory
|
508
|
+
* Not erroneously writing runtime.json
|
509
|
+
* Exposing the original configuration sources
|
510
|
+
* Added --NODE_CONFIG={json} command line overrides
|
511
|
+
* Added $NODE_CONFIG={json} environment variable overrides
|
512
|
+
* Consistent handling of environment variables and command line parameters
|
513
|
+
* Reached 100 regression tests
|
514
|
+
|
515
|
+
0.4.29 / 2013-08-07
|
516
|
+
===================
|
517
|
+
|
518
|
+
* Added flag for disabling the write of runtime.json
|
519
|
+
|
520
|
+
0.4.28 / 2013-07-31
|
521
|
+
===================
|
522
|
+
|
523
|
+
* Eliminated a totally annoying install warning in newer versions of NPM
|
524
|
+
|
525
|
+
0.4.27 / 2013-06-18
|
526
|
+
===================
|
527
|
+
|
528
|
+
* Fixed a bug preventing double underscores in config environment variables
|
529
|
+
|
530
|
+
0.4.26 / 2013-06-10
|
531
|
+
===================
|
532
|
+
|
533
|
+
* Re-watch file on rename (allows editing runtime.json with vi)
|
534
|
+
* Allow runtime.json file watch disable via NODE_CONFIG_DISABLE_FILE_WATCH=Y
|
535
|
+
* Change no yaml parser error message to suggest using js-yaml
|
536
|
+
* Changed default clone depth from 6 to 20 to allow for deeper configurations
|
537
|
+
|
538
|
+
0.4.25 / 2013-05-24
|
539
|
+
===================
|
540
|
+
|
541
|
+
* Dont fail if config directory doesnt exist
|
542
|
+
|
543
|
+
0.4.24 / 2013-04-13
|
544
|
+
===================
|
545
|
+
|
546
|
+
* Added resetRuntime() to reset the runtime.json file
|
547
|
+
* Updated docs to reflect the new public method
|
548
|
+
|
549
|
+
0.4.23 / 2013-04-13
|
550
|
+
===================
|
551
|
+
|
552
|
+
* Multiple application instance support via $NODE_APP_INSTANCE
|
553
|
+
* Multi-app testing & documentation
|
554
|
+
|
555
|
+
0.4.22 / 2013-03-29
|
556
|
+
===================
|
557
|
+
|
558
|
+
* Added configuration $CONFIG_* environment variables
|
559
|
+
* Added $CONFIG_* documentation and tests
|
560
|
+
* Added NodeJS 0.10 integration test
|
561
|
+
|
562
|
+
0.4.21 / 2013-03-06
|
563
|
+
===================
|
564
|
+
|
565
|
+
* Triggering file.watch when an editor saves a file - rename vs. change
|
566
|
+
* Installed Travis-CI continuous integration testing framework
|
567
|
+
|
568
|
+
0.4.20 / 2013-02-21
|
569
|
+
===================
|
570
|
+
|
571
|
+
* Merged _diffDeep fix
|
572
|
+
|
573
|
+
0.4.19 / 2013-02-21
|
574
|
+
===================
|
575
|
+
|
576
|
+
* Added discovery of .yml in addition to .yaml for YAML configs (w/doc)
|
577
|
+
* Added testing of .yml file discovery
|
578
|
+
* Removed licensing inconsistencies
|
579
|
+
|
580
|
+
0.4.18 / 2012-10-30
|
581
|
+
===================
|
582
|
+
|
583
|
+
* Moved coffee-script and js-yaml from optionalDependencies back to
|
584
|
+
devDependencies to trim the install size for those not needing
|
585
|
+
these packages.
|
586
|
+
* Promoted $HOSTNAME and $HOST above OS.hostname()
|
587
|
+
|
588
|
+
0.4.17 / 2012-09-26
|
589
|
+
===================
|
590
|
+
|
591
|
+
* Allow the location of runtime.json to be picked up from the environment
|
592
|
+
* Added documentation for the NODE_CONFIG_RUNTIME_JSON environment variable
|
593
|
+
* package.json cleanup - created optionalDependencies and devDependencies
|
594
|
+
|
595
|
+
0.4.16 / 2012-08-09
|
596
|
+
===================
|
597
|
+
|
598
|
+
* Allowing a zero interval in watchForConfigFileChanges() to disable file watching.
|
599
|
+
* Fixed a comparator bug in _equalsDeep()
|
600
|
+
* Added a test to confirm deep extending array functionality
|
601
|
+
|
602
|
+
0.4.15 / 2012-06-04
|
603
|
+
===================
|
604
|
+
|
605
|
+
* Placed YAML and Coffee-Script libraries back into the download. Still lazy loading into memory.
|
606
|
+
|
607
|
+
0.4.14 / 2012-06-01
|
608
|
+
===================
|
609
|
+
|
610
|
+
* Added the local.EXT and local-deployment.EXT configs.
|
611
|
+
* Removed unnecessary debug output
|
612
|
+
* Added retry logic on file parse to reduce read/write collisions
|
613
|
+
* Added support for a better YAML parser
|
614
|
+
* Fixed problems with null configuration values
|
615
|
+
|
616
|
+
0.4.13 / 2012-04-25
|
617
|
+
===================
|
618
|
+
|
619
|
+
* Assuring the runtime.json file exists. Undocumented fs.watch() requirement.
|
620
|
+
|
621
|
+
0.4.12 / 2012-04-25
|
622
|
+
===================
|
623
|
+
|
624
|
+
* Removed all external dependencies
|
625
|
+
* Lazy loading of yaml and coffee-script only if these file types are used
|
626
|
+
* Added new style file watching if available (retaining pre 6.0 compatibility)
|
627
|
+
* Windows compatibility - file watching changes were required
|
628
|
+
|
629
|
+
0.4.11 / 2012-02-15
|
630
|
+
===================
|
631
|
+
|
632
|
+
* Automatically watching runtime.json for changes
|
633
|
+
* Fixed a date comparison bug during file watching
|
634
|
+
* Changed require('sys') to require('util')
|
635
|
+
|
636
|
+
0.4.10 / 2012-01-18
|
637
|
+
===================
|
638
|
+
|
639
|
+
* Made sure the CONFIG object is a shared singleton
|
640
|
+
* Added NODE_CONFIG_DIR environment variable to point to a different directory
|
641
|
+
* Added tests and documentation for the above
|
642
|
+
|
643
|
+
0.4.9 / 2012-01-06
|
644
|
+
==================
|
645
|
+
|
646
|
+
* Added coffee-script file type support with extension .coffee
|
647
|
+
* Added an example coffee-script configuration file
|
648
|
+
* Added coffee-script module dependency
|
649
|
+
* Added a test for coffee-script configuration files
|
650
|
+
* Documented coffee-script support, regenerated documentation
|
651
|
+
|
652
|
+
0.4.8 / 2011-12-20
|
653
|
+
==================
|
654
|
+
|
655
|
+
* Fixed a bug where changes to module default configs weren't persisted
|
656
|
+
* Added a test to validate the bugfix
|
657
|
+
|
658
|
+
0.4.7 / 2011-12-16
|
659
|
+
==================
|
660
|
+
|
661
|
+
* Created the makeHidden method to hide a property of an object
|
662
|
+
* Added a value argument to makeImmutable for creating new properties
|
663
|
+
* Fixed setModuleDefaults to hide injected prototype methods
|
664
|
+
* Added documentation and unit tests
|
665
|
+
|
666
|
+
0.4.6 / 2011-11-29
|
667
|
+
==================
|
668
|
+
|
669
|
+
* Updated vows from 0.5.8 to 0.5.13
|
670
|
+
|
671
|
+
0.4.5 / 2011-11-16
|
672
|
+
==================
|
673
|
+
|
674
|
+
* Updated YAML dependency from "0.1.x" to ">=0.2.2"
|
675
|
+
* Added stripping of comment-only and whitespace-only lines in YAML files for backward compatibility
|
676
|
+
* Added more tests for YAML edge cases
|
677
|
+
* Added a homepage link in package.json to the online documentation
|
678
|
+
* Added History.md
|
679
|
+
|
680
|
+
0.4.4 / 2011-11-08
|
681
|
+
==================
|
682
|
+
|
683
|
+
* Removed deprecated modules from package.json
|
684
|
+
|
685
|
+
0.4.3 / 2011-08-02
|
686
|
+
==================
|
687
|
+
|
688
|
+
* Made watchForConfigFileChanges public
|
689
|
+
|
690
|
+
0.4.2 / 2011-07-11
|
691
|
+
==================
|
692
|
+
|
693
|
+
* Added comment stripping from JSON configuration files
|
694
|
+
|
695
|
+
0.4.1 / 2011-07-07
|
696
|
+
==================
|
697
|
+
|
698
|
+
* Added more tests
|
699
|
+
* Return the module config in setModuleDefaults
|
700
|
+
|
701
|
+
0.4.0 / 2011-07-06
|
702
|
+
==================
|
703
|
+
|
704
|
+
* Update to version 0.4.0
|
705
|
+
|
706
|
+
* Online documentation
|
707
|
+
* Runtime configuration changes
|
708
|
+
* Configuration value watching
|
709
|
+
* Multi-instance node deployments
|
710
|
+
* Better module developer support
|