diff --git a/test/__fixtures/pulls.json b/test/__fixtures/pulls.json index 0d570aa..57ca628 100644 --- a/test/__fixtures/pulls.json +++ b/test/__fixtures/pulls.json @@ -17,7 +17,7 @@ "number": 1017, "state": "open", "locked": false, - "title": "[Snyk] Upgrade fontfaceobserver from 2.1.0 to 2.3.0", + "title": "[Snyk] Security upgrade fontfaceobserver from 2.1.0 to 2.3.0", "user": { "login": "13it235", "id": 15324245, @@ -38,7 +38,7 @@ "type": "User", "site_admin": false }, - "body": "

Snyk has created this PR to upgrade fontfaceobserver from 2.1.0 to 2.3.0.

\n\nAs this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
\n:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.\n
\n\n- The recommended version is **2 versions** ahead of your current version.\n- The recommended version was released **10 months ago**, on 2022-05-16.\n\n\n
\nRelease notes\n
\n
\n Package name: fontfaceobserver\n \n from fontfaceobserver GitHub release notes\n
\n
\n\n\n
\n Commit messages\n
\n
\n Package name: fontfaceobserver\n \n\n Compare\n
\n
\n
\n\n**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.*\n\nFor more information: \n\nšŸ§ [View latest project report](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad?utm_source=github&utm_medium=referral&page=upgrade-pr)\n\nšŸ›  [Adjust upgrade PR settings](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)\n\nšŸ”• [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad/settings/integration?pkg=fontfaceobserver&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)\n\n\n", + "body": "

Snyk has created this PR to upgrade fontfaceobserver from 2.1.0 to 2.3.0.

\n\nAs this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
\n:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.\n
\n\n- The recommended version is **2 versions** ahead of your current version.\n- The recommended version was released **10 months ago**, on 2022-05-16.\n\n\n
\nRelease notes\n
\n
\n Package name: fontfaceobserver\n \n from fontfaceobserver GitHub release notes\n
\n
\n\n\n
\n Commit messages\n
\n
\n Package name: fontfaceobserver\n \n\n Compare\n
\n
\n
\n\n**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.*\n\nFor more information: \n\nšŸ§ [View latest project report](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad?utm_source=github&utm_medium=referral&page=upgrade-pr)\n\nšŸ›  [Adjust upgrade PR settings](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)\n\nšŸ”• [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad/settings/integration?pkg=fontfaceobserver&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)\n\n\n", "created_at": "2023-03-25T02:12:07Z", "updated_at": "2023-03-25T02:12:22Z", "closed_at": null, @@ -471,7 +471,7 @@ "number": 1015, "state": "open", "locked": false, - "title": "[Snyk] Upgrade node-fetch from 2.6.7 to 2.6.9", + "title": "[Snyk] Security upgrade node-fetch from 2.6.7 to 2.6.9", "user": { "login": "13it235", "id": 15324245, @@ -925,7 +925,7 @@ "number": 1016, "state": "open", "locked": false, - "title": "[Snyk] Upgrade fs-extra from 10.0.0 to 11.0.0", + "title": "[Snyk] Security upgrade fs-extra from 10.0.0 to 11.0.0", "user": { "login": "13it235", "id": 15324245, @@ -946,7 +946,7 @@ "type": "User", "site_admin": false }, - "body": "

Snyk has created this PR to upgrade fs-extra from 10.0.0 to 11.0.0.

\n\nAs this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
\n:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.\n
\n\n- The recommended version is **2 versions** ahead of your current version.\n- The recommended version was released **a year ago**, on 2022-04-16.\n\n\n
\nRelease notes\n
\n
\n Package name: fs-extra\n \n from fs-extra GitHub release notes\n
\n
\n\n\n
\n Commit messages\n
\n
\n Package name: fs-extra\n \n\n Compare\n
\n
\n
\n\n**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.*\n\nFor more information: \n\nšŸ§ [View latest project report](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad?utm_source=github&utm_medium=referral&page=upgrade-pr)\n\nšŸ›  [Adjust upgrade PR settings](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)\n\nšŸ”• [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad/settings/integration?pkg=fs-extra&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)\n\n\n", + "body": "

Snyk has created this PR to upgrade fs-extra from 10.0.0 to 11.0.0.

\n\nAs this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
\n:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.\n
\n\n- The recommended version is **2 versions** ahead of your current version.\n- The recommended version was released **a year ago**, on 2022-04-16.\n\n\n
\nRelease notes\n
\n
\n Package name: fs-extra\n \n from fs-extra GitHub release notes\n
\n
\n\n\n
\n Commit messages\n
\n
\n Package name: fs-extra\n \n\n Compare\n
\n
\n
\n\n**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.*\n\nFor more information: \n\nšŸ§ [View latest project report](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad?utm_source=github&utm_medium=referral&page=upgrade-pr)\n\nšŸ›  [Adjust upgrade PR settings](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)\n\nšŸ”• [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/martech-jgn/project/9c77410d-af00-41f8-b3fd-09f20e1946ad/settings/integration?pkg=fs-extra&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)\n\n\n", "created_at": "2023-03-25T02:12:02Z", "updated_at": "2023-03-25T02:12:17Z", "closed_at": null, diff --git a/test/run.spec.ts b/test/run.spec.ts index 4f26c62..c5a7997 100644 --- a/test/run.spec.ts +++ b/test/run.spec.ts @@ -95,9 +95,9 @@ describe("snyk-pr-action", () => { }); // Use the following PR mocks as: - // #1017: [Snyk] Upgrade fontfaceobserver from 2.1.0 to 2.3.0 - // #1016: [Snyk] Upgrade fs-extra from 10.0.0 to 11.0.0 - // #1015: [Snyk] Upgrade node-fetch from 2.6.7 to 2.6.9 + // #1017: [Snyk] Security upgrade dd-trace from 0.30.6 to 1.2.0 + // #1016: [Snyk] Security upgrade fs-extra from 10.0.0 to 11.0.0 + // #1015: [Snyk] Security upgrade node-fetch from 2.6.7 to 2.6.9 const { nockDone } = await nockBack("pulls.json"); await run(); nockDone(); @@ -230,7 +230,7 @@ describe("snyk-pr-action", () => { "condenast", "journey-purchase", 1017, - "[Snyk] Upgrade fontfaceobserver from 2.1.0 to 2.3.0" + "[Snyk] Security upgrade fontfaceobserver from 2.1.0 to 2.3.0" ); expect(tryAutoMergePR).toHaveBeenNthCalledWith( 2, @@ -238,7 +238,7 @@ describe("snyk-pr-action", () => { "condenast", "journey-purchase", 1015, - "[Snyk] Upgrade node-fetch from 2.6.7 to 2.6.9" + "[Snyk] Security upgrade node-fetch from 2.6.7 to 2.6.9" ); });