@inlang/paraglide-sveltekit
Advanced tools
Comparing version
// file generated by build script - do not commit | ||
export const PARAGLIDE_SVELTEKIT_VERSION = "0.13.0" | ||
export const PARAGLIDE_SVELTEKIT_VERSION = "0.13.1" | ||
export const PARAGLIDE_SVELTEKIT_MARKETPLACE_ID = "library.inlang.paraglideJsAdapterSvelteKit" |
@@ -5,4 +5,9 @@ import { SvelteComponent } from "svelte"; | ||
props(): { | ||
languageTag: T | undefined; | ||
i18n: I18n<T>; | ||
/** | ||
* Override the language detection with a specific language tag. | ||
*/ languageTag?: T | undefined; | ||
/** | ||
* The routing instance to use. | ||
* You can create one with `createI18n()` from `@inlang/paraglide-sveltekit`. | ||
*/ i18n: I18n<T>; | ||
}; | ||
@@ -21,14 +26,7 @@ events(): {} & { | ||
* Automatically detect and manage the language of your page. | ||
* It also adds `<link rel="alternate">` tags to the head of your page. | ||
* | ||
* The component handles: | ||
* - Language detection and switching | ||
* - URL localization | ||
* - SEO meta tags | ||
* - Document language attributes | ||
* It also adds `<link rel="alternate">` tags to the head of your page | ||
*/ | ||
export default class ParaglideJs<T extends string> extends SvelteComponent<ParaglideJsProps<T>, ParaglideJsEvents<T>, ParaglideJsSlots<T>> { | ||
$$bindings: ""; | ||
} | ||
export {}; | ||
//# sourceMappingURL=ParaglideJS.svelte.d.ts.map |
{ | ||
"name": "@inlang/paraglide-sveltekit", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"type": "module", | ||
@@ -20,5 +20,5 @@ "main": "./dist/runtime/index.js", | ||
"svelte": "^5.0.0 || ^5.0.0-next.1 || ^5.0.0-rc.1", | ||
"@inlang/paraglide-js": "1.11.3", | ||
"@lix-js/client": "2.2.1", | ||
"@inlang/paraglide-vite": "1.2.77", | ||
"@lix-js/client": "2.2.1" | ||
"@inlang/paraglide-js": "1.11.3" | ||
}, | ||
@@ -25,0 +25,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
180138
03798
-0.05%