nanoeffects 0.20.0 → 0.22.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nanoeffects",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "Cancel stale async work and fix race conditions in event handlers: a typed event bus where every handler is a task with an AbortSignal, plus latest, debounce, throttle, queue, retry, timeout and poll. About 1.4 kB gzip.",
5
5
  "keywords": [
6
6
  "event-bus",
@@ -126,6 +126,10 @@
126
126
  "types": "./dist/react.d.ts",
127
127
  "import": "./dist/react.js"
128
128
  },
129
+ "./svelte": {
130
+ "types": "./dist/svelte.d.ts",
131
+ "import": "./dist/svelte.js"
132
+ },
129
133
  "./vue": {
130
134
  "types": "./dist/vue.d.ts",
131
135
  "import": "./dist/vue.js"
@@ -166,6 +170,7 @@
166
170
  "@reduxjs/toolkit": "^2.13.0",
167
171
  "@size-limit/esbuild": "^14.2.0",
168
172
  "@size-limit/file": "^14.2.0",
173
+ "@tanstack/react-query": "^5.105.0",
169
174
  "@types/react": "^19.3.0",
170
175
  "@types/react-dom": "^19.3.0",
171
176
  "@vitejs/plugin-react": "^6.1.2",
@@ -182,6 +187,7 @@
182
187
  "react-dom": "^19.3.1",
183
188
  "redux": "^5.0.1",
184
189
  "size-limit": "^14.2.0",
190
+ "svelte": "^5.57.3",
185
191
  "tsdown": "0.23.1",
186
192
  "typescript": "7.0.2",
187
193
  "typescript-5": "npm:typescript@^5.9.3",
@@ -206,7 +212,7 @@
206
212
  {
207
213
  "name": "policies (all)",
208
214
  "path": "dist/policies.js",
209
- "limit": "2.6 kB"
215
+ "limit": "2.65 kB"
210
216
  },
211
217
  {
212
218
  "name": "effects (all)",
@@ -261,6 +267,14 @@
261
267
  ],
262
268
  "limit": "1.24 kB"
263
269
  },
270
+ {
271
+ "name": "svelte",
272
+ "path": "dist/svelte.js",
273
+ "ignore": [
274
+ "svelte"
275
+ ],
276
+ "limit": "0.3 kB"
277
+ },
264
278
  {
265
279
  "name": "vue",
266
280
  "path": "dist/vue.js",
@@ -282,12 +296,16 @@
282
296
  ],
283
297
  "peerDependencies": {
284
298
  "react": ">=18",
299
+ "svelte": ">=5",
285
300
  "vue": ">=3.3"
286
301
  },
287
302
  "peerDependenciesMeta": {
288
303
  "react": {
289
304
  "optional": true
290
305
  },
306
+ "svelte": {
307
+ "optional": true
308
+ },
291
309
  "vue": {
292
310
  "optional": true
293
311
  }