graphql-request
Advanced tools
Comparing version 7.1.0 to 7.1.1
{ | ||
"name": "graphql-request", | ||
"version": "7.1.0", | ||
"packageManager": "pnpm@9.4.0", | ||
"version": "7.1.1", | ||
"type": "module", | ||
"bin": { | ||
"graffle": "./build/cli/generate.js" | ||
}, | ||
"main": "./build/entrypoints/main.js", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./build/entrypoints/main.d.ts", | ||
"default": "./build/entrypoints/main.js" | ||
} | ||
}, | ||
"./alpha/client": { | ||
"import": { | ||
"types": "./build/entrypoints/alpha/client.d.ts", | ||
"default": "./build/entrypoints/alpha/client.js" | ||
} | ||
}, | ||
"./alpha/schema": { | ||
"import": { | ||
"types": "./build/entrypoints/alpha/schema.d.ts", | ||
"default": "./build/entrypoints/alpha/schema.js" | ||
} | ||
}, | ||
"./alpha/schema/scalars": { | ||
"import": { | ||
"types": "./build/entrypoints/alpha/scalars.d.ts", | ||
"default": "./build/entrypoints/alpha/scalars.js" | ||
} | ||
"default": "./build/entrypoints/main.js" | ||
} | ||
@@ -59,47 +35,8 @@ }, | ||
"homepage": "https://github.com/jasonkuhrt/graphql-request", | ||
"scripts": { | ||
"gen:test:schema": "tsx tests/_/schemaGenerate.ts", | ||
"demo": "tsx src/cli/generateSchema.ts && dprint fmt src/demo.ts", | ||
"dev": "rm -rf dist && tsc --watch", | ||
"format": "pnpm build:docs && dprint fmt", | ||
"lint": "eslint . --fix", | ||
"check": "pnpm check:types && pnpm check:format && pnpm check:lint && pnpm check:publint", | ||
"check:types": "pnpm tsc --noEmit", | ||
"check:format": "dprint check && pnpm build:docs && git diff --exit-code README.md", | ||
"check:lint": "eslint . --max-warnings 0", | ||
"check:publint": "publint run --strict", | ||
"prepublishOnly": "pnpm build", | ||
"build:docs": "doctoc README.md --notitle && dprint fmt README.md", | ||
"build": "pnpm clean && pnpm tsc --project tsconfig.build.json && chmod +x ./build/cli/generate.js", | ||
"clean": "tsc --build --clean && rm -rf build", | ||
"test": "vitest", | ||
"test:web": "vitest --environment jsdom", | ||
"test:types": "vitest --typecheck", | ||
"test:coverage": "pnpm test -- --coverage", | ||
"release:stable": "dripip stable", | ||
"release:preview": "dripip preview", | ||
"release:pr": "dripip pr" | ||
}, | ||
"dependencies": { | ||
"@graphql-typed-document-node/core": "^3.2.0", | ||
"@molt/command": "^0.9.0", | ||
"zod": "^3.23.8" | ||
"@graphql-typed-document-node/core": "^3.2.0" | ||
}, | ||
"peerDependencies": { | ||
"@dprint/formatter": "^0.3.0", | ||
"@dprint/typescript": "^0.91.1", | ||
"dprint": "^0.46.2", | ||
"graphql": "14 - 16" | ||
}, | ||
"peerDependenciesMeta": { | ||
"dprint": { | ||
"optional": true | ||
}, | ||
"@dprint/formatter": { | ||
"optional": true | ||
}, | ||
"@dprint/typescript": { | ||
"optional": true | ||
} | ||
}, | ||
"devDependencies": { | ||
@@ -142,3 +79,25 @@ "@arethetypeswrong/cli": "^0.15.3", | ||
"vitest": "^1.6.0" | ||
}, | ||
"scripts": { | ||
"gen:test:schema": "tsx tests/_/schemaGenerate.ts", | ||
"demo": "tsx src/cli/generateSchema.ts && dprint fmt src/demo.ts", | ||
"dev": "rm -rf dist && tsc --watch", | ||
"format": "pnpm build:docs && dprint fmt", | ||
"lint": "eslint . --fix", | ||
"check": "pnpm check:types && pnpm check:format && pnpm check:lint && pnpm check:publint", | ||
"check:types": "pnpm tsc --noEmit", | ||
"check:format": "dprint check && pnpm build:docs && git diff --exit-code README.md", | ||
"check:lint": "eslint . --max-warnings 0", | ||
"check:publint": "publint run --strict", | ||
"build:docs": "doctoc README.md --notitle && dprint fmt README.md", | ||
"build": "pnpm clean && pnpm tsc --project tsconfig.build.json", | ||
"clean": "tsc --build --clean && rm -rf build", | ||
"test": "vitest", | ||
"test:web": "vitest --environment jsdom", | ||
"test:types": "vitest --typecheck", | ||
"test:coverage": "pnpm test -- --coverage", | ||
"release:stable": "dripip stable", | ||
"release:preview": "dripip preview", | ||
"release:pr": "dripip pr" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # graphql-request | ||
![GitHub Action](https://github.com/jasonkuhrt/graphql-request/workflows/trunk/badge.svg) [![npm version](https://badge.fury.io/js/graphql-request.svg)](https://badge.fury.io/js/graphql-request) | ||
![GitHub Action](https://github.com/graffle-js/graffle/workflows/trunk/badge.svg) [![npm version](https://badge.fury.io/js/graphql-request.svg)](https://badge.fury.io/js/graphql-request) | ||
@@ -167,3 +167,3 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
OperationName has been introduced to address issues reported here [Support operation name](https://github.com/jasonkuhrt/graphql-request/issues/64), | ||
OperationName has been introduced to address issues reported here [Support operation name](https://github.com/graffle-js/graffle/issues/64), | ||
However, on certain occasions this information may not be needed in requests. In such cases, you might consider ignoring operationName to avoid the extraction steps currently performed by a parsing operation when the document is provided in string format. | ||
@@ -190,3 +190,3 @@ | ||
In [this issue](https://github.com/jasonkuhrt/graphql-request/issues/500) we decided to make this library more stable and maintainable. In principal the feature is still in scope of this library and will make a return when we find time to do the feature right. | ||
In [this issue](https://github.com/graffle-js/graffle/issues/500) we decided to make this library more stable and maintainable. In principal the feature is still in scope of this library and will make a return when we find time to do the feature right. | ||
@@ -193,0 +193,0 @@ #### Why do I have to install `graphql`? |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
3
320352
166
5421
- Removed@molt/command@^0.9.0
- Removedzod@^3.23.8
- Removed@dprint/darwin-arm64@0.46.3(transitive)
- Removed@dprint/darwin-x64@0.46.3(transitive)
- Removed@dprint/formatter@0.3.0(transitive)
- Removed@dprint/linux-arm64-glibc@0.46.3(transitive)
- Removed@dprint/linux-arm64-musl@0.46.3(transitive)
- Removed@dprint/linux-x64-glibc@0.46.3(transitive)
- Removed@dprint/linux-x64-musl@0.46.3(transitive)
- Removed@dprint/typescript@0.91.8(transitive)
- Removed@dprint/win32-x64@0.46.3(transitive)
- Removed@molt/command@0.9.0(transitive)
- Removed@molt/types@0.2.0(transitive)
- Removedalge@0.8.1(transitive)
- Removedansi-regex@6.1.0(transitive)
- Removedchalk@5.3.0(transitive)
- Removeddprint@0.46.3(transitive)
- Removedlodash.camelcase@4.3.0(transitive)
- Removedlodash.ismatch@4.4.0(transitive)
- Removedlodash.snakecase@4.1.1(transitive)
- Removedreadline-sync@1.4.10(transitive)
- Removedremeda@1.61.0(transitive)
- Removedstring-length@6.0.0(transitive)
- Removedstrip-ansi@7.1.0(transitive)
- Removedts-toolbelt@9.6.0(transitive)
- Removedtype-fest@4.26.1(transitive)
- Removedzod@3.23.8(transitive)