From ac876b6f6e9f157cdce5404a48059bebeb21eacc Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Tue, 17 Oct 2023 17:28:38 +0900 Subject: [PATCH] BREAKING CHANGE: drop language api for path and query --- 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'