From c7e276cb6f71efb1fa2b281d78c5de40fa6ec119 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Mon, 19 Dec 2022 15:21:27 -0500 Subject: [PATCH 1/2] Update parser version --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2b1152f..67db551 100644 --- a/package-lock.json +++ b/package-lock.json @@ -701,9 +701,9 @@ "link": true }, "node_modules/@github/actions-workflow-parser": { - "version": "0.0.36", - "resolved": "https://npm.pkg.github.com/download/@github/actions-workflow-parser/0.0.36/f27b908936efa949a105d7192dd3787a15094d71", - "integrity": "sha512-ATResf0PCT/bftJgs2ROAo0gDMIKQ1X0HcB4GejuYTcyHxWfvC44EqvFZmMpurV4Camht20bqK3LSY4NoJ0aVQ==", + "version": "0.0.37", + "resolved": "https://npm.pkg.github.com/download/@github/actions-workflow-parser/0.0.37/4211d8ace6c443c5af3c0d3e5da031384242142c", + "integrity": "sha512-LW8Axm1Rus6sedifxDlXWfSPcgrDmYJW7jdTO27qSbwv13vu20xd3VTdlshMMV4g6IcC0u6Zw7NaV3qT2C77GQ==", "license": "MIT", "dependencies": { "@github/actions-expressions": "*", @@ -13539,9 +13539,9 @@ } }, "@github/actions-workflow-parser": { - "version": "0.0.36", - "resolved": "https://npm.pkg.github.com/download/@github/actions-workflow-parser/0.0.36/f27b908936efa949a105d7192dd3787a15094d71", - "integrity": "sha512-ATResf0PCT/bftJgs2ROAo0gDMIKQ1X0HcB4GejuYTcyHxWfvC44EqvFZmMpurV4Camht20bqK3LSY4NoJ0aVQ==", + "version": "0.0.37", + "resolved": "https://npm.pkg.github.com/download/@github/actions-workflow-parser/0.0.37/4211d8ace6c443c5af3c0d3e5da031384242142c", + "integrity": "sha512-LW8Axm1Rus6sedifxDlXWfSPcgrDmYJW7jdTO27qSbwv13vu20xd3VTdlshMMV4g6IcC0u6Zw7NaV3qT2C77GQ==", "requires": { "@github/actions-expressions": "*", "yaml": "^2.0.0-8" From cdf5b5e04e1f9143ce972ed3600bdbd9330a6f7b Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Mon, 19 Dec 2022 15:29:35 -0500 Subject: [PATCH 2/2] Fix invalid YAML in test --- actions-languageservice/src/utils/find-token.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions-languageservice/src/utils/find-token.test.ts b/actions-languageservice/src/utils/find-token.test.ts index f79e561..c694311 100644 --- a/actions-languageservice/src/utils/find-token.test.ts +++ b/actions-languageservice/src/utils/find-token.test.ts @@ -139,7 +139,7 @@ describe("find-token", () => { testFindToken(`on: push jobs: build: - runs-on: [ubuntu-latest, self|`) + runs-on: [ubuntu-latest, self|]`) ).toEqual({ path: [ ["workflow-root-strict", TokenType.Mapping],