@thi.ng/rstream-gestures 4.0.9 → 4.1.3

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/CHANGELOG.md +148 -85
  2. package/package.json +90 -85
package/CHANGELOG.md CHANGED
@@ -1,177 +1,240 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-12-13T10:26:00Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
5
8
 
6
- ## [4.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@4.0.8...@thi.ng/rstream-gestures@4.0.9) (2021-11-10)
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
7
11
 
8
- **Note:** Version bump only for package @thi.ng/rstream-gestures
12
+ ## [4.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@4.1.0) (2021-11-17)
9
13
 
14
+ #### 🚀 Features
10
15
 
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
11
21
 
22
+ #### ♻️ Refactoring
12
23
 
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
13
30
 
14
- ## [4.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@4.0.7...@thi.ng/rstream-gestures@4.0.8) (2021-11-03)
31
+ ### [4.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@4.0.1) (2021-10-13)
15
32
 
16
- **Note:** Version bump only for package @thi.ng/rstream-gestures
33
+ #### ♻️ Refactoring
17
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
18
38
 
39
+ # [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@4.0.0) (2021-10-12)
19
40
 
41
+ #### 🛑 Breaking changes
20
42
 
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
21
55
 
22
- # [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@3.0.34...@thi.ng/rstream-gestures@4.0.0) (2021-10-12)
56
+ #### ♻️ Refactoring
23
57
 
58
+ - update imports in various pkgs (rstream) ([342cf54](https://github.com/thi-ng/umbrella/commit/342cf54))
59
+ - update imports (transducers) ([7fc60cd](https://github.com/thi-ng/umbrella/commit/7fc60cd))
60
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
61
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
62
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
63
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
24
64
 
25
- ### Build System
65
+ ### [3.0.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@3.0.6) (2021-02-20)
26
66
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
67
+ #### ♻️ Refactoring
28
68
 
69
+ - simplify gestureStream() ([2ea805a](https://github.com/thi-ng/umbrella/commit/2ea805a))
29
70
 
30
- ### BREAKING CHANGES
71
+ # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@3.0.0) (2020-12-22)
31
72
 
32
- * discontinue CommonJS & UMD versions
73
+ #### 🛑 Breaking changes
33
74
 
34
- - only ESM modules will be published from now on
35
- - CJS obsolete due to ESM support in recent versions of node:
36
- - i.e. launch NodeJS via:
37
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
38
- - in the node REPL use `await import(...)` instead of `require()`
39
- - UMD obsolete due to widespread browser support for ESM
75
+ - fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace GestureType enum ([80ef1e1](https://github.com/thi-ng/umbrella/commit/80ef1e1))
76
+ - BREAKING CHANGE: replace GestureType w/ type alias
40
77
 
41
- Also:
42
- - normalize/restructure/reorg all package.json files
43
- - cleanup all build scripts, remove obsolete
44
- - switch from mocha to @thi.ng/testament for all tests
78
+ ### [2.0.45](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.45) (2020-12-07)
45
79
 
80
+ #### ♻️ Refactoring
46
81
 
82
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
47
83
 
84
+ ### [2.0.40](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.40) (2020-09-27)
48
85
 
86
+ #### 🩹 Bug fixes
49
87
 
88
+ - use correct event var ([6c7c0a9](https://github.com/thi-ng/umbrella/commit/6c7c0a9))
89
+ - for some reason used global `event` instead of actual `e`
50
90
 
51
- # [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@2.0.45...@thi.ng/rstream-gestures@3.0.0) (2020-12-22)
91
+ ### [2.0.36](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.36) (2020-08-17)
52
92
 
53
- ### Code Refactoring
93
+ #### 🩹 Bug fixes
54
94
 
55
- - **rstream-gestures:** fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace GestureType enum ([80ef1e1](https://github.com/thi-ng/umbrella/commit/80ef1e1558070421cf6ed2d707a55b91fe1c290d))
95
+ - don't cache DPR value ([bffbedb](https://github.com/thi-ng/umbrella/commit/bffbedb))
96
+ - fixes issue when window is moved between displays
97
+ w/ different densities
56
98
 
57
- ### BREAKING CHANGES
99
+ ### [2.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.9) (2020-04-05)
58
100
 
59
- - **rstream-gestures:** replace GestureType w/ type alias
101
+ #### ♻️ Refactoring
60
102
 
61
- ## [2.0.40](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@2.0.39...@thi.ng/rstream-gestures@2.0.40) (2020-09-27)
103
+ - switch to non-const enums ([68702ca](https://github.com/thi-ng/umbrella/commit/68702ca))
62
104
 
63
- ### Bug Fixes
105
+ ### [2.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.2) (2020-02-25)
64
106
 
65
- - **rstream-gestures:** use correct event var ([6c7c0a9](https://github.com/thi-ng/umbrella/commit/6c7c0a941c06945dea997d5b4ae950379a54c422))
107
+ #### ♻️ Refactoring
66
108
 
67
- ## [2.0.36](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@2.0.35...@thi.ng/rstream-gestures@2.0.36) (2020-08-17)
109
+ - update imports ([1682d8f](https://github.com/thi-ng/umbrella/commit/1682d8f))
68
110
 
69
- ### Bug Fixes
111
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@2.0.0) (2020-01-24)
70
112
 
71
- - **rstream-gestures:** don't cache DPR value ([bffbedb](https://github.com/thi-ng/umbrella/commit/bffbedb0589bd173de0aa49293b110461b33d579))
113
+ #### 🛑 Breaking changes
72
114
 
73
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.3.0...@thi.ng/rstream-gestures@2.0.0) (2020-01-24)
115
+ - add multitouch support, almost complete pkg rewrite ([031d89b](https://github.com/thi-ng/umbrella/commit/031d89b))
116
+ - rewrite gestureStream()
117
+ - update GestureEvent/GestureInfo structure
118
+ - add new GestureStreamOpts
119
+ - TODO update docs / docstrings
120
+ - BREAKING CHANGE: New `GestureEvent` & `GestureInfo` data formats,
121
+ add multitouch support
74
122
 
75
- ### Bug Fixes
123
+ #### 🚀 Features
76
124
 
77
- - **rstream-gestures:** remove duplicate MOVE events ([0c8da9b](https://github.com/thi-ng/umbrella/commit/0c8da9b235be37082f514b515917b82a630095d0))
78
- - fixed the bug allowing the user to drag without pressing anything and improved types ([e5a9996](https://github.com/thi-ng/umbrella/commit/e5a9996b73a6284b115d7ef601f3b032a1bdc3fb))
125
+ - update deps, zoom delta calc, GestureInfo ([6bbbd55](https://github.com/thi-ng/umbrella/commit/6bbbd55))
126
+ - make GestureInfo `click` & `delta` fields optional (already only present
127
+ if GestureType.DRAG)
128
+ - use @acarabott's zoom delta calc
79
129
 
80
- ### Features
130
+ #### 🩹 Bug fixes
81
131
 
82
- - **rstream-gestures:** add multitouch support, almost complete pkg rewrite ([031d89b](https://github.com/thi-ng/umbrella/commit/031d89bd3ada19c5aee158545bfec11e06a70a5f))
83
- - **rstream-gestures:** update deps, zoom delta calc, GestureInfo ([6bbbd55](https://github.com/thi-ng/umbrella/commit/6bbbd550e2d29e183a8a23447f003f9e31589112))
132
+ - remove duplicate MOVE events ([0c8da9b](https://github.com/thi-ng/umbrella/commit/0c8da9b))
133
+ - add check if target element is `document.body`
134
+ - if so don't add temp mousemove listener
135
+ - fixed the bug allowing the user to drag without pressing anything and improved types ([e5a9996](https://github.com/thi-ng/umbrella/commit/e5a9996))
84
136
 
85
- ### BREAKING CHANGES
137
+ #### ♻️ Refactoring
86
138
 
87
- - **rstream-gestures:** New `GestureEvent` & `GestureInfo` data formats, add multitouch support
139
+ - split into sep files, add docs/readme ([37b1c7b](https://github.com/thi-ng/umbrella/commit/37b1c7b))
88
140
 
89
- # [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.2.6...@thi.ng/rstream-gestures@1.3.0) (2019-11-30)
141
+ ### [1.2.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.2.4) (2019-08-21)
90
142
 
91
- ### Features
143
+ #### 🚀 Features
92
144
 
93
- - **rstream-gestures:** add `buttons` to GestureInfo ([2d837e2](https://github.com/thi-ng/umbrella/commit/2d837e2858754f50e24afc1f939755d1a3096d43))
145
+ - add `buttons` to GestureInfo ([2d837e2](https://github.com/thi-ng/umbrella/commit/2d837e2))
146
+ - active touch events (touchstart/move) will set buttons = 1
94
147
 
95
- # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.1.4...@thi.ng/rstream-gestures@1.2.0) (2019-07-07)
148
+ ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.2.0) (2019-07-07)
96
149
 
97
- ### Features
150
+ #### 🚀 Features
98
151
 
99
- - **rstream-gestures:** enable TS strict compiler flags (refactor) ([412dd46](https://github.com/thi-ng/umbrella/commit/412dd46))
152
+ - enable TS strict compiler flags (refactor) ([412dd46](https://github.com/thi-ng/umbrella/commit/412dd46))
100
153
 
101
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.21...@thi.ng/rstream-gestures@1.1.0) (2019-04-11)
154
+ #### ♻️ Refactoring
102
155
 
103
- ### Features
156
+ - TS strictNullChecks ([bac2904](https://github.com/thi-ng/umbrella/commit/bac2904))
104
157
 
105
- - **rstream-gestures:** add zoomDelta output ([68c4b45](https://github.com/thi-ng/umbrella/commit/68c4b45))
158
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.1.0) (2019-04-11)
106
159
 
107
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.6.9...@thi.ng/rstream-gestures@1.0.0) (2019-01-21)
160
+ #### 🚀 Features
108
161
 
109
- ### Bug Fixes
162
+ - add zoomDelta output ([68c4b45](https://github.com/thi-ng/umbrella/commit/68c4b45))
110
163
 
111
- - **rstream-gestures:** disable __GestureType reverse enum export ([19449e8](https://github.com/thi-ng/umbrella/commit/19449e8))
164
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@1.0.0) (2019-01-21)
112
165
 
113
- ### Build System
166
+ #### 🛑 Breaking changes
114
167
 
115
168
  - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
169
+ - BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
170
+ - build scripts now first build ES6 modules in package root, then call
171
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
172
+ - all imports MUST be updated to only refer to package level
173
+ (not individual files anymore). tree shaking in user land will get rid of
174
+ all unused imported symbols
175
+
176
+ #### 🩹 Bug fixes
116
177
 
117
- ### BREAKING CHANGES
178
+ - disable __GestureType reverse enum export ([19449e8](https://github.com/thi-ng/umbrella/commit/19449e8))
118
179
 
119
- - enable multi-outputs (ES6 modules, CJS, UMD)
120
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
121
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols
180
+ #### ♻️ Refactoring
122
181
 
123
- # [0.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.5.18...@thi.ng/rstream-gestures@0.6.0) (2018-11-24)
182
+ - use arrow fns ([8904cb4](https://github.com/thi-ng/umbrella/commit/8904cb4))
124
183
 
125
- ### Features
184
+ ## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.6.0) (2018-11-24)
126
185
 
127
- - **rstream-gestures:** add absZoom option (abs vs. relative) ([bab55c3](https://github.com/thi-ng/umbrella/commit/bab55c3))
186
+ #### 🚀 Features
128
187
 
129
- ## [0.5.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.5.15...@thi.ng/rstream-gestures@0.5.16) (2018-10-24)
188
+ - add absZoom option (abs vs. relative) ([bab55c3](https://github.com/thi-ng/umbrella/commit/bab55c3))
130
189
 
131
- ### Bug Fixes
190
+ ### [0.5.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.5.16) (2018-10-24)
132
191
 
133
- - **rstream-gestures:** fix incorrect local position when scrolled ([f1f6af4](https://github.com/thi-ng/umbrella/commit/f1f6af4))
192
+ #### 🩹 Bug fixes
134
193
 
135
- ## [0.5.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.5.9...@thi.ng/rstream-gestures@0.5.10) (2018-09-24)
194
+ - fix incorrect local position when scrolled ([f1f6af4](https://github.com/thi-ng/umbrella/commit/f1f6af4))
195
+ fixes: https://github.com/thi-ng/umbrella/issues/56
196
+ uses getBoundingClientRect() instead of offsetLeft / offsetTop
136
197
 
137
- ### Performance Improvements
198
+ ### [0.5.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.5.10) (2018-09-24)
138
199
 
139
- - **rstream-gestures:** `GestureType` => const enum ([8e4fc90](https://github.com/thi-ng/umbrella/commit/8e4fc90))
200
+ #### Performance improvements
140
201
 
141
- # [0.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.4.18...@thi.ng/rstream-gestures@0.5.0) (2018-08-27)
202
+ - `GestureType` => const enum ([8e4fc90](https://github.com/thi-ng/umbrella/commit/8e4fc90))
203
+ - export `__GestureType` for reverse lookups
142
204
 
143
- ### Features
205
+ ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.5.0) (2018-08-27)
144
206
 
145
- - **rstream-gestures:** add options for local & scaled positions ([ccc40a9](https://github.com/thi-ng/umbrella/commit/ccc40a9))
207
+ #### 🚀 Features
146
208
 
147
- ## [0.4.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.4.5...@thi.ng/rstream-gestures@0.4.6) (2018-07-13)
209
+ - add options for local & scaled positions ([ccc40a9](https://github.com/thi-ng/umbrella/commit/ccc40a9))
210
+ - add `local` and `scale` options & docs
148
211
 
149
- ### Bug Fixes
212
+ ### [0.4.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.4.6) (2018-07-13)
150
213
 
151
- - **rstream-gestures:** touchevent check in safari ([ee48a94](https://github.com/thi-ng/umbrella/commit/ee48a94))
214
+ #### 🩹 Bug fixes
152
215
 
153
- # [0.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.3.16...@thi.ng/rstream-gestures@0.4.0) (2018-07-04)
216
+ - touchevent check in safari ([ee48a94](https://github.com/thi-ng/umbrella/commit/ee48a94))
154
217
 
155
- ### Features
218
+ ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.4.0) (2018-07-04)
156
219
 
157
- - **rstream-gestures:** add event & preventDefault opts, update docs ([de17340](https://github.com/thi-ng/umbrella/commit/de17340))
220
+ #### 🚀 Features
158
221
 
159
- ## [0.3.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.3.15...@thi.ng/rstream-gestures@0.3.16) (2018-07-03)
222
+ - add event & preventDefault opts, update docs ([de17340](https://github.com/thi-ng/umbrella/commit/de17340))
160
223
 
161
- # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.2.5...@thi.ng/rstream-gestures@0.3.0) (2018-05-09)
224
+ ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.3.0) (2018-05-09)
162
225
 
163
- ### Features
226
+ #### 🚀 Features
164
227
 
165
- - **rstream-gestures:** add zoom smooth config option, update readme ([053c8c6](https://github.com/thi-ng/umbrella/commit/053c8c6))
228
+ - add zoom smooth config option, update readme ([053c8c6](https://github.com/thi-ng/umbrella/commit/053c8c6))
166
229
 
167
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@0.1.9...@thi.ng/rstream-gestures@0.2.0) (2018-04-24)
230
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.2.0) (2018-04-24)
168
231
 
169
- ### Features
232
+ #### 🚀 Features
170
233
 
171
- - **rstream-gestures:** allows partial opts, add ID option ([3408c13](https://github.com/thi-ng/umbrella/commit/3408c13))
234
+ - allows partial opts, add ID option ([3408c13](https://github.com/thi-ng/umbrella/commit/3408c13))
172
235
 
173
- # 0.1.0 (2018-04-14)
236
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-gestures@0.1.0) (2018-04-14)
174
237
 
175
- ### Features
238
+ #### 🚀 Features
176
239
 
177
- - **rstream-gestures:** initial import [@thi](https://github.com/thi).ng/rstream-gestures ([de1ac7b](https://github.com/thi-ng/umbrella/commit/de1ac7b))
240
+ - initial import [@thi.ng/rstream-gestures](https://github.com/thi-ng/umbrella/tree/main/packages/rstream-gestures) ([de1ac7b](https://github.com/thi-ng/umbrella/commit/de1ac7b))
package/package.json CHANGED
@@ -1,90 +1,95 @@
1
1
  {
2
- "name": "@thi.ng/rstream-gestures",
3
- "version": "4.0.9",
4
- "description": "Unified mouse, mouse wheel & multi-touch event stream abstraction",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/rstream-gestures",
3
+ "version": "4.1.3",
4
+ "description": "Unified mouse, mouse wheel & multi-touch event stream abstraction",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/rstream-gestures#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/rstream-gestures#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/api": "^8.2.0",
38
- "@thi.ng/checks": "^3.0.7",
39
- "@thi.ng/math": "^5.0.8",
40
- "@thi.ng/rstream": "^7.0.9",
41
- "@thi.ng/transducers": "^8.0.8"
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/api": "^8.3.3",
38
+ "@thi.ng/checks": "^3.1.3",
39
+ "@thi.ng/math": "^5.2.0",
40
+ "@thi.ng/rstream": "^7.2.1",
41
+ "@thi.ng/transducers": "^8.1.3"
42
+ },
43
+ "devDependencies": {
44
+ "@microsoft/api-extractor": "^7.19.2",
45
+ "@thi.ng/testament": "^0.2.3",
46
+ "rimraf": "^3.0.2",
47
+ "tools": "^0.0.1",
48
+ "typedoc": "^0.22.10",
49
+ "typescript": "^4.5.3"
50
+ },
51
+ "keywords": [
52
+ "animation",
53
+ "dataflow",
54
+ "event",
55
+ "interaction",
56
+ "mouse",
57
+ "mousewheel",
58
+ "multitouch",
59
+ "reactive",
60
+ "rstream",
61
+ "stream",
62
+ "touch",
63
+ "typescript"
64
+ ],
65
+ "publishConfig": {
66
+ "access": "public"
67
+ },
68
+ "engines": {
69
+ "node": ">=12.7"
70
+ },
71
+ "files": [
72
+ "*.js",
73
+ "*.d.ts"
74
+ ],
75
+ "exports": {
76
+ ".": {
77
+ "import": "./index.js"
42
78
  },
43
- "devDependencies": {
44
- "@thi.ng/testament": "^0.1.6"
79
+ "./api": {
80
+ "import": "./api.js"
45
81
  },
46
- "keywords": [
47
- "animation",
48
- "dataflow",
49
- "event",
50
- "interaction",
51
- "mouse",
52
- "mousewheel",
53
- "multitouch",
54
- "reactive",
55
- "rstream",
56
- "stream",
57
- "touch",
58
- "typescript"
82
+ "./gesture-stream": {
83
+ "import": "./gesture-stream.js"
84
+ }
85
+ },
86
+ "thi.ng": {
87
+ "parent": "@thi.ng/rstream",
88
+ "related": [
89
+ "hdom",
90
+ "rdom"
59
91
  ],
60
- "publishConfig": {
61
- "access": "public"
62
- },
63
- "engines": {
64
- "node": ">=12.7"
65
- },
66
- "files": [
67
- "*.js",
68
- "*.d.ts"
69
- ],
70
- "exports": {
71
- ".": {
72
- "import": "./index.js"
73
- },
74
- "./api": {
75
- "import": "./api.js"
76
- },
77
- "./gesture-stream": {
78
- "import": "./gesture-stream.js"
79
- }
80
- },
81
- "thi.ng": {
82
- "parent": "@thi.ng/rstream",
83
- "related": [
84
- "hdom",
85
- "rdom"
86
- ],
87
- "year": 2018
88
- },
89
- "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
90
- }
92
+ "year": 2018
93
+ },
94
+ "gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n"
95
+ }