Comparing version 0.6.1 to 0.6.2
{ | ||
"name": "app-conf", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"license": "ISC", | ||
@@ -25,2 +25,3 @@ "author": "Julien Fontanet <julien.fontanet@isonoe.net> (http://julien.isonoe.net/)", | ||
"dependencies": { | ||
"debug": "^4.1.0", | ||
"glob": "^7.1.3", | ||
@@ -42,2 +43,3 @@ "lodash": "^4.17.11", | ||
"jest": "^23.6.0", | ||
"lint-staged": "^8.1.0", | ||
"mock-fs": "^4.7.0", | ||
@@ -49,3 +51,2 @@ "prettier": "^1.15.2", | ||
"dev-test": "jest --bail --watch", | ||
"pretest": "eslint --ignore-path .gitignore --fix .", | ||
"test": "jest" | ||
@@ -55,3 +56,3 @@ }, | ||
"hooks": { | ||
"commit-msg": "npm test" | ||
"pre-commit": "lint-staged" | ||
} | ||
@@ -63,3 +64,10 @@ }, | ||
"testRegex": "\\.spec\\.js$" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier --write", | ||
"git add", | ||
"eslint --ignore-pattern '!*'" | ||
] | ||
} | ||
} |
@@ -10,2 +10,3 @@ "use strict"; | ||
try { | ||
// eslint-disable-next-line node/no-extraneous-require | ||
return require("json5").parse; | ||
@@ -15,2 +16,3 @@ } catch (_) {} | ||
try { | ||
// eslint-disable-next-line node/no-extraneous-require | ||
const stripJsonComments = require("strip-json-comments"); | ||
@@ -53,2 +55,3 @@ return function parseJson(json) { | ||
try { | ||
// eslint-disable-next-line node/no-missing-require | ||
const ini = require("ini"); | ||
@@ -70,3 +73,4 @@ | ||
try { | ||
const { parse, stringify } = require('@iarna/toml') | ||
// eslint-disable-next-line node/no-missing-require | ||
const { parse, stringify } = require("@iarna/toml"); | ||
@@ -77,3 +81,3 @@ serializers.toml = { | ||
unserialize: ({ content }) => parse(String(content)), | ||
} | ||
}; | ||
} catch (error) {} | ||
@@ -83,2 +87,3 @@ | ||
try { | ||
// eslint-disable-next-line node/no-extraneous-require | ||
const yaml = require("js-yaml"); | ||
@@ -85,0 +90,0 @@ |
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
11613
264
6
13
+ Addeddebug@^4.1.0
+ Addeddebug@4.3.7(transitive)
+ Addedms@2.1.3(transitive)