@oliversalzburg/js-utils 0.0.28-dev.2 → 0.0.28-dev.21
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/README.md +2 -0
- package/graphics/canvas-sandbox-mp.d.ts +269 -0
- package/graphics/canvas-sandbox-mp.js +282 -0
- package/graphics/canvas-sandbox-mp.js.map +1 -0
- package/graphics/canvas-sandbox.d.ts +29 -2
- package/graphics/canvas-sandbox.js +7 -16
- package/graphics/canvas-sandbox.js.map +1 -1
- package/graphics/canvas.d.ts +4 -4
- package/graphics/canvas.js +6 -6
- package/graphics/canvas.js.map +1 -1
- package/graphics/canvas2d-headless.d.ts +87 -0
- package/graphics/canvas2d-headless.js +194 -0
- package/graphics/canvas2d-headless.js.map +1 -0
- package/graphics/canvas2d.d.ts +13 -12
- package/graphics/canvas2d.js +22 -13
- package/graphics/canvas2d.js.map +1 -1
- package/graphics/canvas3d.js +4 -2
- package/graphics/canvas3d.js.map +1 -1
- package/graphics/core.d.ts +0 -18
- package/graphics/core.js +0 -346
- package/graphics/core.js.map +1 -1
- package/graphics/index.d.ts +4 -0
- package/graphics/index.js +4 -0
- package/graphics/index.js.map +1 -1
- package/graphics/palette-sampler.d.ts +9 -0
- package/graphics/palette-sampler.js +24 -0
- package/graphics/palette-sampler.js.map +1 -0
- package/graphics/palette.d.ts +126 -0
- package/graphics/palette.js +475 -0
- package/graphics/palette.js.map +1 -0
- package/graphics/render-loop.js +9 -14
- package/graphics/render-loop.js.map +1 -1
- package/log/report.js +1 -1
- package/log/report.js.map +1 -1
- package/math/easing.d.ts +0 -68
- package/math/easing.js +0 -68
- package/math/easing.js.map +1 -1
- package/package.json +10 -9
package/math/easing.js
CHANGED
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
* Calculates an easing multiplier for: Quad In
|
|
4
4
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
5
5
|
* @returns The easing multiplier for the position.
|
|
6
|
-
* @group Math
|
|
7
6
|
* @group Easing
|
|
8
|
-
* @group Animation
|
|
9
7
|
*/
|
|
10
8
|
export const easeInQuad = (position) => {
|
|
11
9
|
return Math.pow(position, 2);
|
|
@@ -14,9 +12,7 @@ export const easeInQuad = (position) => {
|
|
|
14
12
|
* Calculates an easing multiplier for: Quad Out
|
|
15
13
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
16
14
|
* @returns The easing multiplier for the position.
|
|
17
|
-
* @group Math
|
|
18
15
|
* @group Easing
|
|
19
|
-
* @group Animation
|
|
20
16
|
*/
|
|
21
17
|
export const easeOutQuad = (position) => {
|
|
22
18
|
return -(Math.pow(position - 1, 2) - 1);
|
|
@@ -25,9 +21,7 @@ export const easeOutQuad = (position) => {
|
|
|
25
21
|
* Calculates an easing multiplier for: Quad In+Out
|
|
26
22
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
27
23
|
* @returns The easing multiplier for the position.
|
|
28
|
-
* @group Math
|
|
29
24
|
* @group Easing
|
|
30
|
-
* @group Animation
|
|
31
25
|
*/
|
|
32
26
|
export const easeInOutQuad = (position) => {
|
|
33
27
|
if ((position /= 0.5) < 1) {
|
|
@@ -39,9 +33,7 @@ export const easeInOutQuad = (position) => {
|
|
|
39
33
|
* Calculates an easing multiplier for: Cubic In
|
|
40
34
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
41
35
|
* @returns The easing multiplier for the position.
|
|
42
|
-
* @group Math
|
|
43
36
|
* @group Easing
|
|
44
|
-
* @group Animation
|
|
45
37
|
*/
|
|
46
38
|
export const easeInCubic = (position) => {
|
|
47
39
|
return Math.pow(position, 3);
|
|
@@ -50,9 +42,7 @@ export const easeInCubic = (position) => {
|
|
|
50
42
|
* Calculates an easing multiplier for: Cubic Out
|
|
51
43
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
52
44
|
* @returns The easing multiplier for the position.
|
|
53
|
-
* @group Math
|
|
54
45
|
* @group Easing
|
|
55
|
-
* @group Animation
|
|
56
46
|
*/
|
|
57
47
|
export const easeOutCubic = (position) => {
|
|
58
48
|
return Math.pow(position - 1, 3) + 1;
|
|
@@ -61,9 +51,7 @@ export const easeOutCubic = (position) => {
|
|
|
61
51
|
* Calculates an easing multiplier for: Cubic In+Out
|
|
62
52
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
63
53
|
* @returns The easing multiplier for the position.
|
|
64
|
-
* @group Math
|
|
65
54
|
* @group Easing
|
|
66
|
-
* @group Animation
|
|
67
55
|
*/
|
|
68
56
|
export const easeInOutCubic = (position) => {
|
|
69
57
|
if ((position /= 0.5) < 1)
|
|
@@ -74,9 +62,7 @@ export const easeInOutCubic = (position) => {
|
|
|
74
62
|
* Calculates an easing multiplier for: Quart In
|
|
75
63
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
76
64
|
* @returns The easing multiplier for the position.
|
|
77
|
-
* @group Math
|
|
78
65
|
* @group Easing
|
|
79
|
-
* @group Animation
|
|
80
66
|
*/
|
|
81
67
|
export const easeInQuart = (position) => {
|
|
82
68
|
return Math.pow(position, 4);
|
|
@@ -85,9 +71,7 @@ export const easeInQuart = (position) => {
|
|
|
85
71
|
* Calculates an easing multiplier for: Quad Out
|
|
86
72
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
87
73
|
* @returns The easing multiplier for the position.
|
|
88
|
-
* @group Math
|
|
89
74
|
* @group Easing
|
|
90
|
-
* @group Animation
|
|
91
75
|
*/
|
|
92
76
|
export const easeOutQuart = (position) => {
|
|
93
77
|
return -(Math.pow(position - 1, 4) - 1);
|
|
@@ -96,9 +80,7 @@ export const easeOutQuart = (position) => {
|
|
|
96
80
|
* Calculates an easing multiplier for: Quart In+Out
|
|
97
81
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
98
82
|
* @returns The easing multiplier for the position.
|
|
99
|
-
* @group Math
|
|
100
83
|
* @group Easing
|
|
101
|
-
* @group Animation
|
|
102
84
|
*/
|
|
103
85
|
export const easeInOutQuart = (position) => {
|
|
104
86
|
if ((position /= 0.5) < 1)
|
|
@@ -109,9 +91,7 @@ export const easeInOutQuart = (position) => {
|
|
|
109
91
|
* Calculates an easing multiplier for: Quint In
|
|
110
92
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
111
93
|
* @returns The easing multiplier for the position.
|
|
112
|
-
* @group Math
|
|
113
94
|
* @group Easing
|
|
114
|
-
* @group Animation
|
|
115
95
|
*/
|
|
116
96
|
export const easeInQuint = (position) => {
|
|
117
97
|
return Math.pow(position, 5);
|
|
@@ -120,9 +100,7 @@ export const easeInQuint = (position) => {
|
|
|
120
100
|
* Calculates an easing multiplier for: Quint Out
|
|
121
101
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
122
102
|
* @returns The easing multiplier for the position.
|
|
123
|
-
* @group Math
|
|
124
103
|
* @group Easing
|
|
125
|
-
* @group Animation
|
|
126
104
|
*/
|
|
127
105
|
export const easeOutQuint = (position) => {
|
|
128
106
|
return Math.pow(position - 1, 5) + 1;
|
|
@@ -131,9 +109,7 @@ export const easeOutQuint = (position) => {
|
|
|
131
109
|
* Calculates an easing multiplier for: Quint In+Out
|
|
132
110
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
133
111
|
* @returns The easing multiplier for the position.
|
|
134
|
-
* @group Math
|
|
135
112
|
* @group Easing
|
|
136
|
-
* @group Animation
|
|
137
113
|
*/
|
|
138
114
|
export const easeInOutQuint = (position) => {
|
|
139
115
|
if ((position /= 0.5) < 1)
|
|
@@ -144,9 +120,7 @@ export const easeInOutQuint = (position) => {
|
|
|
144
120
|
* Calculates an easing multiplier for: Sine In
|
|
145
121
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
146
122
|
* @returns The easing multiplier for the position.
|
|
147
|
-
* @group Math
|
|
148
123
|
* @group Easing
|
|
149
|
-
* @group Animation
|
|
150
124
|
*/
|
|
151
125
|
export const easeInSine = (position) => {
|
|
152
126
|
return -Math.cos(position * (Math.PI / 2)) + 1;
|
|
@@ -155,9 +129,7 @@ export const easeInSine = (position) => {
|
|
|
155
129
|
* Calculates an easing multiplier for: Sine Out
|
|
156
130
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
157
131
|
* @returns The easing multiplier for the position.
|
|
158
|
-
* @group Math
|
|
159
132
|
* @group Easing
|
|
160
|
-
* @group Animation
|
|
161
133
|
*/
|
|
162
134
|
export const easeOutSine = (position) => {
|
|
163
135
|
return Math.sin(position * (Math.PI / 2));
|
|
@@ -166,9 +138,7 @@ export const easeOutSine = (position) => {
|
|
|
166
138
|
* Calculates an easing multiplier for: Sine In+Out
|
|
167
139
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
168
140
|
* @returns The easing multiplier for the position.
|
|
169
|
-
* @group Math
|
|
170
141
|
* @group Easing
|
|
171
|
-
* @group Animation
|
|
172
142
|
*/
|
|
173
143
|
export const easeInOutSine = (position) => {
|
|
174
144
|
return -0.5 * (Math.cos(Math.PI * position) - 1);
|
|
@@ -177,9 +147,7 @@ export const easeInOutSine = (position) => {
|
|
|
177
147
|
* Calculates an easing multiplier for: Expo In
|
|
178
148
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
179
149
|
* @returns The easing multiplier for the position.
|
|
180
|
-
* @group Math
|
|
181
150
|
* @group Easing
|
|
182
|
-
* @group Animation
|
|
183
151
|
*/
|
|
184
152
|
export const easeInExpo = (position) => {
|
|
185
153
|
return position === 0 ? 0 : Math.pow(2, 10 * (position - 1));
|
|
@@ -188,9 +156,7 @@ export const easeInExpo = (position) => {
|
|
|
188
156
|
* Calculates an easing multiplier for: Expo Out
|
|
189
157
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
190
158
|
* @returns The easing multiplier for the position.
|
|
191
|
-
* @group Math
|
|
192
159
|
* @group Easing
|
|
193
|
-
* @group Animation
|
|
194
160
|
*/
|
|
195
161
|
export const easeOutExpo = (position) => {
|
|
196
162
|
return position === 1 ? 1 : -Math.pow(2, -10 * position) + 1;
|
|
@@ -199,9 +165,7 @@ export const easeOutExpo = (position) => {
|
|
|
199
165
|
* Calculates an easing multiplier for: Expo In+Out
|
|
200
166
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
201
167
|
* @returns The easing multiplier for the position.
|
|
202
|
-
* @group Math
|
|
203
168
|
* @group Easing
|
|
204
|
-
* @group Animation
|
|
205
169
|
*/
|
|
206
170
|
export const easeInOutExpo = (position) => {
|
|
207
171
|
if (position === 0)
|
|
@@ -216,9 +180,7 @@ export const easeInOutExpo = (position) => {
|
|
|
216
180
|
* Calculates an easing multiplier for: Circ In
|
|
217
181
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
218
182
|
* @returns The easing multiplier for the position.
|
|
219
|
-
* @group Math
|
|
220
183
|
* @group Easing
|
|
221
|
-
* @group Animation
|
|
222
184
|
*/
|
|
223
185
|
export const easeInCirc = (position) => {
|
|
224
186
|
return -(Math.sqrt(1 - position * position) - 1);
|
|
@@ -227,9 +189,7 @@ export const easeInCirc = (position) => {
|
|
|
227
189
|
* Calculates an easing multiplier for: Circ Out
|
|
228
190
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
229
191
|
* @returns The easing multiplier for the position.
|
|
230
|
-
* @group Math
|
|
231
192
|
* @group Easing
|
|
232
|
-
* @group Animation
|
|
233
193
|
*/
|
|
234
194
|
export const easeOutCirc = (position) => {
|
|
235
195
|
return Math.sqrt(1 - Math.pow(position - 1, 2));
|
|
@@ -238,9 +198,7 @@ export const easeOutCirc = (position) => {
|
|
|
238
198
|
* Calculates an easing multiplier for: Circ In+Out
|
|
239
199
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
240
200
|
* @returns The easing multiplier for the position.
|
|
241
|
-
* @group Math
|
|
242
201
|
* @group Easing
|
|
243
|
-
* @group Animation
|
|
244
202
|
*/
|
|
245
203
|
export const easeInOutCirc = (position) => {
|
|
246
204
|
if ((position /= 0.5) < 1)
|
|
@@ -251,9 +209,7 @@ export const easeInOutCirc = (position) => {
|
|
|
251
209
|
* Calculates an easing multiplier for: Bounce Out
|
|
252
210
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
253
211
|
* @returns The easing multiplier for the position.
|
|
254
|
-
* @group Math
|
|
255
212
|
* @group Easing
|
|
256
|
-
* @group Animation
|
|
257
213
|
*/
|
|
258
214
|
export const easeOutBounce = (position) => {
|
|
259
215
|
if (position < 1 / 2.75) {
|
|
@@ -271,9 +227,7 @@ export const easeOutBounce = (position) => {
|
|
|
271
227
|
* Calculates an easing multiplier for: Back In
|
|
272
228
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
273
229
|
* @returns The easing multiplier for the position.
|
|
274
|
-
* @group Math
|
|
275
230
|
* @group Easing
|
|
276
|
-
* @group Animation
|
|
277
231
|
*/
|
|
278
232
|
export const easeInBack = (position) => {
|
|
279
233
|
const s = 1.70158;
|
|
@@ -283,9 +237,7 @@ export const easeInBack = (position) => {
|
|
|
283
237
|
* Calculates an easing multiplier for: Back Out
|
|
284
238
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
285
239
|
* @returns The easing multiplier for the position.
|
|
286
|
-
* @group Math
|
|
287
240
|
* @group Easing
|
|
288
|
-
* @group Animation
|
|
289
241
|
*/
|
|
290
242
|
export const easeOutBack = (position) => {
|
|
291
243
|
const s = 1.70158;
|
|
@@ -295,9 +247,7 @@ export const easeOutBack = (position) => {
|
|
|
295
247
|
* Calculates an easing multiplier for: Back In+Out
|
|
296
248
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
297
249
|
* @returns The easing multiplier for the position.
|
|
298
|
-
* @group Math
|
|
299
250
|
* @group Easing
|
|
300
|
-
* @group Animation
|
|
301
251
|
*/
|
|
302
252
|
export const easeInOutBack = (position) => {
|
|
303
253
|
let s = 1.70158;
|
|
@@ -310,9 +260,7 @@ export const easeInOutBack = (position) => {
|
|
|
310
260
|
* Calculates an easing multiplier for: Elastic
|
|
311
261
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
312
262
|
* @returns The easing multiplier for the position.
|
|
313
|
-
* @group Math
|
|
314
263
|
* @group Easing
|
|
315
|
-
* @group Animation
|
|
316
264
|
*/
|
|
317
265
|
export const easeElastic = (position) => {
|
|
318
266
|
return -1 * Math.pow(4, -8 * position) * Math.sin(((position * 6 - 1) * (2 * Math.PI)) / 2) + 1;
|
|
@@ -321,9 +269,7 @@ export const easeElastic = (position) => {
|
|
|
321
269
|
* Calculates an easing multiplier for: Swing In+Out
|
|
322
270
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
323
271
|
* @returns The easing multiplier for the position.
|
|
324
|
-
* @group Math
|
|
325
272
|
* @group Easing
|
|
326
|
-
* @group Animation
|
|
327
273
|
*/
|
|
328
274
|
export const swingInOut = (position) => {
|
|
329
275
|
let s = 1.70158;
|
|
@@ -335,9 +281,7 @@ export const swingInOut = (position) => {
|
|
|
335
281
|
* Calculates an easing multiplier for: Swing In
|
|
336
282
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
337
283
|
* @returns The easing multiplier for the position.
|
|
338
|
-
* @group Math
|
|
339
284
|
* @group Easing
|
|
340
|
-
* @group Animation
|
|
341
285
|
*/
|
|
342
286
|
export const easeSwingIn = (position) => {
|
|
343
287
|
const s = 1.70158;
|
|
@@ -347,9 +291,7 @@ export const easeSwingIn = (position) => {
|
|
|
347
291
|
* Calculates an easing multiplier for: Swing Out
|
|
348
292
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
349
293
|
* @returns The easing multiplier for the position.
|
|
350
|
-
* @group Math
|
|
351
294
|
* @group Easing
|
|
352
|
-
* @group Animation
|
|
353
295
|
*/
|
|
354
296
|
export const easeSwingOut = (position) => {
|
|
355
297
|
const s = 1.70158;
|
|
@@ -359,9 +301,7 @@ export const easeSwingOut = (position) => {
|
|
|
359
301
|
* Calculates an easing multiplier for: Bounce
|
|
360
302
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
361
303
|
* @returns The easing multiplier for the position.
|
|
362
|
-
* @group Math
|
|
363
304
|
* @group Easing
|
|
364
|
-
* @group Animation
|
|
365
305
|
*/
|
|
366
306
|
export const easeBounce = (position) => {
|
|
367
307
|
if (position < 1 / 2.75) {
|
|
@@ -379,9 +319,7 @@ export const easeBounce = (position) => {
|
|
|
379
319
|
* Calculates an easing multiplier for: Bounce Past
|
|
380
320
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
381
321
|
* @returns The easing multiplier for the position.
|
|
382
|
-
* @group Math
|
|
383
322
|
* @group Easing
|
|
384
|
-
* @group Animation
|
|
385
323
|
*/
|
|
386
324
|
export const easeBouncePast = (position) => {
|
|
387
325
|
if (position < 1 / 2.75) {
|
|
@@ -399,9 +337,7 @@ export const easeBouncePast = (position) => {
|
|
|
399
337
|
* Calculates an easing multiplier for: Simple In+Out
|
|
400
338
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
401
339
|
* @returns The easing multiplier for the position.
|
|
402
|
-
* @group Math
|
|
403
340
|
* @group Easing
|
|
404
|
-
* @group Animation
|
|
405
341
|
*/
|
|
406
342
|
export const easeFromTo = (position) => {
|
|
407
343
|
if ((position /= 0.5) < 1) {
|
|
@@ -413,9 +349,7 @@ export const easeFromTo = (position) => {
|
|
|
413
349
|
* Calculates an easing multiplier for: Simple In
|
|
414
350
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
415
351
|
* @returns The easing multiplier for the position.
|
|
416
|
-
* @group Math
|
|
417
352
|
* @group Easing
|
|
418
|
-
* @group Animation
|
|
419
353
|
*/
|
|
420
354
|
export const easeFrom = (position) => {
|
|
421
355
|
return Math.pow(position, 4);
|
|
@@ -424,9 +358,7 @@ export const easeFrom = (position) => {
|
|
|
424
358
|
* Calculates an easing multiplier for: Simple Out
|
|
425
359
|
* @param position - The current position between start and end (from `0` to `1`)
|
|
426
360
|
* @returns The easing multiplier for the position.
|
|
427
|
-
* @group Math
|
|
428
361
|
* @group Easing
|
|
429
|
-
* @group Animation
|
|
430
362
|
*/
|
|
431
363
|
export const easeTo = (position) => {
|
|
432
364
|
return Math.pow(position, 0.25);
|
package/math/easing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"easing.js","sourceRoot":"","sources":["../../source/math/easing.ts"],"names":[],"mappings":"AAAA,mDAAmD;AAEnD
|
|
1
|
+
{"version":3,"file":"easing.js","sourceRoot":"","sources":["../../source/math/easing.ts"],"names":[],"mappings":"AAAA,mDAAmD;AAEnD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,QAAgB,EAAU,EAAE;IACrD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,QAAgB,EAAU,EAAE;IACtD,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1C,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,QAAgB,EAAU,EAAE;IACxD,IAAI,CAAC,QAAQ,IAAI,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1B,OAAO,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACrC,CAAC;IACD,OAAO,CAAC,GAAG,GAAG,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,GAAG,QAAQ,GAAG,CAAC,CAAC,CAAC;AACjD,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,QAAgB,EAAU,EAAE;IACtD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,QAAgB,EAAU,EAAE;IACvD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC;AACvC,CAAC,CAAC;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,IAAI,IAAI,GAAG,IAAI,CAAC,GAAG,QAAQ,GAAG,MAAM,CAAC,CAAC;IACtE,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,QAAQ,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAC;AACzE,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,QAAgB,EAAU,EAAE;IACrD,IAAI,CAAC,QAAQ,IAAI,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1B,OAAO,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACrC,CAAC;IACD,OAAO,CAAC,GAAG,GAAG,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAC9D,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,QAAgB,EAAU,EAAE;IACnD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,QAAgB,EAAU,EAAE;IACjD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AAClC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@oliversalzburg/js-utils",
|
|
4
|
-
"version": "0.0.28-dev.
|
|
4
|
+
"version": "0.0.28-dev.21",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
|
|
7
7
|
"repository": {
|
|
@@ -30,19 +30,20 @@
|
|
|
30
30
|
},
|
|
31
31
|
"types": "./index.d.ts",
|
|
32
32
|
"devDependencies": {
|
|
33
|
+
"@droppedcode/typedoc-plugin-copy-assets": "1.0.10",
|
|
33
34
|
"@types/chai": "4.3.11",
|
|
34
35
|
"@types/chai-as-promised": "7.1.8",
|
|
35
|
-
"@types/eslint": "8.
|
|
36
|
+
"@types/eslint": "8.56.0",
|
|
36
37
|
"@types/mocha": "10.0.6",
|
|
37
|
-
"@types/node": "20.10.
|
|
38
|
-
"@types/web": "0.0.
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
40
|
-
"@typescript-eslint/parser": "6.
|
|
38
|
+
"@types/node": "20.10.5",
|
|
39
|
+
"@types/web": "0.0.129",
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "6.15.0",
|
|
41
|
+
"@typescript-eslint/parser": "6.15.0",
|
|
41
42
|
"c8": "8.0.1",
|
|
42
43
|
"chai": "4.3.10",
|
|
43
44
|
"chai-as-promised": "7.1.1",
|
|
44
|
-
"eslint": "8.
|
|
45
|
-
"eslint-plugin-jsdoc": "46.9.
|
|
45
|
+
"eslint": "8.56.0",
|
|
46
|
+
"eslint-plugin-jsdoc": "46.9.1",
|
|
46
47
|
"eslint-plugin-tsdoc": "0.2.17",
|
|
47
48
|
"lint-staged": "15.2.0",
|
|
48
49
|
"mocha": "10.2.0",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"prettier-plugin-organize-imports": "3.2.4",
|
|
52
53
|
"typedoc": "0.25.4",
|
|
53
54
|
"typedoc-plugin-extras": "3.0.0",
|
|
54
|
-
"typedoc-plugin-mdn-links": "3.1.
|
|
55
|
+
"typedoc-plugin-mdn-links": "3.1.8",
|
|
55
56
|
"typescript": "5.3.3"
|
|
56
57
|
},
|
|
57
58
|
"packageManager": "yarn@4.0.2"
|