@spark-ui/hooks 12.1.2 → 13.0.1-beta.0

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.
@@ -0,0 +1,35 @@
1
+
2
+ 
3
+ > @spark-ui/hooks@10.6.1 build
4
+ > tsup
5
+
6
+ CLI Building entry: src/use-combined-state/index.ts, src/use-merge-refs/index.ts, src/use-mounted-state/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.0
9
+ CLI Using tsup config: /Users/julien.bonnin/projects/personal/spark/packages/hooks/tsup.config.ts
10
+ CLI Target: esnext
11
+ CJS Build start
12
+ ESM Build start
13
+ CJS dist/use-combined-state/index.js 2.73 KB
14
+ CJS dist/use-merge-refs/index.js 1.73 KB
15
+ CJS dist/use-mounted-state/index.js 1.51 KB
16
+ CJS dist/use-combined-state/index.js.map 2.18 KB
17
+ CJS dist/use-mounted-state/index.js.map 833.00 B
18
+ CJS dist/use-merge-refs/index.js.map 1.41 KB
19
+ CJS ⚡️ Build success in 24ms
20
+ ESM dist/use-combined-state/index.mjs 1.00 KB
21
+ ESM dist/use-mounted-state/index.mjs 424.00 B
22
+ ESM dist/use-merge-refs/index.mjs 618.00 B
23
+ ESM dist/use-combined-state/index.mjs.map 2.03 KB
24
+ ESM dist/use-mounted-state/index.mjs.map 701.00 B
25
+ ESM dist/use-merge-refs/index.mjs.map 1.25 KB
26
+ ESM ⚡️ Build success in 25ms
27
+ DTS Build start
28
+ DTS ⚡️ Build success in 3151ms
29
+ DTS dist/use-combined-state/index.d.ts 454.00 B
30
+ DTS dist/use-merge-refs/index.d.ts 333.00 B
31
+ DTS dist/use-mounted-state/index.d.ts 80.00 B
32
+ DTS dist/use-combined-state/index.d.mts 454.00 B
33
+ DTS dist/use-merge-refs/index.d.mts 333.00 B
34
+ DTS dist/use-mounted-state/index.d.mts 80.00 B
35
+ ⠙
@@ -0,0 +1,327 @@
1
+
2
+ 
3
+ > @spark-ui/hooks@10.6.1 lint
4
+ > eslint . --ext .ts,.tsx
5
+
6
+ 
7
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/dist/use-combined-state/index.d.ts
8
+  0:0 error Parsing error: "parserOptions.project" has been provided for @typescript-eslint/parser.
9
+ The file was not found in any of the provided project(s): dist/use-combined-state/index.d.ts
10
+ 
11
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/dist/use-combined-state/index.js
12
+  1:1 warning Replace `"use·strict";` with `'use·strict'` prettier/prettier
13
+  1:1 warning Strings must use singlequote quotes
14
+  2:1 error Unexpected var, use let or const instead no-var
15
+  2:29 warning Delete `;` prettier/prettier
16
+  3:1 error Unexpected var, use let or const instead no-var
17
+  3:38 warning Delete `;` prettier/prettier
18
+  4:1 error Unexpected var, use let or const instead no-var
19
+  4:55 warning Delete `;` prettier/prettier
20
+  5:1 error Unexpected var, use let or const instead no-var
21
+  5:51 warning Delete `;` prettier/prettier
22
+  6:1 error Unexpected var, use let or const instead no-var
23
+  6:41 warning Delete `;` prettier/prettier
24
+  7:1 error Unexpected var, use let or const instead no-var
25
+  7:51 warning Delete `;` prettier/prettier
26
+  8:1 error Unexpected var, use let or const instead no-var
27
+  9:8 error Unexpected var, use let or const instead no-var
28
+  9:24 warning Replace `⏎····__defProp(target,·name,·{·get:·all[name],·enumerable:·true·});` with `·__defProp(target,·name,·{·get:·all[name],·enumerable:·true·})` prettier/prettier
29
+  11:2 warning Delete `;` prettier/prettier
30
+  12:1 error Unexpected var, use let or const instead no-var
31
+  13:7 warning Replace `from·&&·typeof·from·===·"object"·||·typeof·from·===·"function"` with `(from·&&·typeof·from·===·'object')·||·typeof·from·===·'function'` prettier/prettier
32
+  13:31 warning Strings must use singlequote quotes
33
+  13:59 warning Strings must use singlequote quotes
34
+  16:29 warning Replace `·get:·()·=>·from[key],·enumerable:·!(desc·=·__getOwnPropDesc(from,·key))·||·desc.enumerable·});` with `⏎··········get:·()·=>·from[key],⏎··········enumerable:·!(desc·=·__getOwnPropDesc(from,·key))·||·desc.enumerable,⏎········})` prettier/prettier
35
+  18:12 warning Delete `;` prettier/prettier
36
+  19:2 warning Delete `;` prettier/prettier
37
+  20:1 error Unexpected var, use let or const instead no-var
38
+  20:43 warning Replace `·(target·=·mod·!=·null·?·__create(__getProtoOf(mod))·:·{},` with `·(⏎··(target·=·mod·!=·null·?·__create(__getProtoOf(mod))·:·{}),⏎·` prettier/prettier
39
+  21:1 warning Insert `··` prettier/prettier
40
+  22:1 warning Replace `··` with `····` prettier/prettier
41
+  23:1 warning Insert `··` prettier/prettier
42
+  24:1 warning Insert `··` prettier/prettier
43
+  25:3 warning Replace `isNodeMode·||·!mod·||·!mod.__esModule·?·__defProp(target,·"default",·{·value:·mod,·enumerable:·true·})` with `··isNodeMode·||·!mod·||·!mod.__esModule⏎······?·__defProp(target,·'default',·{·value:·mod,·enumerable:·true·})⏎·····` prettier/prettier
44
+  25:61 warning Strings must use singlequote quotes
45
+  26:3 warning Insert `··` prettier/prettier
46
+  27:1 warning Replace `));` with `··)⏎)` prettier/prettier
47
+  28:1 error Unexpected var, use let or const instead no-var
48
+  28:20 warning Replace `(mod)·=>·__copyProps(__defProp({},·"__esModule",·{·value:·true·}),·mod);` with `mod·=>·__copyProps(__defProp({},·'__esModule',·{·value:·true·}),·mod)` prettier/prettier
49
+  28:55 warning Strings must use singlequote quotes
50
+  31:1 error Unexpected var, use let or const instead no-var
51
+  31:36 warning Delete `;` prettier/prettier
52
+  33:43 warning Insert `,` prettier/prettier
53
+  34:3 warning Delete `;` prettier/prettier
54
+  35:58 warning Delete `;` prettier/prettier
55
+  38:1 error Unexpected var, use let or const instead no-var
56
+  38:37 warning Replace `"lodash.isequal"));` with `'lodash.isequal'))` prettier/prettier
57
+  38:37 warning Strings must use singlequote quotes
58
+  39:1 error Unexpected var, use let or const instead no-var
59
+  39:28 warning Replace `"react");` with `'react')` prettier/prettier
60
+  39:28 warning Strings must use singlequote quotes
61
+  41:50 warning Delete `;` prettier/prettier
62
+  42:62 warning Replace `isControlled·?·controlledValue·:·defaultValue);` with `⏎····isControlled·?·controlledValue·:·defaultValue⏎··)` prettier/prettier
63
+  43:79 warning Delete `;` prettier/prettier
64
+  44:60 warning Delete `;` prettier/prettier
65
+  46:6 warning Replace `next,·shouldUpdateProp·=·(prevValue,·nextValue)·=>·!(0,·import_lodash.default)(prevValue,·nextValue)` with `⏎······next,⏎······shouldUpdateProp·=·(prevValue,·nextValue)·=>·!(0,·import_lodash.default)(prevValue,·nextValue)⏎····` prettier/prettier
66
+  47:41 warning Replace `"function"·?·next·:·next(value);` with `'function'·?·next·:·next(value)` prettier/prettier
67
+  47:41 warning Strings must use singlequote quotes
68
+  48:62 warning Delete `;` prettier/prettier
69
+  50:33 warning Delete `;` prettier/prettier
70
+  52:38 warning Delete `;` prettier/prettier
71
+  55:4 warning Delete `;` prettier/prettier
72
+  56:54 warning Delete `;` prettier/prettier
73
+  59:5 warning Insert `⏎·` prettier/prettier
74
+  60:1 warning Replace `··useCombinedState` with `····useCombinedState,` prettier/prettier
75
+  61:1 warning Replace `});` with `··})` prettier/prettier
76
+  62:34 warning Insert `⏎` prettier/prettier
77
+ 
78
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/dist/use-combined-state/index.mjs
79
+  2:21 warning Replace `"lodash.isequal";` with `'lodash.isequal'` prettier/prettier
80
+  2:21 warning Strings must use singlequote quotes
81
+  3:47 warning Replace `"react";` with `'react'` prettier/prettier
82
+  3:47 warning Strings must use singlequote quotes
83
+  5:50 warning Delete `;` prettier/prettier
84
+  6:90 warning Delete `;` prettier/prettier
85
+  7:61 warning Delete `;` prettier/prettier
86
+  8:60 warning Delete `;` prettier/prettier
87
+  11:41 warning Replace `"function"·?·next·:·next(value);` with `'function'·?·next·:·next(value)` prettier/prettier
88
+  11:41 warning Strings must use singlequote quotes
89
+  12:62 warning Delete `;` prettier/prettier
90
+  14:33 warning Delete `;` prettier/prettier
91
+  16:38 warning Delete `;` prettier/prettier
92
+  19:4 warning Delete `;` prettier/prettier
93
+  20:54 warning Delete `;` prettier/prettier
94
+  22:9 warning Replace `⏎··useCombinedState⏎};` with `·useCombinedState·}` prettier/prettier
95
+  25:35 warning Insert `⏎` prettier/prettier
96
+ 
97
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/dist/use-merge-refs/index.d.ts
98
+  0:0 error Parsing error: "parserOptions.project" has been provided for @typescript-eslint/parser.
99
+ The file was not found in any of the provided project(s): dist/use-merge-refs/index.d.ts
100
+ 
101
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/dist/use-merge-refs/index.js
102
+  1:1 warning Replace `"use·strict";` with `'use·strict'` prettier/prettier
103
+  1:1 warning Strings must use singlequote quotes
104
+  2:1 error Unexpected var, use let or const instead no-var
105
+  2:38 warning Delete `;` prettier/prettier
106
+  3:1 error Unexpected var, use let or const instead no-var
107
+  3:55 warning Delete `;` prettier/prettier
108
+  4:1 error Unexpected var, use let or const instead no-var
109
+  4:51 warning Delete `;` prettier/prettier
110
+  5:1 error Unexpected var, use let or const instead no-var
111
+  5:51 warning Delete `;` prettier/prettier
112
+  6:1 error Unexpected var, use let or const instead no-var
113
+  7:8 error Unexpected var, use let or const instead no-var
114
+  7:24 warning Replace `⏎····__defProp(target,·name,·{·get:·all[name],·enumerable:·true·});` with `·__defProp(target,·name,·{·get:·all[name],·enumerable:·true·})` prettier/prettier
115
+  9:2 warning Delete `;` prettier/prettier
116
+  10:1 error Unexpected var, use let or const instead no-var
117
+  11:7 warning Replace `from·&&·typeof·from·===·"object"·||·typeof·from·===·"function"` with `(from·&&·typeof·from·===·'object')·||·typeof·from·===·'function'` prettier/prettier
118
+  11:31 warning Strings must use singlequote quotes
119
+  11:59 warning Strings must use singlequote quotes
120
+  14:29 warning Replace `·get:·()·=>·from[key],·enumerable:·!(desc·=·__getOwnPropDesc(from,·key))·||·desc.enumerable·});` with `⏎··········get:·()·=>·from[key],⏎··········enumerable:·!(desc·=·__getOwnPropDesc(from,·key))·||·desc.enumerable,⏎········})` prettier/prettier
121
+  16:12 warning Delete `;` prettier/prettier
122
+  17:2 warning Delete `;` prettier/prettier
123
+  18:1 error Unexpected var, use let or const instead no-var
124
+  18:20 warning Replace `(mod)·=>·__copyProps(__defProp({},·"__esModule",·{·value:·true·}),·mod);` with `mod·=>·__copyProps(__defProp({},·'__esModule',·{·value:·true·}),·mod)` prettier/prettier
125
+  18:55 warning Strings must use singlequote quotes
126
+  21:1 error Unexpected var, use let or const instead no-var
127
+  21:32 warning Delete `;` prettier/prettier
128
+  25:35 warning Insert `,` prettier/prettier
129
+  26:3 warning Delete `;` prettier/prettier
130
+  27:54 warning Delete `;` prettier/prettier
131
+  30:1 error Unexpected var, use let or const instead no-var
132
+  30:28 warning Replace `"react");` with `'react')` prettier/prettier
133
+  30:28 warning Strings must use singlequote quotes
134
+  33:11 warning Delete `;` prettier/prettier
135
+  35:22 warning Replace `"function"` with `'function'` prettier/prettier
136
+  35:22 warning Strings must use singlequote quotes
137
+  36:15 warning Delete `;` prettier/prettier
138
+  37:11 warning Delete `;` prettier/prettier
139
+  40:5 warning Replace `;⏎····ref.current·=·value;` with `ref.current·=·value` prettier/prettier
140
+  43:70 warning Delete `;` prettier/prettier
141
+  47:10 warning Replace `(value)` with `value` prettier/prettier
142
+  48:17 warning Replace `((ref)·=>·assignRef(ref,·value));` with `(ref·=>·assignRef(ref,·value))` prettier/prettier
143
+  49:4 warning Delete `;` prettier/prettier
144
+  52:67 warning Delete `;` prettier/prettier
145
+  55:5 warning Insert `⏎·` prettier/prettier
146
+  56:1 warning Insert `··` prettier/prettier
147
+  57:3 warning Insert `··` prettier/prettier
148
+  58:1 warning Replace `··useMergeRefs` with `····useMergeRefs,` prettier/prettier
149
+  59:1 warning Replace `});` with `··})` prettier/prettier
150
+  60:34 warning Insert `⏎` prettier/prettier
151
+ 
152
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/dist/use-merge-refs/index.mjs
153
+  2:25 warning Replace `"react";` with `'react'` prettier/prettier
154
+  2:25 warning Strings must use singlequote quotes
155
+  5:11 warning Delete `;` prettier/prettier
156
+  7:22 warning Replace `"function"` with `'function'` prettier/prettier
157
+  7:22 warning Strings must use singlequote quotes
158
+  8:15 warning Delete `;` prettier/prettier
159
+  9:11 warning Delete `;` prettier/prettier
160
+  12:5 warning Replace `;⏎····ref.current·=·value;` with `ref.current·=·value` prettier/prettier
161
+  15:70 warning Delete `;` prettier/prettier
162
+  19:10 warning Replace `(value)` with `value` prettier/prettier
163
+  20:18 warning Replace `(ref)·=>·assignRef(ref,·value));` with `ref·=>·assignRef(ref,·value))` prettier/prettier
164
+  21:4 warning Delete `;` prettier/prettier
165
+  24:49 warning Delete `;` prettier/prettier
166
+  26:9 warning Replace `⏎··assignRef,⏎··mergeRefs,⏎··useMergeRefs⏎};` with `·assignRef,·mergeRefs,·useMergeRefs·}` prettier/prettier
167
+  31:35 warning Insert `⏎` prettier/prettier
168
+ 
169
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/dist/use-mounted-state/index.d.ts
170
+  0:0 error Parsing error: "parserOptions.project" has been provided for @typescript-eslint/parser.
171
+ The file was not found in any of the provided project(s): dist/use-mounted-state/index.d.ts
172
+ 
173
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/dist/use-mounted-state/index.js
174
+  1:1 warning Replace `"use·strict";` with `'use·strict'` prettier/prettier
175
+  1:1 warning Strings must use singlequote quotes
176
+  2:1 error Unexpected var, use let or const instead no-var
177
+  2:38 warning Delete `;` prettier/prettier
178
+  3:1 error Unexpected var, use let or const instead no-var
179
+  3:55 warning Delete `;` prettier/prettier
180
+  4:1 error Unexpected var, use let or const instead no-var
181
+  4:51 warning Delete `;` prettier/prettier
182
+  5:1 error Unexpected var, use let or const instead no-var
183
+  5:51 warning Delete `;` prettier/prettier
184
+  6:1 error Unexpected var, use let or const instead no-var
185
+  7:8 error Unexpected var, use let or const instead no-var
186
+  7:24 warning Replace `⏎····__defProp(target,·name,·{·get:·all[name],·enumerable:·true·});` with `·__defProp(target,·name,·{·get:·all[name],·enumerable:·true·})` prettier/prettier
187
+  9:2 warning Delete `;` prettier/prettier
188
+  10:1 error Unexpected var, use let or const instead no-var
189
+  11:7 warning Replace `from·&&·typeof·from·===·"object"·||·typeof·from·===·"function"` with `(from·&&·typeof·from·===·'object')·||·typeof·from·===·'function'` prettier/prettier
190
+  11:31 warning Strings must use singlequote quotes
191
+  11:59 warning Strings must use singlequote quotes
192
+  14:29 warning Replace `·get:·()·=>·from[key],·enumerable:·!(desc·=·__getOwnPropDesc(from,·key))·||·desc.enumerable·});` with `⏎··········get:·()·=>·from[key],⏎··········enumerable:·!(desc·=·__getOwnPropDesc(from,·key))·||·desc.enumerable,⏎········})` prettier/prettier
193
+  16:12 warning Delete `;` prettier/prettier
194
+  17:2 warning Delete `;` prettier/prettier
195
+  18:1 error Unexpected var, use let or const instead no-var
196
+  18:20 warning Replace `(mod)·=>·__copyProps(__defProp({},·"__esModule",·{·value:·true·}),·mod);` with `mod·=>·__copyProps(__defProp({},·'__esModule',·{·value:·true·}),·mod)` prettier/prettier
197
+  18:55 warning Strings must use singlequote quotes
198
+  21:1 error Unexpected var, use let or const instead no-var
199
+  21:35 warning Delete `;` prettier/prettier
200
+  23:41 warning Insert `,` prettier/prettier
201
+  24:3 warning Delete `;` prettier/prettier
202
+  25:57 warning Delete `;` prettier/prettier
203
+  28:1 error Unexpected var, use let or const instead no-var
204
+  28:28 warning Replace `"react");` with `'react')` prettier/prettier
205
+  28:28 warning Strings must use singlequote quotes
206
+  30:53 warning Delete `;` prettier/prettier
207
+  31:74 warning Delete `;` prettier/prettier
208
+  32:3 warning Insert `;` prettier/prettier
209
+  33:30 warning Delete `;` prettier/prettier
210
+  35:33 warning Delete `;` prettier/prettier
211
+  36:6 warning Delete `;` prettier/prettier
212
+  37:9 warning Delete `;` prettier/prettier
213
+  38:13 warning Delete `;` prettier/prettier
214
+  41:5 warning Insert `⏎·` prettier/prettier
215
+  42:1 warning Replace `··useMountedState` with `····useMountedState,` prettier/prettier
216
+  43:1 warning Replace `});` with `··})` prettier/prettier
217
+  44:34 warning Insert `⏎` prettier/prettier
218
+ 
219
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/dist/use-mounted-state/index.mjs
220
+  2:48 warning Replace `"react";` with `'react'` prettier/prettier
221
+  2:48 warning Strings must use singlequote quotes
222
+  4:35 warning Delete `;` prettier/prettier
223
+  5:56 warning Delete `;` prettier/prettier
224
+  7:30 warning Delete `;` prettier/prettier
225
+  9:33 warning Delete `;` prettier/prettier
226
+  10:6 warning Delete `;` prettier/prettier
227
+  11:9 warning Delete `;` prettier/prettier
228
+  12:13 warning Delete `;` prettier/prettier
229
+  14:9 warning Replace `⏎··useMountedState⏎};` with `·useMountedState·}` prettier/prettier
230
+  17:35 warning Insert `⏎` prettier/prettier
231
+ 
232
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-combined-state/dist/index.d.ts
233
+  1:54 warning Delete `;` prettier/prettier
234
+ 
235
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-combined-state/dist/index.js
236
+  1:1 warning Replace `"use·strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const·S=require("lodash.isequal"),i=require("react");exports.useCombinedState=function(r,o,u){const·e=r!==void·0,{current:s}=i.useRef(e?r:o),[a,l]=i.useState(o),n=e?r:a,f=i.useCallback((c,b=(t,d)=>!S(t,d))=>{const·t=typeof·c!="function"?c:c(n);b(n,t)&&!e&&l(t),u&&u(t)},[e,n,u]);return[n,f,e,s]};` with `'use·strict'⏎Object.defineProperty(exports,·Symbol.toStringTag,·{·value:·'Module'·})⏎const·S·=·require('lodash.isequal'),⏎··i·=·require('react')⏎exports.useCombinedState·=·function·(r,·o,·u)·{⏎··const·e·=·r·!==·void·0,⏎····{·current:·s·}·=·i.useRef(e·?·r·:·o),⏎····[a,·l]·=·i.useState(o),⏎····n·=·e·?·r·:·a,⏎····f·=·i.useCallback(⏎······(c,·b·=·(t,·d)·=>·!S(t,·d))·=>·{⏎········const·t·=·typeof·c·!=·'function'·?·c·:·c(n)⏎········b(n,·t)·&&·!e·&&·l(t),·u·&&·u(t)⏎······},⏎······[e,·n,·u]⏎····)⏎··return·[n,·f,·e,·s]⏎}` prettier/prettier
237
+  1:1 warning Strings must use singlequote quotes
238
+  1:70 warning Strings must use singlequote quotes
239
+  1:97 warning Strings must use singlequote quotes
240
+  1:125 warning Strings must use singlequote quotes
241
+  1:307 warning Strings must use singlequote quotes
242
+ 
243
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-combined-state/dist/index.mjs
244
+  1:1 warning Run autofix to sort these imports! simple-import-sort/imports
245
+  1:15 warning Replace `"lodash.isequal";` with `'lodash.isequal'` prettier/prettier
246
+  1:15 warning Strings must use singlequote quotes
247
+  2:62 warning Replace `"react";` with `'react'` prettier/prettier
248
+  2:62 warning Strings must use singlequote quotes
249
+  4:26 warning Replace `·{·current:·u·}·=·d(o·?·n·:·a),·[f,·m]·=·l(a),·e·=·o·?·n·:·f,·c·=·C(` with `⏎····{·current:·u·}·=·d(o·?·n·:·a),⏎····[f,·m]·=·l(a),⏎····e·=·o·?·n·:·f,⏎····c·=·C(⏎······` prettier/prettier
250
+  5:1 warning Replace `····const·t·=·typeof·r·!=·"function"·?·r·:·r(e);` with `········const·t·=·typeof·r·!=·'function'·?·r·:·r(e)` prettier/prettier
251
+  5:27 warning Strings must use singlequote quotes
252
+  6:1 warning Replace `····p(e,·t)·&&·!o·&&·m(t),·s·&&·s(t);` with `········p(e,·t)·&&·!o·&&·m(t),·s·&&·s(t)` prettier/prettier
253
+  7:3 warning Replace `},·[o,·e,·s]);` with `····},⏎······[o,·e,·s]⏎····)` prettier/prettier
254
+  8:22 warning Delete `;` prettier/prettier
255
+  10:9 warning Replace `⏎··v·as·useCombinedState⏎};` with `·v·as·useCombinedState·}` prettier/prettier
256
+ 
257
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-combined-state/dist/useCombinedState.d.ts
258
+  5:45 warning Replace `controlledValue?:·T,·defaultValue?:·T,·onChange?:·(nextValue:·T)·=>·void` with `⏎··controlledValue?:·T,⏎··defaultValue?:·T,⏎··onChange?:·(nextValue:·T)·=>·void⏎` prettier/prettier
259
+  6:1 warning Replace `····` with `··` prettier/prettier
260
+  7:1 warning Delete `··` prettier/prettier
261
+  8:3 warning Delete `··` prettier/prettier
262
+  9:1 warning Replace `····T·|·undefined` with `··T·|·undefined,` prettier/prettier
263
+  10:2 warning Delete `;` prettier/prettier
264
+ 
265
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-merge-refs/dist/index.d.ts
266
+  1:68 warning Delete `;` prettier/prettier
267
+ 
268
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-merge-refs/dist/index.js
269
+  1:1 warning Replace `"use·strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const·u=require("react");function·r(e,t){if(e!=null)if(typeof·e!="function")try{e.current=t}catch{throw·new·Error(`Cannot·assign·value·'${t}'·to·ref·'${e}'`)}else·e(t)}function·n(...e){return·t=>{e.forEach(o=>r(o,t))}}exports.assignRef=r,exports.mergeRefs=n,exports.useMergeRefs=function(...e){return·u.useMemo(()=>n(...e),e)};` with `'use·strict'⏎Object.defineProperty(exports,·Symbol.toStringTag,·{·value:·'Module'·})⏎const·u·=·require('react')⏎function·r(e,·t)·{⏎··if·(e·!=·null)⏎····if·(typeof·e·!=·'function')⏎······try·{⏎········e.current·=·t⏎······}·catch·{⏎········throw·new·Error(`Cannot·assign·value·'${t}'·to·ref·'${e}'`)⏎······}⏎····else·e(t)⏎}⏎function·n(...e)·{⏎··return·t·=>·{⏎····e.forEach(o·=>·r(o,·t))⏎··}⏎}⏎;(exports.assignRef·=·r),⏎··(exports.mergeRefs·=·n),⏎··(exports.useMergeRefs·=·function·(...e)·{⏎····return·u.useMemo(()·=>·n(...e),·e)⏎··})` prettier/prettier
270
+  1:1 warning Strings must use singlequote quotes
271
+  1:70 warning Strings must use singlequote quotes
272
+  1:97 warning Strings must use singlequote quotes
273
+  1:146 warning Strings must use singlequote quotes
274
+ 
275
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-merge-refs/dist/index.mjs
276
+  1:30 warning Replace `"react";` with `'react'` prettier/prettier
277
+  1:30 warning Strings must use singlequote quotes
278
+  4:21 warning Replace `"function"` with `'function'` prettier/prettier
279
+  4:21 warning Strings must use singlequote quotes
280
+  6:22 warning Delete `;` prettier/prettier
281
+  8:68 warning Delete `;` prettier/prettier
282
+  10:9 warning Replace `⏎······e(t);` with `·e(t)` prettier/prettier
283
+  14:10 warning Replace `(t)` with `t` prettier/prettier
284
+  15:15 warning Replace `(n)·=>·r(n,·t));` with `n·=>·r(n,·t))` prettier/prettier
285
+  16:4 warning Delete `;` prettier/prettier
286
+  19:29 warning Delete `;` prettier/prettier
287
+  21:9 warning Replace `⏎··r·as·assignRef,⏎··f·as·mergeRefs,⏎··u·as·useMergeRefs⏎};` with `·r·as·assignRef,·f·as·mergeRefs,·u·as·useMergeRefs·}` prettier/prettier
288
+ 
289
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-merge-refs/dist/useMergeRefs.d.ts
290
+  1:41 warning Delete `;` prettier/prettier
291
+  2:85 warning Delete `;` prettier/prettier
292
+  3:86 warning Delete `;` prettier/prettier
293
+  4:89 warning Delete `;` prettier/prettier
294
+ 
295
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-mounted-state/dist/index.d.ts
296
+  1:52 warning Delete `;` prettier/prettier
297
+ 
298
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-mounted-state/dist/index.js
299
+  1:1 warning Replace `"use·strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const·t=require("react");exports.useMountedState=function(){const·e=t.useRef(!1),r=t.useCallback(()=>e.current,[]);return·t.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),r};` with `'use·strict'⏎Object.defineProperty(exports,·Symbol.toStringTag,·{·value:·'Module'·})⏎const·t·=·require('react')⏎exports.useMountedState·=·function·()·{⏎··const·e·=·t.useRef(!1),⏎····r·=·t.useCallback(()·=>·e.current,·[])⏎··return·(⏎····t.useEffect(⏎······()·=>·(⏎········(e.current·=·!0),⏎········()·=>·{⏎··········e.current·=·!1⏎········}⏎······),⏎······[]⏎····),⏎····r⏎··)⏎}` prettier/prettier
300
+  1:1 warning Strings must use singlequote quotes
301
+  1:70 warning Strings must use singlequote quotes
302
+  1:97 warning Strings must use singlequote quotes
303
+ 
304
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-mounted-state/dist/index.mjs
305
+  1:1 warning Run autofix to sort these imports! simple-import-sort/imports
306
+  1:63 warning Replace `"react";` with `'react'` prettier/prettier
307
+  1:63 warning Strings must use singlequote quotes
308
+  3:19 warning Replace `·t·=·u(()·=>·e.current,·[]);` with `⏎····t·=·u(()·=>·e.current,·[])` prettier/prettier
309
+  4:10 warning Replace `c(()·=>·(e.current·=·!0,` with `(⏎····c(⏎······()·=>·(⏎········(e.current·=·!0),⏎·······` prettier/prettier
310
+  5:1 warning Replace `····e.current·=·!1;` with `··········e.current·=·!1` prettier/prettier
311
+  6:1 warning Replace `··}),·[]),·t;` with `········}⏎······),⏎······[]⏎····),⏎····t⏎··)` prettier/prettier
312
+  8:9 warning Replace `⏎··s·as·useMountedState⏎};` with `·s·as·useMountedState·}` prettier/prettier
313
+ 
314
+ /Users/julien.bonnin/projects/personal/spark/packages/hooks/use-mounted-state/dist/useMountedState.d.ts
315
+  1:57 warning Delete `;` prettier/prettier
316
+ 
317
+ ✖ 265 problems (37 errors, 228 warnings)
318
+  34 errors and 228 warnings potentially fixable with the `--fix` option.
319
+ 
320
+ ⠙npm error Lifecycle script `lint` failed with error:
321
+ ⠙npm error code 1
322
+ ⠙npm error path /Users/julien.bonnin/projects/personal/spark/packages/hooks
323
+ ⠙npm error workspace @spark-ui/hooks@10.6.1
324
+ ⠙npm error location /Users/julien.bonnin/projects/personal/spark/packages/hooks
325
+ ⠙npm error command failed
326
+ ⠙npm error command sh -c eslint . --ext .ts,.tsx
327
+ ⠙
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [13.0.1-beta.0](https://github.com/leboncoin/spark-web/compare/v12.2.0...v13.0.1-beta.0) (2025-12-11)
7
+
8
+ **Note:** Version bump only for package @spark-ui/hooks
9
+
10
+ # [13.0.0](https://github.com/leboncoin/spark-web/compare/v12.2.0...v13.0.0) (2025-12-11)
11
+
12
+ **Note:** Version bump only for package @spark-ui/hooks
13
+
14
+ # [12.2.0](https://github.com/leboncoin/spark-web/compare/v12.1.2...v12.2.0) (2025-12-05)
15
+
16
+ **Note:** Version bump only for package @spark-ui/hooks
17
+
6
18
  ## [12.1.2](https://github.com/leboncoin/spark-web/compare/v12.1.1...v12.1.2) (2025-12-04)
7
19
 
8
20
  **Note:** Version bump only for package @spark-ui/hooks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/hooks",
3
- "version": "12.1.2",
3
+ "version": "13.0.1-beta.0",
4
4
  "description": "Common hooks for Spark UI",
5
5
  "exports": {
6
6
  "./*": {
@@ -49,5 +49,5 @@
49
49
  },
50
50
  "homepage": "https://sparkui.vercel.app",
51
51
  "license": "MIT",
52
- "gitHead": "60d00124282ddb7302a2897c1002e4cb8fc3c1bd"
52
+ "gitHead": "06d5b290484b298ad906d2de9011603905493c58"
53
53
  }