From 72ed3f0554481dcf67be636b46e65c670a879ade Mon Sep 17 00:00:00 2001 From: Colin Casey Date: Thu, 16 May 2024 14:25:55 -0300 Subject: [PATCH 1/4] Preparing for release 5.0.0-rc.2 --- lib/__tests__/cookieJar.spec.ts | 2 +- lib/__tests__/jarSerialization.spec.ts | 2 +- lib/version.ts | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/__tests__/cookieJar.spec.ts b/lib/__tests__/cookieJar.spec.ts index 8ca6fae1..cc1d52e4 100644 --- a/lib/__tests__/cookieJar.spec.ts +++ b/lib/__tests__/cookieJar.spec.ts @@ -977,7 +977,7 @@ describe('CookieJar', () => { prefixSecurity: 'silent', rejectPublicSuffixes: true, storeType: 'MemoryCookieStore', - version: 'tough-cookie@5.0.0-rc.1', + version: 'tough-cookie@5.0.0-rc.2', } expect(data).toEqual(expected) }, diff --git a/lib/__tests__/jarSerialization.spec.ts b/lib/__tests__/jarSerialization.spec.ts index b22ce29c..b0dc07bb 100644 --- a/lib/__tests__/jarSerialization.spec.ts +++ b/lib/__tests__/jarSerialization.spec.ts @@ -37,7 +37,7 @@ import { version } from '../version' describe('cookieJar serialization', () => { it('should use the expected version', () => { - expect(version).toBe('5.0.0-rc.1') + expect(version).toBe('5.0.0-rc.2') }) it('should provide the list of serialized properties available for a Cookie with `Cookie.serializableProperties`', () => { diff --git a/lib/version.ts b/lib/version.ts index 7f37283c..20cc2e8d 100644 --- a/lib/version.ts +++ b/lib/version.ts @@ -2,4 +2,4 @@ * The version of `tough-cookie` * @public */ -export const version = '5.0.0-rc.1' +export const version = '5.0.0-rc.2' diff --git a/package-lock.json b/package-lock.json index bdddb0bd..bc101224 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tough-cookie", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tough-cookie", - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "license": "BSD-3-Clause", "dependencies": { "punycode": "^2.3.1", diff --git a/package.json b/package.json index ca662591..5217194c 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "RFC6265", "RFC2965" ], - "version": "5.0.0-rc.1", + "version": "5.0.0-rc.2", "homepage": "https://github.com/salesforce/tough-cookie", "repository": { "type": "git", From 5d19d46353a3eaf913cb367e1c10f30b693f587b Mon Sep 17 00:00:00 2001 From: Colin Casey Date: Thu, 16 May 2024 15:09:41 -0300 Subject: [PATCH 2/4] Preparing for release 5.0.0-rc.2 --- api/tough-cookie.api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tough-cookie.api.md b/api/tough-cookie.api.md index fccfc150..4d2dcd6c 100644 --- a/api/tough-cookie.api.md +++ b/api/tough-cookie.api.md @@ -299,7 +299,7 @@ export class Store { } // @public -export const version = "5.0.0-rc.1"; +export const version = "5.0.0-rc.2"; // (No @packageDocumentation comment for this package) From 0a207e1bdde027615faeb3c6d87ff0a34192030e Mon Sep 17 00:00:00 2001 From: Colin Casey Date: Thu, 16 May 2024 15:18:02 -0300 Subject: [PATCH 3/4] Preparing for release 5.0.0-rc.2 --- .github/workflows/integration.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 7eb3876c..d253a0c5 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -69,14 +69,14 @@ jobs: - name: Ensure API and doc changes have been committed run: | git add --renormalize . - if (( "$(git diff --ignore-space-at-eol --ignore-cr-at-eol | wc -l)" != 0 )); then + if (( "$(git diff HEAD --ignore-space-at-eol --ignore-cr-at-eol | wc -l)" != 0 )); then cat << EOF >> $GITHUB_STEP_SUMMARY ### Detected uncommitted changes \`\`\`shell - $(git diff) + $(git diff HEAD) \`\`\` EOF - git diff + git diff HEAD exit 1 fi From 73739e5b126edf9c0e22eca168728a75e4d09dd6 Mon Sep 17 00:00:00 2001 From: Colin Casey Date: Thu, 16 May 2024 15:31:05 -0300 Subject: [PATCH 4/4] Preparing for release 5.0.0-rc.2 --- api/docs/tough-cookie.version.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/docs/tough-cookie.version.md b/api/docs/tough-cookie.version.md index bac8d963..dffa7317 100644 --- a/api/docs/tough-cookie.version.md +++ b/api/docs/tough-cookie.version.md @@ -9,5 +9,5 @@ The version of `tough-cookie` **Signature:** ```typescript -version = "5.0.0-rc.1" +version = "5.0.0-rc.2" ```