@wuchale/svelte 0.17.4 → 0.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -6,9 +6,10 @@ export declare const svelteKitDefaultHeuristic: HeuristicFunc;
|
|
|
6
6
|
/** Default Svelte heuristic which requires `$derived` or `$derived.by` for top level variable assignments */
|
|
7
7
|
export declare const svelteDefaultHeuristicDerivedReq: HeuristicFunc;
|
|
8
8
|
type LoadersAvailable = 'svelte' | 'sveltekit';
|
|
9
|
+
export type SvelteArgs = AdapterArgs<LoadersAvailable>;
|
|
9
10
|
export declare function getDefaultLoaderPath(loader: LoaderChoice<LoadersAvailable>, bundle: boolean): string | {
|
|
10
11
|
client: string;
|
|
11
12
|
server: string;
|
|
12
13
|
};
|
|
13
|
-
export declare const adapter: (args?:
|
|
14
|
+
export declare const adapter: (args?: SvelteArgs) => Adapter;
|
|
14
15
|
export {};
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wuchale/svelte",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.6",
|
|
4
4
|
"description": "Protobuf-like i18n from plain code: Svelte adapter",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "tsc --watch",
|
|
7
7
|
"build": "tsc",
|
|
8
|
-
"test": "node tests"
|
|
8
|
+
"test": "node tests/index.ts"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
11
|
"i18n",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"license": "MIT",
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"svelte": "^5.37.0",
|
|
55
|
-
"wuchale": "^0.18.
|
|
55
|
+
"wuchale": "^0.18.6"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"acorn": "^8.15.0",
|