From 6886d47b6407ddccd9eac52db8edd9e6346544c0 Mon Sep 17 00:00:00 2001 From: Will Harney Date: Wed, 23 Aug 2023 14:20:38 -0400 Subject: [PATCH] Update main export. --- lib/cookie/index.ts | 3 --- package.json | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/cookie/index.ts b/lib/cookie/index.ts index 16436026..1b167c28 100644 --- a/lib/cookie/index.ts +++ b/lib/cookie/index.ts @@ -1,6 +1,3 @@ -// This file contains the exports from v4's lib/cookie.js, provided to minimize -// the need to update imports in dependent projects. - export { MemoryCookieStore } from '../memstore' export { pathMatch } from '../pathMatch' export { permuteDomain } from '../permuteDomain' diff --git a/package.json b/package.json index f8e2a921..8809e814 100644 --- a/package.json +++ b/package.json @@ -76,8 +76,8 @@ "bugs": { "url": "https://github.com/salesforce/tough-cookie/issues" }, - "main": "./dist/cookie.js", - "types": "./dist/cookie.d.ts", + "main": "./dist/cookie/index.js", + "types": "./dist/cookie/index.d.ts", "files": [ "dist/*.js", "dist/*.d.ts"