From 931fb1fc04732d136e41675ea5afaa7bec40a08a Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Tue, 17 Oct 2023 17:31:29 +0900 Subject: [PATCH] BREAKING CHANGE: drop language api for path and query (#29) --- README.md | 2 -- src/index.ts | 6 ------ 2 files changed, 8 deletions(-) diff --git a/README.md b/README.md index aa52ed1..7dcff75 100644 --- a/README.md +++ b/README.md @@ -145,9 +145,7 @@ You can do `import { ... } from '@intlify/utils'` the above utilities - `getHeaderLocale` - `getCookieLocale` - `setCookieLocale` -- `getPathLanguage` - `getPathLocale` -- `getQueryLanguage` - `getQueryLocale` The about utilies functions accpet Web APIs such as diff --git a/src/index.ts b/src/index.ts index 09982a3..b82968f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,10 +6,4 @@ export { registerPathLanguageParser, validateLangTag, } from './shared.ts' -export { - getPathLanguage, - getPathLocale, - getQueryLanguage, - getQueryLocale, -} from './http.ts' export * from './web.ts'