@thi.ng/router 3.2.12 → 3.2.14

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 (3) hide show
  1. package/CHANGELOG.md +16 -10
  2. package/basic.d.ts +1 -1
  3. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-10-28T19:08:39Z
3
+ - **Last updated**: 2022-11-28T13:36:49Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,18 +9,24 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [3.2.14](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@3.2.14) (2022-11-28)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update INotify.notify() signature ([066bae5](https://github.com/thi-ng/umbrella/commit/066bae5))
17
+
12
18
  ## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@3.2.0) (2022-06-17)
13
19
 
14
20
  #### 🚀 Features
15
21
 
16
- - update format(), hash/prefix handling ([724b3ad](https://github.com/thi-ng/umbrella/commit/724b3ad))
17
- - update HTMLRouter default prefix to "#/" if `useFragment` is true
18
- - remove obsolete `HTMLRouter.format()` (now the same as BasicRouter)
19
- - update BasicRouter.format() to throw error for missing route param value
20
22
  - add trailing slash option, optimize routeForID() ([c003dc2](https://github.com/thi-ng/umbrella/commit/c003dc2))
21
23
  - update BasicRouter default config init
22
24
  - pre-build `routeIndex` in ctor
23
25
  - optimize `routeForID()` to use new `routeIndex`
26
+ - update format(), hash/prefix handling ([724b3ad](https://github.com/thi-ng/umbrella/commit/724b3ad))
27
+ - update HTMLRouter default prefix to "#/" if `useFragment` is true
28
+ - remove obsolete `HTMLRouter.format()` (now the same as BasicRouter)
29
+ - update BasicRouter.format() to throw error for missing route param value
24
30
 
25
31
  ### [3.1.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@3.1.5) (2022-04-07)
26
32
 
@@ -51,9 +57,9 @@ and/or version bumps of transitive dependencies.
51
57
 
52
58
  #### ♻️ Refactoring
53
59
 
54
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
55
60
  - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
56
61
  - add .js suffix for all relative imports
62
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
57
63
 
58
64
  # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@3.0.0) (2021-10-12)
59
65
 
@@ -74,15 +80,15 @@ and/or version bumps of transitive dependencies.
74
80
 
75
81
  #### ♻️ Refactoring
76
82
 
83
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
84
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
85
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
77
86
  - update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
78
87
  - largely related to recent updates/restructuring of these packages:
79
88
  - api
80
89
  - defmulti
81
90
  - errors
82
91
  - logger
83
- - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
84
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
85
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
86
92
 
87
93
  ### [2.0.54](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@2.0.54) (2021-09-03)
88
94
 
@@ -167,9 +173,9 @@ and/or version bumps of transitive dependencies.
167
173
 
168
174
  #### ♻️ Refactoring
169
175
 
170
- - update error handling ([adc559a](https://github.com/thi-ng/umbrella/commit/adc559a))
171
176
  - update INotify dummy impl ([b328780](https://github.com/thi-ng/umbrella/commit/b328780))
172
177
  - reflecting INotify updates in [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api)
178
+ - update error handling ([adc559a](https://github.com/thi-ng/umbrella/commit/adc559a))
173
179
 
174
180
  ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@0.1.0) (2018-03-11)
175
181
 
package/basic.d.ts CHANGED
@@ -10,7 +10,7 @@ export declare class BasicRouter implements INotify {
10
10
  /** {@inheritDoc @thi.ng/api#INotify.removeListener} */
11
11
  removeListener(id: string, fn: Listener, scope?: any): boolean;
12
12
  /** {@inheritDoc @thi.ng/api#INotify.notify} */
13
- notify(event: Event): void;
13
+ notify(event: Event): boolean;
14
14
  start(): void;
15
15
  /**
16
16
  * Main router function. Attempts to match given input string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/router",
3
- "version": "3.2.12",
3
+ "version": "3.2.14",
4
4
  "description": "Generic router for browser & non-browser based applications",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,18 +34,18 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.4.5",
38
- "@thi.ng/checks": "^3.3.2",
39
- "@thi.ng/equiv": "^2.1.12",
40
- "@thi.ng/errors": "^2.2.3",
41
- "tslib": "^2.4.0"
37
+ "@thi.ng/api": "^8.5.0",
38
+ "@thi.ng/checks": "^3.3.3",
39
+ "@thi.ng/equiv": "^2.1.13",
40
+ "@thi.ng/errors": "^2.2.4",
41
+ "tslib": "^2.4.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@microsoft/api-extractor": "^7.33.5",
45
- "@thi.ng/testament": "^0.3.4",
45
+ "@thi.ng/testament": "^0.3.5",
46
46
  "rimraf": "^3.0.2",
47
47
  "tools": "^0.0.1",
48
- "typedoc": "^0.23.18",
48
+ "typedoc": "^0.23.20",
49
49
  "typescript": "^4.8.4"
50
50
  },
51
51
  "keywords": [
@@ -67,8 +67,8 @@
67
67
  "node": ">=12.7"
68
68
  },
69
69
  "files": [
70
- "*.js",
71
- "*.d.ts"
70
+ "./*.js",
71
+ "./*.d.ts"
72
72
  ],
73
73
  "exports": {
74
74
  ".": {
@@ -91,5 +91,5 @@
91
91
  ],
92
92
  "year": 2014
93
93
  },
94
- "gitHead": "a4b60163a8caddceed5ec1b6b3584d164f61e7b6\n"
94
+ "gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
95
95
  }