UNPKG

@peter.naydenov/route-emitter

Version:

Changes in URL are converted in events according routes definition list

110 lines (53 loc) 2.46 kB
# Release History ### 2.2.14 ( 2026-05-15) - [x] Dependency change: Using now @peter.naydenov/url-pattern instead of url-pattern; ### 2.2.13 ( 2026-05-01) - [x] Dependency update. ask-for-promise - v. 3.1.1 ### 2.2.12 ( 2026-04-03) - [x] Dependency update. @peter.naydenov/notice - v. 2.4.2; - [x] Dev dependency update. Typescript v.6; - [x] Update types according to typescript v.6; - [x] Moving tests from cypress to vitest; ### 2.2.11 ( 2025-10-04) - [x] Dependency update. Ask-for-promise - v. 3.0.2 ### 2.2.10 ( 2025-05-02) - [x] Build was processed; ### 2.2.9 ( 2025-05-02) - [x] Dependency update. @peter.naydenov/notice - v. 2.4.1 - [ ] Build was forgotten; ### 2.2.8 ( 2025-02-25) - [x] Dependency update. @peter.naydenov/notice - v. 2.4.0 ### 2.2.6 (2024-12-16) - [x] Dependency update. @peter.naydenov/notice - v. 2.3.2 - [x] Dependency update. ask-for-promise - v. 2.0.5 ### 2.2.5 (2024-12-12) - [x] Fix: Method `getCurrentAddress` breaks if the URL is not in the address list; ### 2.2.4 (2024-12-12) - [x] Types updates - [ ] Bug: Method `getCurrentAddress` breaks if the URL is not in the address list; ### 2.2.3 (2024-12-12) - [x] Generate d.ts files on build; - [x] Compression of build files was removed; - [ ] Bug: Method `getCurrentAddress` breaks if the URL is not in the address list; ### 2.2.2 (2024-12-11) - [x] Fix: Folder dist is not available in npm package; ### 2.2.1 ( 2024-04-06) - [x] Dependency update. @peter.naydenov/notice - v. 2.3.1 - [x] Dev dependencies updates. - [ ] Bug: Folder dist is not available in npm package; ### 2.2.0 (2024-02-05) - [x] Folder 'dist' was added to the project. Includes commonjs, umd and esm versions of the library; - [x] Package.json: "exports" section was added. Allows you to use package as commonjs or es6 module without additional configuration; - [x] Rollup was added to the project. Used to build the library versions; ### 2.1.2 (2023-11-11) - [x] Dependency update: @peter.naydenov/notice@2.2.2; ### 2.0.0 ( 2023-09-29 ) - [x] Refactoring: React-router is no longer a dependency; - [x] Complete rewrite of the application; ### 1.1.1 ( 2022-09-18 ) - [x] Fix: Use of method 'repeat' before a navigation event is cause for error; ### 1.1.0 ( 2022-07-22) - [x] New methods: getCurrent, repeat; - [ ] Bug: Use of method 'repeat' before a navigation event is cause for error; ### 1.0.1 ( 2022-10-08 ) - [x] Published for first time