From 57b534cc524b9c7a0fc77b53985ba6e1c1f7678d Mon Sep 17 00:00:00 2001 From: Colin Casey Date: Mon, 9 Sep 2024 13:09:41 -0300 Subject: [PATCH 1/2] 5.0.0 --- lib/version.ts | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/version.ts b/lib/version.ts index 15e909b5..1e97e9c3 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.4' +export const version = '5.0.0' diff --git a/package-lock.json b/package-lock.json index c7067787..801fc85d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tough-cookie", - "version": "5.0.0-rc.4", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tough-cookie", - "version": "5.0.0-rc.4", + "version": "5.0.0", "license": "BSD-3-Clause", "dependencies": { "tldts": "^6.1.32" diff --git a/package.json b/package.json index 59c58655..49bf0cfa 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "RFC6265", "RFC2965" ], - "version": "5.0.0-rc.4", + "version": "5.0.0", "homepage": "https://github.com/salesforce/tough-cookie", "repository": { "type": "git", From cbaa1a5f3b77ff9b841f0a4d2e2468d21636118e Mon Sep 17 00:00:00 2001 From: Colin Casey Date: Mon, 9 Sep 2024 13:14:17 -0300 Subject: [PATCH 2/2] Prepare v5 release --- api/docs/tough-cookie.version.md | 2 +- api/tough-cookie.api.md | 2 +- lib/__tests__/cookieJar.spec.ts | 2 +- lib/__tests__/jarSerialization.spec.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/docs/tough-cookie.version.md b/api/docs/tough-cookie.version.md index 1b053e7c..e6361119 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.4" +version = "5.0.0" ``` diff --git a/api/tough-cookie.api.md b/api/tough-cookie.api.md index b25c62fe..a0409531 100644 --- a/api/tough-cookie.api.md +++ b/api/tough-cookie.api.md @@ -298,7 +298,7 @@ export class Store { } // @public -export const version = "5.0.0-rc.4"; +export const version = "5.0.0"; // (No @packageDocumentation comment for this package) diff --git a/lib/__tests__/cookieJar.spec.ts b/lib/__tests__/cookieJar.spec.ts index 2407293b..7997ad24 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.4', + version: 'tough-cookie@5.0.0', } expect(data).toEqual(expected) }, diff --git a/lib/__tests__/jarSerialization.spec.ts b/lib/__tests__/jarSerialization.spec.ts index 1ad8b249..32dc733e 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.4') + expect(version).toBe('5.0.0') }) it('should provide the list of serialized properties available for a Cookie with `Cookie.serializableProperties`', () => {