Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-request

Package Overview
Dependencies
Maintainers
5
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-request - npm Package Compare versions

Comparing version 7.1.0 to 7.1.1

93

package.json
{
"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`?

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc