@thi.ng/router 4.1.58 → 4.1.60

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.
Files changed (2) hide show
  1. package/README.md +19 -18
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
- <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/router](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/banners/thing-router.svg?995fe7f7)
2
+ <!-- Please see: https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
+ # ![@thi.ng/router](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/banners/thing-router.svg?995fe7f7)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/router.svg)](https://www.npmjs.com/package/@thi.ng/router)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/router.svg)
@@ -8,11 +8,12 @@
8
8
 
9
9
  > [!NOTE]
10
10
  > This is one of 214 standalone projects, maintained as part
11
- > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
11
+ > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
12
  > and anti-framework.
13
13
  >
14
- > 🚀 Please help me to work full-time on these projects by [sponsoring me on
15
- > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring
15
+ > me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
16
+ > Thank you! ❤️
16
17
 
17
18
  - [About](#about)
18
19
  - [Status](#status)
@@ -44,12 +45,12 @@ Generic trie-based router with support for wildcards, route param validation/coe
44
45
 
45
46
  **STABLE** - used in production
46
47
 
47
- [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Brouter%5D+in%3Atitle)
48
+ [Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Brouter%5D)
48
49
 
49
50
  ## Related packages
50
51
 
51
- - [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom) - Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors
52
- - [@thi.ng/rdom](https://github.com/thi-ng/umbrella/tree/develop/packages/rdom) - Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) compatible
52
+ - [@thi.ng/hdom](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/hdom) - Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors
53
+ - [@thi.ng/rdom](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/rdom) - Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and [@thi.ng/hiccup](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/hiccup) compatible
53
54
 
54
55
  ## Installation
55
56
 
@@ -75,23 +76,23 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.95 KB
75
76
 
76
77
  ## Dependencies
77
78
 
78
- - [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
79
- - [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/develop/packages/checks)
80
- - [@thi.ng/equiv](https://github.com/thi-ng/umbrella/tree/develop/packages/equiv)
81
- - [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
79
+ - [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
80
+ - [@thi.ng/checks](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/checks)
81
+ - [@thi.ng/equiv](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/equiv)
82
+ - [@thi.ng/errors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/errors)
82
83
 
83
84
  Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
84
85
 
85
86
  ## Usage examples
86
87
 
87
88
  Two projects in this repo's
88
- [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
89
+ [/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
89
90
  directory are using this package:
90
91
 
91
- | Screenshot | Description | Live demo | Source |
92
- |:---------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------|:----------------------------------------------------|:---------------------------------------------------------------------------------|
93
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-router.jpg" width="240"/> | Basic thi.ng/router usage with thi.ng/rdom components | [Demo](https://demo.thi.ng/umbrella/rdom-router/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-router) |
94
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/router-basics.jpg" width="240"/> | Complete mini SPA app w/ router & async content loading | [Demo](https://demo.thi.ng/umbrella/router-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/router-basics) |
92
+ | Screenshot | Description | Live demo | Source |
93
+ |:---------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------|:----------------------------------------------------|:-----------------------------------------------------------------------------------------|
94
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/rdom-router.jpg" width="240"/> | Basic thi.ng/router usage with thi.ng/rdom components | [Demo](https://demo.thi.ng/umbrella/rdom-router/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/rdom-router) |
95
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/router-basics.jpg" width="240"/> | Complete mini SPA app w/ router & async content loading | [Demo](https://demo.thi.ng/umbrella/router-basics/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/router-basics) |
95
96
 
96
97
  ## API
97
98
 
@@ -187,7 +188,7 @@ router.start();
187
188
  The below benchmarks are ported from
188
189
  [router-benchmark](https://github.com/delvedor/router-benchmark), showing
189
190
  **highly competitive** results for this package. The
190
- [benchmark](https://github.com/thi-ng/umbrella/blob/develop/packages/router/bench/index.ts)
191
+ [benchmark](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/router/bench/index.ts)
191
192
  itself can be run from the repo root like so:
192
193
 
193
194
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/router",
3
- "version": "4.1.58",
3
+ "version": "4.1.60",
4
4
  "description": "Generic trie-based router with support for wildcards, route param validation/coercion, auth",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,7 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/thi-ng/umbrella.git",
11
+ "url": "git+https://codeberg.org/thi.ng/umbrella.git",
12
12
  "directory": "packages/router"
13
13
  },
14
14
  "homepage": "https://thi.ng/router",
@@ -40,14 +40,14 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.12.17",
44
- "@thi.ng/checks": "^3.8.7",
45
- "@thi.ng/equiv": "^2.1.106",
46
- "@thi.ng/errors": "^2.6.6"
43
+ "@thi.ng/api": "^8.12.19",
44
+ "@thi.ng/checks": "^3.8.9",
45
+ "@thi.ng/equiv": "^2.1.108",
46
+ "@thi.ng/errors": "^2.6.8"
47
47
  },
48
48
  "devDependencies": {
49
- "esbuild": "^0.27.2",
50
- "typedoc": "^0.28.16",
49
+ "esbuild": "^0.28.0",
50
+ "typedoc": "^0.28.18",
51
51
  "typescript": "^5.9.3"
52
52
  },
53
53
  "keywords": [
@@ -101,5 +101,5 @@
101
101
  ],
102
102
  "year": 2014
103
103
  },
104
- "gitHead": "1107498d31504dc63d1a457b5def387d7a134f69\n"
104
+ "gitHead": "a780d4a5f6f5fc595c9d28527686f63534927d32"
105
105
  }