// npm package
@kizlo/tanstack-query
weekly
1
monthly
24
versions
3
maintainers
1
license
MIT
first publish
2026-03-21
publisher
idjgill
tarball
133,614 B
AUTO-PUBLISHED·1 version indexed·latest published 2026-05-20
// offending code· @1.0.0-alpha.3· no static-pattern hits
llm: benign · 0.85→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
- @1.0.0-alpha.3··AUTO-PUBLISHED·publisher: idjgillheuristic 89/100static flags 0llm benign (0.85) via ollamanew-publisher:0dknown-actor-target:teampcp:tanstackpublisher-multi-name-burst:5publisher-version-pump:6
→ No suspicious destination, no remote-exec shape — 1 known-vendor host(s).
// offending code· no static-pattern hits
--- package.json (entry) --- { "name": "@kizlo/tanstack-query", "type": "module", "version": "1.0.0-alpha.3", "license": "MIT", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./kit": { "import": { "types": "./dist/kit.d.ts", "default": "./dist/kit.js" }, "require": { "types": "./dist/kit.d.cts", "default": "./dist/kit.cjs" } } }, "files": [ "dist" ], "publishConfig": { "access": "public" }, "dependencies": { "@kizlo/shared": "1.0.0-alpha.9", "@orpc/tanstack-query": "1.14.3" }, "peerDependencies": { "@kizlo/woocommerce": "^1.0.0-alpha.3", "@tanstack/react-query": ">=5.100.11", "kizlo": "^1.0.0-alpha.19", "react": "^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@kizlo/woocommerce": { "optional": true } } } --- index.js (entry) --- import { createTanstackQueryUtils } from "@orpc/tanstack-query"; //#region src/utils.ts function createQueryUtils(routerClient) { const utils = createTanstackQueryUtils(routerClient); return new Proxy({}, { get(_, p, receiver) { if (p === "_") return { activeExtensions: Object.keys(routerClient.extensions) }; return Reflect.get(utils, p, receiver); } }); } function mapUserToCustomer(user, prev) { return { ...user, addresses: prev?.addresses ?? [], billing: prev?.billing ?? {}, shipping: prev?.shipping ?? {}, is_paying_customer: prev?.is_paying_customer ?? false }; } //#endregion export { createQueryUtils, mapUserToCustomer }; //# sourceMappingURL=index.js.map
