From 67e7958d7e865e72be284d6a15b423a02f7dd206 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 18:47:26 +0000 Subject: [PATCH 1/2] Bump yaml from 2.5.0 to 2.5.1 in the npm-production group Bumps the npm-production group with 1 update: [yaml](https://github.com/eemeli/yaml). Updates `yaml` from 2.5.0 to 2.5.1 - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](https://github.com/eemeli/yaml/compare/v2.5.0...v2.5.1) --- updated-dependencies: - dependency-name: yaml dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-production ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index d16e181..759c51c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@actions/exec": "^1.1.1", "@actions/github": "^6.0.0", "is-docker": "^3.0.0", - "yaml": "^2.5.0" + "yaml": "^2.5.1" }, "devDependencies": { "@babel/core": "^7.25.2", @@ -10219,9 +10219,9 @@ "dev": true }, "node_modules/yaml": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz", - "integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz", + "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==", "bin": { "yaml": "bin.mjs" }, diff --git a/package.json b/package.json index 8eee335..8d998d6 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "@actions/exec": "^1.1.1", "@actions/github": "^6.0.0", "is-docker": "^3.0.0", - "yaml": "^2.5.0" + "yaml": "^2.5.1" }, "devDependencies": { "@babel/core": "^7.25.2", From 14a43fbca25ca642bdccc43dd3aee699fcfc788d Mon Sep 17 00:00:00 2001 From: Abhishek Anand Date: Tue, 10 Sep 2024 11:37:50 +0530 Subject: [PATCH 2/2] regenerated dist after dependabot update --- dist/index.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 13e04e0..abe20e9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -134378,6 +134378,8 @@ function resolveFlowCollection({ composeNode, composeEmptyNode }, ctx, fc, onErr const map = new YAMLMap.YAMLMap(ctx.schema); map.flow = true; map.items.push(pair); + const endRange = (valueNode ?? keyNode).range; + map.range = [keyNode.range[0], endRange[1], endRange[2]]; coll.items.push(map); } offset = valueNode ? valueNode.range[2] : valueProps.end; @@ -134510,7 +134512,7 @@ function foldLines(source) { first = new RegExp('(.*?)(?