yaml-boost
Advanced tools
Comparing version 1.10.3 to 1.10.4
@@ -36,3 +36,3 @@ "use strict"; | ||
newRelDir = path.dirname(filePath); | ||
loaded = filePath.endsWith('.yml') || filePath.endsWith('.yaml') ? yaml.safeLoad(fs.readFileSync(filePath, 'utf8')) // eslint-disable-next-line global-require, import/no-dynamic-require | ||
loaded = filePath.endsWith('.yml') || filePath.endsWith('.yaml') ? yaml.load(fs.readFileSync(filePath, 'utf8')) // eslint-disable-next-line global-require, import/no-dynamic-require | ||
: require(filePath); | ||
@@ -65,3 +65,3 @@ | ||
const dirname = path.dirname(refPath); | ||
return loadRecursive(dirname, dirname, yaml.safeLoad(content), vars); | ||
return loadRecursive(dirname, dirname, yaml.load(content), vars); | ||
}; | ||
@@ -68,0 +68,0 @@ |
{ | ||
"name": "yaml-boost", | ||
"version": "1.10.3", | ||
"version": "1.10.4", | ||
"description": "Yaml Parser with additional functionality.", | ||
@@ -37,8 +37,9 @@ "main": "lib/index.js", | ||
"@babel/register": "7.12.10", | ||
"@blackflux/eslint-plugin-rules": "1.3.42", | ||
"@blackflux/robo-config-plugin": "3.10.15", | ||
"@blackflux/eslint-plugin-rules": "1.3.43", | ||
"@blackflux/robo-config-plugin": "3.10.17", | ||
"babel-eslint": "10.1.0", | ||
"babel-preset-latest-node": "5.2.0", | ||
"chai": "4.2.0", | ||
"coveralls": "3.1.0", | ||
"eslint": "7.15.0", | ||
"eslint": "7.17.0", | ||
"eslint-config-airbnb-base": "14.2.1", | ||
@@ -49,6 +50,5 @@ "eslint-plugin-import": "2.22.1", | ||
"eslint-plugin-mocha": "8.0.0", | ||
"js-gardener": "2.0.181", | ||
"js-gardener": "2.0.182", | ||
"nyc": "15.1.0", | ||
"semantic-release": "17.3.0", | ||
"babel-preset-latest-node": "5.2.0" | ||
"semantic-release": "17.3.1" | ||
}, | ||
@@ -76,3 +76,3 @@ "keywords": [ | ||
"dependencies": { | ||
"js-yaml": "3.14.1", | ||
"js-yaml": "4.0.0", | ||
"lodash.get": "4.4.2", | ||
@@ -79,0 +79,0 @@ "lodash.mergewith": "4.6.2", |
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
10371
+ Addedargparse@2.0.1(transitive)
+ Addedjs-yaml@4.0.0(transitive)
- Removedargparse@1.0.10(transitive)
- Removedesprima@4.0.1(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
Updatedjs-yaml@4.0.0