Skip to content

Commit

Permalink
Merge pull request #28 from DyegoMaas/dependabot/npm_and_yarn/js-yaml…
Browse files Browse the repository at this point in the history
…-4.0.0

Bump js-yaml from 3.14.0 to 4.0.0
  • Loading branch information
DyegoMaas committed Mar 16, 2021
2 parents 1b53ed3 + 6218ef5 commit 3015037
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 17 deletions.
45 changes: 32 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -36,7 +36,7 @@
"execa": "^5.0.0",
"gluegun": "latest",
"istextorbinary": "^5.12.0",
"js-yaml": "^3.14.0",
"js-yaml": "^4.0.0",
"mustache": "^4.0.1",
"rimraf": "^3.0.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/replication/replication-process.js
Expand Up @@ -43,7 +43,7 @@ const decomposeTemplateFile = (filePath, toolbox) => {
const content = readFile(filePath)
let parts = content.split('---\n')
return {
header: yaml.safeLoad(parts[1]),
header: yaml.load(parts[1]),
content: parts[2].trimEnd()
}
}
Expand Down
2 changes: 1 addition & 1 deletion test-infrasctructure/replication.ts
Expand Up @@ -70,7 +70,7 @@ const readTemplateFileHeader = async (recipe, fileName) => {
if (dividerCount == 2) break
}
fileStream.close()
return yaml.safeLoad(header)
return yaml.load(header)
}

const readFileDiscardingHeader = fullPath => {
Expand Down
14 changes: 13 additions & 1 deletion yarn.lock
Expand Up @@ -580,6 +580,11 @@ argparse@^1.0.7:
dependencies:
sprintf-js "~1.0.2"

argparse@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==

arr-diff@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520"
Expand Down Expand Up @@ -2369,14 +2374,21 @@ jest@^24.1.0:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==

js-yaml@^3.13.1, js-yaml@^3.14.0:
js-yaml@^3.13.1:
version "3.14.0"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482"
integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==
dependencies:
argparse "^1.0.7"
esprima "^4.0.0"

js-yaml@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.0.0.tgz#f426bc0ff4b4051926cd588c71113183409a121f"
integrity sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==
dependencies:
argparse "^2.0.1"

jsbn@~0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
Expand Down

0 comments on commit 3015037

Please sign in to comment.