@tanstack/svelte-query-devtools 6.3.1 → 6.3.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.
@@ -43,7 +43,8 @@
43
43
  */
44
44
  styleNonce?: string
45
45
  /**
46
- * Use this so you can attach the devtool's styles to specific element in the DOM.
46
+ * Use this to pass a shadow DOM target to the devtools so that the styles will be applied
47
+ * within the shadow DOM instead of within the head tag in the light DOM.
47
48
  */
48
49
  shadowDOMTarget?: ShadowRoot
49
50
  /**
@@ -32,7 +32,8 @@ interface DevtoolsOptions {
32
32
  */
33
33
  styleNonce?: string;
34
34
  /**
35
- * Use this so you can attach the devtool's styles to specific element in the DOM.
35
+ * Use this to pass a shadow DOM target to the devtools so that the styles will be applied
36
+ * within the shadow DOM instead of within the head tag in the light DOM.
36
37
  */
37
38
  shadowDOMTarget?: ShadowRoot;
38
39
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Devtools.svelte.d.ts","sourceRoot":"","sources":["../src/Devtools.svelte.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,EACR,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAEhB,KAAK,EACN,MAAM,0BAA0B,CAAC;AAGlC,UAAU,eAAe;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAA;IACvC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAA;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAA;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,eAAe,CAAC,EAAE,UAAU,CAAA;IAC5B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AA2EH,QAAA,MAAM,QAAQ,qDAAwC,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Devtools.svelte.d.ts","sourceRoot":"","sources":["../src/Devtools.svelte.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,EACR,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAEhB,KAAK,EACN,MAAM,0BAA0B,CAAC;AAGlC,UAAU,eAAe;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAA;IACvC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAA;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAA;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,eAAe,CAAC,EAAE,UAAU,CAAA;IAC5B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AA2EH,QAAA,MAAM,QAAQ,qDAAwC,CAAC;AACvD,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC5C,eAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/svelte-query-devtools",
3
- "version": "6.3.1",
3
+ "version": "6.3.3",
4
4
  "description": "Developer tools to interact with and visualize the TanStack/svelte-query cache",
5
5
  "author": "Lachlan Collins",
6
6
  "license": "MIT",
@@ -38,34 +38,34 @@
38
38
  "!src/__tests__"
39
39
  ],
40
40
  "dependencies": {
41
- "@tanstack/query-devtools": "5.104.1",
41
+ "@tanstack/query-devtools": "5.104.3",
42
42
  "esm-env": "^1.2.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@sveltejs/package": "^2.5.8",
46
46
  "@sveltejs/vite-plugin-svelte": "^7.3.1",
47
- "@tanstack/svelte-query": "6.3.1",
47
+ "@tanstack/svelte-query": "6.3.3",
48
48
  "@testing-library/svelte": "^5.2.8",
49
- "@typescript-eslint/parser": "^8.70.1",
49
+ "@typescript-eslint/parser": "^8.71.1",
50
50
  "eslint-plugin-svelte": "^3.23.0",
51
51
  "svelte": "^5.57.1",
52
52
  "svelte-check": "^4.4.5",
53
53
  "typescript": "6.0.3"
54
54
  },
55
55
  "peerDependencies": {
56
- "@tanstack/svelte-query": "^6.3.1",
56
+ "@tanstack/svelte-query": "^6.3.3",
57
57
  "svelte": "^5.25.0"
58
58
  },
59
59
  "scripts": {
60
60
  "clean": "premove ./dist ./coverage ./.svelte-kit ./dist-ts",
61
61
  "compile": "tsc --project tsconfig.json",
62
62
  "test:types": "npm-run-all --serial test:types:*",
63
- "test:types:ts56": "node -e \"const Module = require('module'); const resolveFilename = Module._resolveFilename; let swapped = false; Module._resolveFilename = function (request, ...args) { if (request === 'typescript' || request.startsWith('typescript/')) { request = request.replace('typescript', 'typescript56'); swapped = true } return resolveFilename.call(this, request, ...args) }; process.on('exit', () => { if (!swapped) { console.error('svelte-check did not load typescript56'); process.exitCode = 1 } }); process.argv.splice(1, 0, ''); require('svelte-check/bin/svelte-check')\" -- --tsconfig ./tsconfig.legacy.json",
64
63
  "test:types:ts57": "node -e \"const Module = require('module'); const resolveFilename = Module._resolveFilename; let swapped = false; Module._resolveFilename = function (request, ...args) { if (request === 'typescript' || request.startsWith('typescript/')) { request = request.replace('typescript', 'typescript57'); swapped = true } return resolveFilename.call(this, request, ...args) }; process.on('exit', () => { if (!swapped) { console.error('svelte-check did not load typescript57'); process.exitCode = 1 } }); process.argv.splice(1, 0, ''); require('svelte-check/bin/svelte-check')\" -- --tsconfig ./tsconfig.legacy.json",
65
64
  "test:types:ts58": "node -e \"const Module = require('module'); const resolveFilename = Module._resolveFilename; let swapped = false; Module._resolveFilename = function (request, ...args) { if (request === 'typescript' || request.startsWith('typescript/')) { request = request.replace('typescript', 'typescript58'); swapped = true } return resolveFilename.call(this, request, ...args) }; process.on('exit', () => { if (!swapped) { console.error('svelte-check did not load typescript58'); process.exitCode = 1 } }); process.argv.splice(1, 0, ''); require('svelte-check/bin/svelte-check')\" -- --tsconfig ./tsconfig.legacy.json",
66
65
  "test:types:ts59": "node -e \"const Module = require('module'); const resolveFilename = Module._resolveFilename; let swapped = false; Module._resolveFilename = function (request, ...args) { if (request === 'typescript' || request.startsWith('typescript/')) { request = request.replace('typescript', 'typescript59'); swapped = true } return resolveFilename.call(this, request, ...args) }; process.on('exit', () => { if (!swapped) { console.error('svelte-check did not load typescript59'); process.exitCode = 1 } }); process.argv.splice(1, 0, ''); require('svelte-check/bin/svelte-check')\" -- --tsconfig ./tsconfig.legacy.json",
67
66
  "test:types:tscurrent": "svelte-check --tsconfig ./tsconfig.json",
68
67
  "test:eslint": "eslint --concurrency=auto ./src",
68
+ "test:oxlint": "oxlint ./src",
69
69
  "test:lib": "vitest",
70
70
  "test:lib:dev": "pnpm run test:lib --watch",
71
71
  "test:build": "publint --strict && attw --pack",
@@ -43,7 +43,8 @@
43
43
  */
44
44
  styleNonce?: string
45
45
  /**
46
- * Use this so you can attach the devtool's styles to specific element in the DOM.
46
+ * Use this to pass a shadow DOM target to the devtools so that the styles will be applied
47
+ * within the shadow DOM instead of within the head tag in the light DOM.
47
48
  */
48
49
  shadowDOMTarget?: ShadowRoot
49
50
  /**