Skip to content

Commit

Permalink
Merge pull request #5 from ponycode/dependencyUpdates
Browse files Browse the repository at this point in the history
Dependency Updates, dropping explicit support for older versions of node
  • Loading branch information
Scott Eklund committed Apr 15, 2020
2 parents 1839fc9 + 73e44e6 commit 0f12c45
Show file tree
Hide file tree
Showing 8 changed files with 2,824 additions and 70 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
@@ -1 +1,2 @@
service_name: travis-ci
repo_token: VOCfuWDuHvlaOoiSA9Dg55E7D3dYRlMZM
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -12,4 +12,4 @@ index.js.BASE.6404.js
index.js.LOCAL.6404.js
index.js.REMOTE.6404.js
coverage
/package-lock.json
/.nyc_output
8 changes: 5 additions & 3 deletions .travis.yml
@@ -1,6 +1,8 @@
language: node_js
node_js:
- "0"
- "node"
- "7"
- "5"
- "10"
- "12"
script:
- npm run static
- npm run test
52 changes: 0 additions & 52 deletions Gruntfile.js

This file was deleted.

4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -211,7 +211,7 @@
*/
Config.prototype.when = function( environments ){
this._whenEnvironments = arrayWrap.wrap( environments );
if( !this._options.caseSensitiveEnvironments ) this._whenEnvironments = _.map( this._whenEnvironments, function( e ){ return e.toUpperCase() });
if( !this._options.caseSensitiveEnvironments ) this._whenEnvironments = _.map( this._whenEnvironments, function( e ){ return e.toUpperCase(); });
return this;
};

Expand Down Expand Up @@ -384,7 +384,7 @@
var flagsComponent = flags;
var parameterComponent = null;

var parameterMatch = flags.match(/(^[^\[\<]*)(\[.*\])|(\<.*\>)/);
var parameterMatch = flags.match(/(^[^\[<]*)(\[.*\])|(<.*>)/);
if( parameterMatch ){
flagsComponent = parameterMatch[1];
parameterComponent = parameterMatch[2];
Expand Down
2 changes: 1 addition & 1 deletion lib/ConfigStore.js
Expand Up @@ -37,7 +37,7 @@

_.forOwn( object, function( value, key ){
if( _.isObject( value ) ){
_freezeObject( value )
_freezeObject( value );
}else if( _.isArray( value ) ){
_.each( value, function( val ){
_freezeObject( value );
Expand Down

0 comments on commit 0f12c45

Please sign in to comment.