app-etc-load
Advanced tools
Comparing version 0.0.2 to 1.0.1
@@ -9,5 +9,7 @@ 'use strict'; | ||
parseALCE = require( 'utils-alce-parse' ), | ||
parseCJSON = require( 'utils-cjson-parse' ), | ||
parseHJSON = require( 'utils-hjson-parse' ), | ||
parseJSON5 = require( 'utils-json5-parse' ), | ||
noop = function noop() {}; | ||
parseProperties = require( 'utils-properties-parse' ), | ||
parseINI = require( 'utils-ini-parse' ); | ||
@@ -19,3 +21,3 @@ | ||
'.json': parseJSON, | ||
'.cjson': noop, | ||
'.cjson': parseCJSON, | ||
'.hjson': parseHJSON, | ||
@@ -27,3 +29,4 @@ '.json5': parseJSON5, | ||
'.yaml': parseYAML, | ||
'.ini': noop | ||
'.properties': parseProperties, | ||
'.ini': parseINI | ||
}; | ||
@@ -30,0 +33,0 @@ |
{ | ||
"name": "app-etc-load", | ||
"version": "0.0.2", | ||
"version": "1.0.1", | ||
"description": "Loads a configuration file.", | ||
@@ -43,3 +43,5 @@ "author": { | ||
"alce", | ||
"hjson" | ||
"hjson", | ||
"json5", | ||
"properties" | ||
], | ||
@@ -51,7 +53,10 @@ "bugs": { | ||
"utils-alce-parse": "^1.0.0", | ||
"utils-cjson-parse": "^1.0.0", | ||
"utils-cwd": "^2.0.0", | ||
"utils-extname": "^1.0.0", | ||
"utils-hjson-parse": "^1.0.0", | ||
"utils-ini-parse": "^1.0.0", | ||
"utils-json-parse": "^1.0.0", | ||
"utils-json5-parse": "^1.0.0", | ||
"utils-properties-parse": "^1.0.0", | ||
"utils-toml-parse": "^1.0.0", | ||
@@ -58,0 +63,0 @@ "utils-yaml-parse": "^1.0.0", |
@@ -42,6 +42,9 @@ Load | ||
* [JSON](https://github.com/kgryte/utils-json-parse): `*.json` | ||
* [CJSON](https://github.com/kgryte/utils-cjson-parse): `*.cjson` | ||
* [HJSON](https://github.com//kgryte/utils-hjson-parse): `*.hjson` | ||
* [JSON5](https://github.com/kgryte/utils-json5-parse): `*.json5` | ||
* [ALCE](https://github.com/kgryte/utils-alce-parse): `*.alce` | ||
* `*.js` | ||
* [INI](https://github.com/kgryte/utils-ini-parse): `*.ini` | ||
* [.properties](https://github.com/kgryte/utils-properties-parse): `*.properties` | ||
* js: `*.js` | ||
@@ -48,0 +51,0 @@ By default, the method infers the file format from the filename extension. To explicitly specify the file format, provide a `fmt` argument. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11554
141
1
179
13
+ Addedutils-cjson-parse@^1.0.0
+ Addedutils-ini-parse@^1.0.0
+ Addedcjson@0.3.3(transitive)
+ Addedconst-max-uint32@1.0.2(transitive)
+ Addedconst-pinf-float64@1.0.0(transitive)
+ Addedjju@1.4.0(transitive)
+ Addedjson-parse-helpfulerror@1.0.3(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedproperties@1.2.1(transitive)
+ Addedregex-regex@1.0.0(transitive)
+ Addedtype-name@1.1.02.0.2(transitive)
+ Addedutils-cjson-parse@1.0.0(transitive)
+ Addedutils-copy@1.1.1(transitive)
+ Addedutils-copy-error@1.0.1(transitive)
+ Addedutils-indexof@1.0.0(transitive)
+ Addedutils-ini-parse@1.0.0(transitive)
+ Addedutils-merge2@1.0.0(transitive)
+ Addedutils-properties-parse@1.0.0(transitive)
+ Addedutils-regex-from-string@1.0.0(transitive)
+ Addedvalidate.io-array@1.0.6(transitive)
+ Addedvalidate.io-array-like@1.0.2(transitive)
+ Addedvalidate.io-boolean-primitive@1.0.0(transitive)
+ Addedvalidate.io-buffer@1.0.2(transitive)
+ Addedvalidate.io-integer@1.0.5(transitive)
+ Addedvalidate.io-integer-primitive@1.0.0(transitive)
+ Addedvalidate.io-nonnegative-integer@1.0.0(transitive)
+ Addedvalidate.io-number@1.0.3(transitive)
+ Addedvalidate.io-number-primitive@1.0.0(transitive)
+ Addedvalidate.io-object@1.0.4(transitive)
+ Addedvalidate.io-positive-integer@1.0.0(transitive)