From e30166b5e3d4daf4d88feb68c98642c16f15616a Mon Sep 17 00:00:00 2001 From: Colin Casey Date: Wed, 27 Sep 2023 12:53:27 -0300 Subject: [PATCH] Preparing for release `5.0.0-rc.0` --- 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 52c240f3..6999c86c 100644 --- a/lib/__tests__/cookieJar.spec.ts +++ b/lib/__tests__/cookieJar.spec.ts @@ -980,7 +980,7 @@ describe('CookieJar', () => { prefixSecurity: 'silent', rejectPublicSuffixes: true, storeType: 'MemoryCookieStore', - version: 'tough-cookie@5.0.0', + version: 'tough-cookie@5.0.0-rc.0', } expect(data).toEqual(expected) }, diff --git a/lib/__tests__/jarSerialization.spec.ts b/lib/__tests__/jarSerialization.spec.ts index cd9c3a33..ff2b3ddc 100644 --- a/lib/__tests__/jarSerialization.spec.ts +++ b/lib/__tests__/jarSerialization.spec.ts @@ -39,7 +39,7 @@ jest.useFakeTimers() describe('cookieJar serialization', () => { it('should use the expected version', () => { - expect(version).toBe('5.0.0') + expect(version).toBe('5.0.0-rc.0') }) 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 aa8cf9b4..7bb77937 100644 --- a/lib/version.ts +++ b/lib/version.ts @@ -1,2 +1,2 @@ // Generated by genversion. -export const version = '5.0.0' +export const version = '5.0.0-rc.0' diff --git a/package-lock.json b/package-lock.json index 167bf701..1e988548 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tough-cookie", - "version": "5.0.0", + "version": "5.0.0-rc.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "tough-cookie", - "version": "5.0.0", + "version": "5.0.0-rc.0", "license": "BSD-3-Clause", "dependencies": { "psl": "^1.1.33", diff --git a/package.json b/package.json index 8809e814..0847efc9 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "RFC6265", "RFC2965" ], - "version": "5.0.0", + "version": "5.0.0-rc.0", "homepage": "https://github.com/salesforce/tough-cookie", "repository": { "type": "git",