Socket
Socket
Sign inDemoInstall

graphql-http

Package Overview
Dependencies
1
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous124Next

1.6.1

Diff

Changelog

Source

1.6.1 (2022-09-12)

Bug Fixes

  • server: Accepting application/json SHOULD use status code 200 (9622ea0)
  • server: Adjust audits following the spec (2b21b08)
  • server: Audits requires 4xx shouldnt consider 5xx (59c51fa)
  • server: Audits respect legacy watershed (050c7ba)
  • server: Audits safely handle unparsable JSON in response body (f8098b6)
enisdenjo
published 1.6.0 •

Changelog

Source

1.6.0 (2022-09-01)

Features

  • server: Data entry audits when accepting application/graphql-response+json (fe6f60d)
enisdenjo
published 1.5.0 •

Changelog

Source

1.5.0 (2022-08-30)

Features

  • server: Audits and test function (#4) (431e513)
enisdenjo
published 1.4.0 •

Changelog

Source

1.4.0 (2022-08-16)

Bug Fixes

  • handler: JSON body must be an object (f500fa7)

Features

  • handler: Request's body field may be a parser function (268a4bf)
enisdenjo
published 1.3.0 •

Changelog

Source

1.3.0 (2022-08-16)

Features

  • Change GraphQL acceptable media type application/graphql+json to application/graphql-response+json (d86318a)
enisdenjo
published 1.2.0 •

Changelog

Source

1.2.0 (2022-08-12)

Bug Fixes

  • handler: onSubscribe can return readonly GraphQLErrors (5ce6841)
  • handler: Allow empty query string parameter (necessary for persisted operations) (4eed1d5)
  • handler: Don't validate if onSubscribe returns execution arguments (17c8007)
  • handler: Respond with error if GraphQL execution result is iterable (d1ffdf7)

Features

  • handler: onSubscribe can return an ExecutionResult for immediate result response (0dcaf89)
  • handler: Expose getAcceptableMediaType and makeResponse for increased modularity (ae8ea29)
  • handler: Request may contain a context value (3a593f8)

Performance Improvements

  • handler: Detect non-string query parameter before parsing (4bc71ee)
enisdenjo
published 1.1.0 •

Changelog

Source

1.1.0 (2022-08-05)

Bug Fixes

  • isResponse correctly asserts even if body is null (102de6d)
  • Different types for request and response headers (9e91141)
  • handler: context option can return a response (86c28d1)
  • handler: Match status text with status code (f07454d)
  • handler: More details about parse error (3306cae)

Features

  • client: url option function with request params as argument (99d9086)
  • handler: onSubscribe option can return an array of GraphQL errors (ebd91ad)
  • handler: Custom GraphQL getOperationAST option (f4a2aab)
  • handler: Custom GraphQL parse option (6ef4c57)
enisdenjo
published 1.0.0 •

Changelog

Source

1.0.0 (2022-08-04)

Features

l8d
published 0.2.0 •

l8d
published 0.1.1 •

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc