Matt Hamann
ca10d0eaf8
Add basic linting rules
2017-10-21 16:01:06 -04:00
Brian Harrington
bfb0220fe1
Remove unused module ( #277 )
...
crypto is no longer used in file.js
2017-10-21 15:47:41 -04:00
Matt Hamann
532ac9cc57
Support parsing simple values from env/argv strings ( #273 )
...
* simple parse, indexzero/nconf#72
* documentation for tryParse option
* Combine JSON parsing and simple parsing
2017-10-21 15:39:16 -04:00
Matt Hamann
b8402d4eab
Enable support for parsing JSON environment variables ( #272 )
...
* Add support for applying JSON string
* only take JSON Object or JSON Array into consideration
* Add tests and make JSON-parsing opt-in
2017-09-27 16:32:26 -04:00
Matt Hamann
f46c449a9e
0.8.5
2017-08-15 23:59:31 -04:00
Matt Hamann
552300a687
[doc] Document lowerCase option in .env(options) ( #268 )
...
- Add missing documentation about the lowerCase option
2017-08-15 23:58:13 -04:00
evoye
5e8a34d6cf
enable use with webpack by removing unnecessary fs call ( #252 )
2017-08-15 23:39:34 -04:00
Chris Manson
608b607782
Add test for merging with defaults ( #255 )
...
* implementing a test for merging with defaults
* bypassing strange common tests
* trying to fix travis build in node 7
* adding node 8 to tests
* removing node 8
2017-08-15 23:37:19 -04:00
Charlie Robbins
0c5774fec7
Merge pull request #211 from vanjan/fix-env-ignore-case
...
Copy `process.env` before lower-casing the keys
2016-08-25 12:48:47 -04:00
Charlie Robbins
011be49a5c
Merge pull request #222 from katacarbix/patch-1
...
Fixed some issues with code escaping in README.md
2016-06-15 05:52:32 -04:00
Charter Jacobson
d70b6a0335
Fixed some issues with code escaping
2016-05-14 14:55:23 -05:00
Jan Klosinski
392c6022c9
Copy process.env
before lower-casing the keys
...
`process.env` is read-only in GitBash (and potentially other consoles),
so the `lowerCase` flag had no effect.
2016-03-01 17:08:35 +00:00
Jarrett Cruger
3d4e589578
[dist] Version bump. 0.8.4
2016-02-03 00:39:12 -08:00
Charlie Robbins
b065c4ccd9
Merge pull request #209 from indexzero/better-DX
...
[fix] handle buffers
2016-02-02 21:46:14 -08:00
Jarrett Cruger
4431c33162
[fix] handle buffers so we dont get ambiguous errors when we dont strictly read the file as utf8
2016-02-02 16:38:48 -08:00
Jarrett Cruger
54cab2059a
[dist] Version bump. 0.8.3
2016-02-01 22:26:12 -08:00
Charlie Robbins
f554382435
Merge pull request #208 from indexzero/clean-secure
...
[fix] cleanup secure with new module
2016-02-02 01:24:49 -05:00
Jarrett Cruger
b447268097
[fix] cleanup secure with new module
2016-02-01 22:21:15 -08:00
Jarrett Cruger
3d4682a62f
Merge pull request #207 from moberemk/patch-1
...
Update README.md
2016-01-27 12:32:26 -05:00
Mark Oberemk
de551d42ec
Update README.md
...
Add basic documentation explaining the `nconf.required` method
2016-01-27 12:29:26 -05:00
Charlie Robbins
4a59c9b577
Merge pull request #191 from wturyn/feature-mandatory-keys
...
Feature: mandatory keys - required() method
2016-01-27 09:20:20 -08:00
Charlie Robbins
e58d55429d
Merge pull request #195 from AdrieanKhisbe/features/improved-ci
...
Improved CI
2015-12-22 14:21:07 -05:00
AdrieanKhisbe
c242f777a6
[travis test] setup coveralls config + update README badges
2015-12-03 08:18:44 +01:00
AdrieanKhisbe
c8dbede0ca
[test] setup istanbul coverage
2015-12-03 08:03:12 +01:00
AdrieanKhisbe
bdecdc29cf
[travis] add v5 to node version tested
2015-12-03 07:48:52 +01:00
Wojtek Turyn
5d6e236b73
fixed
2015-10-15 10:44:26 +02:00
Wojtek Turyn
37a84ae8df
required() method
2015-10-15 10:16:33 +02:00
indexzero
ddee9bc8f5
[dist] Version bump. 0.8.2
2015-10-07 15:32:55 -04:00
indexzero
86bfd7c5bc
[fix] Do not trim \n
from files read in.
2015-10-07 15:31:53 -04:00
indexzero
ff0f174520
[dist] Version bump. 0.8.1
2015-10-02 01:01:20 -07:00
indexzero
11b2448471
[fix] Correct property path. Trim read secret keys from disk.
2015-10-02 01:00:55 -07:00
indexzero
438a2c8ef5
[doc] Remove node@0.8.0
from travis. Drop nodeci
because it is 503 atm`.
2015-09-21 17:11:52 -07:00
indexzero
ebd8e48342
[dist] Version bump. 0.8.0
2015-09-20 01:39:50 -07:00
indexzero
be085c9ad5
[doc] Update CHANGELOG.md.
2015-09-20 01:39:41 -07:00
indexzero
0922563593
[doc fix] Remove unused and outdated literate coding documentation.
2015-09-20 01:37:09 -07:00
Charlie Robbins
e503718468
Merge pull request #186 from indexzero/fix-redis
...
Fix some minor consistency issues in Redis
2015-09-20 01:14:43 -07:00
Charlie Robbins
d4ebf49908
Merge pull request #185 from indexzero/crypto
...
[wip] Allow for "secure" option to be passed to `nconf.stores.File`
2015-09-20 01:13:26 -07:00
indexzero
4b5030dbc2
[fix] Only merge actual objects, not null
values. Fixes #150 .
2015-09-20 01:10:37 -07:00
Rob Rodriguez
a3589fab95
Fixing provider issue in source
2015-09-20 01:08:45 -07:00
Rob Rodriguez
51653e6486
Passing the value parameter to the providers
...
The nconf-redis provider needs the value for some reason, if its absent
this call will fail. It should be there anyway.
2015-09-20 01:07:21 -07:00
indexzero
2030144d88
[test dist] Add test/fixtures/secure.json
.
2015-09-20 00:36:49 -07:00
indexzero
9dbed2d2cd
[doc minor] Update docs for secure information.
2015-09-20 00:34:44 -07:00
indexzero
0358545ae5
[test api] Make the format capable of sub-objects.
2015-09-20 00:26:34 -07:00
indexzero
04c0f3a001
[api test] Encrypt individual keys instead of entire stringified contents. Added basic unit tests.
2015-09-19 00:12:50 -07:00
indexzero
d2b3561e09
[dist] Update .travis.yml
.
2015-09-18 20:55:39 -07:00
indexzero
442d2b4233
[api] Allow for secure
to be simply a secret string.
2015-09-18 20:52:16 -07:00
indexzero
2de2bc0b66
[api] Allow for "secure" option to be passed to nconf.stores.File
to perform content encryption / decryption with crypto.createCipher
.
2015-09-18 20:52:16 -07:00
Jarrett Cruger
4c07028e40
Merge pull request #173 from NickHeiner/patch-2
...
Quick grammar fix
2015-09-17 18:49:48 -07:00
Jarrett Cruger
75cea11f62
Merge pull request #163 from pgilad/patch-1
...
Add license attribute
2015-09-17 18:47:11 -07:00
Jarrett Cruger
394286cd16
Merge pull request #172 from Oza94/fix-child-process-tests
...
fix random fails on tests that use child process
2015-09-17 18:46:57 -07:00