svelte-spa-history-router 3.0.0 → 3.0.2
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/README.md +2 -51
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -259,60 +259,11 @@ svelte-spa-history-router provides `Route` type to check combination of componen
|
|
|
259
259
|
|
|
260
260
|
### Full example:
|
|
261
261
|
|
|
262
|
-
[example](https://github.com/ykrods/svelte-spa-history-router/tree/
|
|
262
|
+
[example](https://github.com/ykrods/svelte-spa-history-router/tree/main/src)
|
|
263
263
|
|
|
264
264
|
## ChangeLog
|
|
265
265
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
* *[Breaking change]* Drop Svelte4 support
|
|
269
|
-
|
|
270
|
-
* Remove stores of `routeParams` and `currentURL`
|
|
271
|
-
|
|
272
|
-
* *[Breaking change]* Change resolver interface
|
|
273
|
-
* Add `currentURL()` which is rewriten to use `$state()`
|
|
274
|
-
|
|
275
|
-
### 2.2.0
|
|
276
|
-
|
|
277
|
-
* Support Svelte5
|
|
278
|
-
|
|
279
|
-
### 2.2.0-next.1
|
|
280
|
-
|
|
281
|
-
* Fix component type on svelte5 [PR13](https://github.com/ykrods/svelte-spa-history-router/pull/13)
|
|
282
|
-
|
|
283
|
-
### 2.2.0-next.0
|
|
284
|
-
|
|
285
|
-
* Add the way to get routing params to via props [PR12](https://github.com/ykrods/svelte-spa-history-router/pull/12)
|
|
286
|
-
* Refactor (changes: [2.1.2...7b7795b](https://github.com/ykrods/svelte-spa-history-router/compare/2.1.2...7b7795b2675c452a1a189d3931c0c4c9abb04c51) )
|
|
287
|
-
|
|
288
|
-
### 2.1.2 (2024-04-29)
|
|
289
|
-
|
|
290
|
-
* Support types [PR10](https://github.com/ykrods/svelte-spa-history-router/pull/10)
|
|
291
|
-
|
|
292
|
-
### 2.1.1 (2024-01-13)
|
|
293
|
-
|
|
294
|
-
* ~~Support Types~~ Add typecheck [PR9](https://github.com/ykrods/svelte-spa-history-router/pull/9)
|
|
295
|
-
|
|
296
|
-
### 2.1.0 (2021-04-29)
|
|
297
|
-
|
|
298
|
-
* Add `currentURL` store to detect URL changes [PR6](https://github.com/ykrods/svelte-spa-history-router/pull/6)
|
|
299
|
-
|
|
300
|
-
### 2.0.0 (2021-04-15)
|
|
301
|
-
|
|
302
|
-
* [Added] resolver
|
|
303
|
-
* [Removed] guard
|
|
304
|
-
|
|
305
|
-
### 1.1.1 (2021-04-12)
|
|
306
|
-
|
|
307
|
-
* Fix bug with async guard function causing loop
|
|
308
|
-
|
|
309
|
-
### 1.1.0 (2021-03-26)
|
|
310
|
-
|
|
311
|
-
* Add guard
|
|
312
|
-
|
|
313
|
-
### 1.0.2
|
|
314
|
-
|
|
315
|
-
* Fix import error
|
|
266
|
+
[ChangeLog](https://github.com/ykrods/svelte-spa-history-router/tree/main/ChangeLog.md)
|
|
316
267
|
|
|
317
268
|
## License
|
|
318
269
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-spa-history-router",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "History base router for Svelte SPA",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
|
-
"svelte": "./dist/index.
|
|
9
|
+
"svelte": "./dist/index.js",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
-
"svelte": "./dist/index.
|
|
12
|
+
"svelte": "./dist/index.js",
|
|
13
13
|
"types": "./dist/index.d.ts"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"svelte": ">5.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@playwright/test": "1.
|
|
27
|
-
"@sveltejs/package": "2.
|
|
28
|
-
"@sveltejs/vite-plugin-svelte": "
|
|
29
|
-
"@tsconfig/svelte": "5.0.
|
|
30
|
-
"playwright": "1.
|
|
31
|
-
"svelte": "5.
|
|
32
|
-
"svelte-check": "4.
|
|
33
|
-
"typescript": "5.
|
|
34
|
-
"vite": "
|
|
26
|
+
"@playwright/test": "1.57.0",
|
|
27
|
+
"@sveltejs/package": "2.5.7",
|
|
28
|
+
"@sveltejs/vite-plugin-svelte": "6.2.4",
|
|
29
|
+
"@tsconfig/svelte": "5.0.6",
|
|
30
|
+
"playwright": "1.57.0",
|
|
31
|
+
"svelte": "5.46.1",
|
|
32
|
+
"svelte-check": "4.3.5",
|
|
33
|
+
"typescript": "5.9.3",
|
|
34
|
+
"vite": "7.3.1"
|
|
35
35
|
},
|
|
36
36
|
"author": "ykrods",
|
|
37
37
|
"license": "MIT",
|