tsdf 15.0.0 → 15.1.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/dist/main.cjs CHANGED
@@ -1519,7 +1519,7 @@ function newTSDFListQueryStore({
1519
1519
  const itemInvalidationWasTriggered = /* @__PURE__ */ new Set();
1520
1520
  function invalidateItem(itemId, priority = "highPriority") {
1521
1521
  if (!fetchItemOrquestrator) {
1522
- throw new Error(noFetchFnError);
1522
+ return;
1523
1523
  }
1524
1524
  const itemsKey = getItemsKeyArray(itemId);
1525
1525
  for (const { itemKey, payload } of itemsKey) {
package/dist/main.js CHANGED
@@ -1489,7 +1489,7 @@ function newTSDFListQueryStore({
1489
1489
  const itemInvalidationWasTriggered = /* @__PURE__ */ new Set();
1490
1490
  function invalidateItem(itemId, priority = "highPriority") {
1491
1491
  if (!fetchItemOrquestrator) {
1492
- throw new Error(noFetchFnError);
1492
+ return;
1493
1493
  }
1494
1494
  const itemsKey = getItemsKeyArray(itemId);
1495
1495
  for (const { itemKey, payload } of itemsKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsdf",
3
- "version": "15.0.0",
3
+ "version": "15.1.0",
4
4
  "description": "A data fetching solution based on t-state",
5
5
  "license": "MIT",
6
6
  "author": "Lucas Santos",
@@ -29,14 +29,13 @@
29
29
  "@types/node": "^20.8.4",
30
30
  "@types/react": "^18.2.28",
31
31
  "@types/react-dom": "^18.2.13",
32
- "@types/testing-library__jest-dom": "^6.0.0",
33
32
  "@typescript-eslint/eslint-plugin": "^6.7.5",
34
33
  "@typescript-eslint/parser": "^6.7.5",
35
- "@vitest/ui": "1.0.0-beta.1",
34
+ "@vitest/ui": "1.0.4",
36
35
  "eslint": "^8.51.0",
37
36
  "eslint-plugin-local-rules": "^2.0.0",
38
37
  "eslint-plugin-react-hooks": "^4.6.0",
39
- "eslint-plugin-vitest": "^0.3.2",
38
+ "eslint-plugin-vitest": "^0.3.15",
40
39
  "happy-dom": "^12.9.1",
41
40
  "jsdom": "^22.1.0",
42
41
  "prettier": "^3.0.3",
@@ -48,13 +47,13 @@
48
47
  "tsup": "^7.2.0",
49
48
  "typescript": "^5.2.2",
50
49
  "vite": "^4.4.11",
51
- "vitest": "1.0.0-beta.1"
50
+ "vitest": "1.0.4"
52
51
  },
53
52
  "dependencies": {
54
53
  "evtmitter": "^0.3.3",
55
54
  "immer": "^10.0.3",
56
55
  "klona": "^2.0.6",
57
- "t-state": "^8.10.1"
56
+ "t-state": "^9.0.0"
58
57
  },
59
58
  "peerDependencies": {
60
59
  "react": "^18.0.0",