@real-router/rx 0.1.0 → 0.1.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/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Oleg Ivanov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
@@ -1 +1 @@
1
- {"inputs":{"../../node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js":{"bytes":569,"imports":[],"format":"esm"},"src/RxObservable.ts":{"bytes":6310,"imports":[{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/map.ts":{"bytes":683,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/filter.ts":{"bytes":875,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/debounceTime.ts":{"bytes":1803,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/distinctUntilChanged.ts":{"bytes":1014,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/takeUntil.ts":{"bytes":2959,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/index.ts":{"bytes":219,"imports":[{"path":"src/operators/map.ts","kind":"import-statement","original":"./map"},{"path":"src/operators/filter.ts","kind":"import-statement","original":"./filter"},{"path":"src/operators/debounceTime.ts","kind":"import-statement","original":"./debounceTime"},{"path":"src/operators/distinctUntilChanged.ts","kind":"import-statement","original":"./distinctUntilChanged"},{"path":"src/operators/takeUntil.ts","kind":"import-statement","original":"./takeUntil"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/state$.ts":{"bytes":923,"imports":[{"path":"@real-router/core","kind":"import-statement","external":true},{"path":"src/RxObservable.ts","kind":"import-statement","original":"./RxObservable"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/events$.ts":{"bytes":3143,"imports":[{"path":"@real-router/core","kind":"import-statement","external":true},{"path":"src/RxObservable.ts","kind":"import-statement","original":"./RxObservable"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/observable.ts":{"bytes":897,"imports":[{"path":"src/state$.ts","kind":"import-statement","original":"./state$"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":489,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"./RxObservable"},{"path":"src/operators/index.ts","kind":"import-statement","original":"./operators"},{"path":"src/state$.ts","kind":"import-statement","original":"./state$"},{"path":"src/events$.ts","kind":"import-statement","original":"./events$"},{"path":"src/observable.ts","kind":"import-statement","original":"./observable"},{"path":"/Users/olegivanov/WebstormProjects/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/cjs/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":26956},"dist/cjs/index.js":{"imports":[{"path":"@real-router/core","kind":"import-statement","external":true},{"path":"@real-router/core","kind":"import-statement","external":true}],"exports":["RxObservable","debounceTime","distinctUntilChanged","events$","filter","map","observable","state$","takeUntil"],"entryPoint":"src/index.ts","inputs":{"src/RxObservable.ts":{"bytesInOutput":3515},"src/index.ts":{"bytesInOutput":0},"src/operators/map.ts":{"bytesInOutput":486},"src/operators/index.ts":{"bytesInOutput":0},"src/operators/filter.ts":{"bytesInOutput":497},"src/operators/debounceTime.ts":{"bytesInOutput":1376},"src/operators/distinctUntilChanged.ts":{"bytesInOutput":773},"src/operators/takeUntil.ts":{"bytesInOutput":1369},"src/state$.ts":{"bytesInOutput":618},"src/events$.ts":{"bytesInOutput":1830},"src/observable.ts":{"bytesInOutput":57}},"bytes":10895}}}
1
+ {"inputs":{"../../node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js":{"bytes":569,"imports":[],"format":"esm"},"src/RxObservable.ts":{"bytes":6310,"imports":[{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/map.ts":{"bytes":683,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/filter.ts":{"bytes":875,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/debounceTime.ts":{"bytes":1803,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/distinctUntilChanged.ts":{"bytes":1014,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/takeUntil.ts":{"bytes":2959,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"../RxObservable"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/operators/index.ts":{"bytes":219,"imports":[{"path":"src/operators/map.ts","kind":"import-statement","original":"./map"},{"path":"src/operators/filter.ts","kind":"import-statement","original":"./filter"},{"path":"src/operators/debounceTime.ts","kind":"import-statement","original":"./debounceTime"},{"path":"src/operators/distinctUntilChanged.ts","kind":"import-statement","original":"./distinctUntilChanged"},{"path":"src/operators/takeUntil.ts","kind":"import-statement","original":"./takeUntil"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/state$.ts":{"bytes":923,"imports":[{"path":"@real-router/core","kind":"import-statement","external":true},{"path":"src/RxObservable.ts","kind":"import-statement","original":"./RxObservable"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/events$.ts":{"bytes":3143,"imports":[{"path":"@real-router/core","kind":"import-statement","external":true},{"path":"src/RxObservable.ts","kind":"import-statement","original":"./RxObservable"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/observable.ts":{"bytes":897,"imports":[{"path":"src/state$.ts","kind":"import-statement","original":"./state$"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":489,"imports":[{"path":"src/RxObservable.ts","kind":"import-statement","original":"./RxObservable"},{"path":"src/operators/index.ts","kind":"import-statement","original":"./operators"},{"path":"src/state$.ts","kind":"import-statement","original":"./state$"},{"path":"src/events$.ts","kind":"import-statement","original":"./events$"},{"path":"src/observable.ts","kind":"import-statement","original":"./observable"},{"path":"/home/runner/work/real-router/real-router/node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_typescript@5.9.3/node_modules/tsup/assets/cjs_shims.js","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/cjs/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":26956},"dist/cjs/index.js":{"imports":[{"path":"@real-router/core","kind":"import-statement","external":true},{"path":"@real-router/core","kind":"import-statement","external":true}],"exports":["RxObservable","debounceTime","distinctUntilChanged","events$","filter","map","observable","state$","takeUntil"],"entryPoint":"src/index.ts","inputs":{"src/RxObservable.ts":{"bytesInOutput":3515},"src/index.ts":{"bytesInOutput":0},"src/operators/map.ts":{"bytesInOutput":486},"src/operators/index.ts":{"bytesInOutput":0},"src/operators/filter.ts":{"bytesInOutput":497},"src/operators/debounceTime.ts":{"bytesInOutput":1376},"src/operators/distinctUntilChanged.ts":{"bytesInOutput":773},"src/operators/takeUntil.ts":{"bytesInOutput":1369},"src/state$.ts":{"bytesInOutput":618},"src/events$.ts":{"bytesInOutput":1830},"src/observable.ts":{"bytesInOutput":57}},"bytes":10895}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@real-router/rx",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "commonjs",
5
5
  "description": "Reactive Observable API for Real-Router — state$, events$, operators, and TC39 Observable support",
6
6
  "main": "./dist/cjs/index.js",
@@ -40,6 +40,10 @@
40
40
  "url": "https://github.com/greydragon888/real-router/issues"
41
41
  },
42
42
  "homepage": "https://github.com/greydragon888/real-router",
43
+ "sideEffects": false,
44
+ "dependencies": {
45
+ "@real-router/core": "^0.10.0"
46
+ },
43
47
  "scripts": {
44
48
  "test": "vitest",
45
49
  "build": "tsup",
@@ -47,9 +51,5 @@
47
51
  "lint": "eslint --cache --ext .ts src/ tests/ --fix --max-warnings 0",
48
52
  "lint:package": "publint",
49
53
  "lint:types": "attw --pack ."
50
- },
51
- "sideEffects": false,
52
- "dependencies": {
53
- "@real-router/core": "workspace:^"
54
54
  }
55
- }
55
+ }