Skip to content

Commit

Permalink
chore(deps): bump js-yaml from 3.14.1 to 4.1.0 (#136)
Browse files Browse the repository at this point in the history
* chore(deps): bump js-yaml from 3.14.1 to 4.1.0

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 4.1.0.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.14.1...4.1.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* update

* fix: new js-yaml syntax

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shazron Abdullah <36107+shazron@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and shazron authored Aug 15, 2023
1 parent 154c992 commit 1ddfb02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"execa": "^4.0.3",
"fs-extra": "^9.0.1",
"globby": "^11.0.1",
"js-yaml": "^3.14.0",
"js-yaml": "^4.1.0",
"lodash.clonedeep": "^4.5.0",
"openwhisk": "^3.21.6",
"openwhisk-fqn": "0.0.2",
Expand All @@ -37,7 +37,7 @@
"codecov": "^3.5.0",
"dotenv": "^16.3.1",
"eol": "^0.9.1",
"eslint": "^8.46.0",
"eslint": "^8.47.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^27.2.3",
Expand Down
4 changes: 2 additions & 2 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1373,13 +1373,13 @@ function setPaths (flags = {}) {
let deploymentTriggers = {}
let deploymentProjectName = ''
if (deploymentPath) {
const deployment = yaml.safeLoad(fs.readFileSync(deploymentPath, 'utf8'))
const deployment = yaml.load(fs.readFileSync(deploymentPath, 'utf8'))
deploymentProjectName = deployment.project.name || ''
deploymentPackages = deployment.project.packages
deploymentTriggers = returnDeploymentTriggerInputs(deploymentPackages)
}

const manifest = yaml.safeLoad(fs.readFileSync(manifestPath, 'utf8'))
const manifest = yaml.load(fs.readFileSync(manifestPath, 'utf8'))
let packages
let projectName = ''
if (manifest.project) {
Expand Down

0 comments on commit 1ddfb02

Please sign in to comment.