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

graphql-react

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-react - npm Package Versions

1235

6.0.1

Diff

Changelog

Source

6.0.1

Patch

jaydenseric
published 6.0.0 •

Changelog

Source

6.0.0

Major

  • Made preload reject upon render errors instead of throwing.

Minor

  • Made Query component throw a helpful render error if the GraphQL context is missing.

Patch

  • Updated dev dependencies.
  • Improved size-limit tests:
    • Drop the CJS entrypoint; modern bundlers don’t use it and nested module imports revert resolve ESM anyway.
    • Ignore prop-types since it’s likely to already be present in a React project, and most frameworks strip it out in production bundles anyway.
    • Separately limit and test server and client bundles.
jaydenseric
published 5.0.0 •

Changelog

Source

5.0.0

Major

  • Updated the extract-files dependency to v5:
    • The original operation object is no longer modified when it contains files.
    • If the same file is used in multiple locations of an operation it is only uploaded once.

Patch

  • Updated dependencies.
  • Removed a redundant .prettierignore entry.
  • Added tests for the internal graphqlFetchOptions function.
jaydenseric
published 4.2.0 •

Changelog

Source

4.2.0

Minor

  • Added a new GraphQL constructor option logErrors (default true) and instance property, controlling if GraphQL request errors should be console logged for easy debugging.

Patch

  • Updated dependencies.
  • Refactored GraphQL static methods to separate modules.
  • Moved JSDoc type definitions into the index file.
  • Manually composed package exports instead of relying on *.
  • More consistent object snapshots in tests.
jaydenseric
published 4.1.0 •

Changelog

Source

4.1.0

Minor

Patch

jaydenseric
published 4.0.1 •

Changelog

Source

4.0.1

Patch

  • Fixed preload for production NODE_ENV, fixing #11 and #12.
  • preload now scopes context under providers.
  • Removed redundant uses of this in the internal GraphQLQuery component constructor.
  • Test the library with undefined and production NODE_ENV.
jaydenseric
published 4.0.0 •

Changelog

Source

4.0.0

Major

Patch

  • Updated dev dependencies.
jaydenseric
published 3.0.0 •

Changelog

Source

3.0.0

Major

  • The Query (and the internal GraphQLQuery) component take an operation prop instead of separate variables and query props. This makes the implementation a little more elegant, is more consistent with the GraphQL.query API and allows sending custom GraphQL operation fields.
  • New internal event system, fixing #10. Now the loading parameter of Query component render functions change when identical requests are loaded elsewhere in the app.

Minor

  • Improved Provider and Consumer component display names in React dev tools:
    • Context.ProviderGraphQLContext.Provider
    • Context.ConsumerGraphQLContext.Consumer

Patch

  • Updated dependencies.
  • Updated package scripts and config for the new husky version.
  • Removed the package module field. By default webpack resolves extensionless paths the same way Node.js in --experimental-modules mode does; .mjs files are preferred. Tools misconfigured or unable to resolve .mjs can get confused when module points to an .mjs ESM file and they attempt to resolve named imports from .js CJS files.
  • Renamed the Operation type GraphQLOperation.
  • Use jsDelivr for the readme logo instead of RawGit as they are shutting down.
jaydenseric
published 2.0.1 •

Changelog

Source

2.0.1

Patch

  • Updated dependencies.
  • Remove the GraphQLQuery component from API documentation as it used internally and is not exported.
  • Regenerated the readme API docs using the latest jsdoc-md version.
  • Added a new “Usage” readme section.
  • Fixed a link in the readme.
  • Fixed example GraphQL query typos.
jaydenseric
published 2.0.0 •

Changelog

Source

2.0.0

Major

  • Updated Node.js support from v7.6+ to v8.5+.

Minor

Patch

  • Updated dependencies.
  • Removed the rimraf dev dependency in favour of a native rm -rf package clean script. Leaner and faster; we only support *nix for contributing anyway.
  • Fixed new Prettier lint errors and removed the fake-tag dev dependency now that Prettier can format template literals tagged with /* GraphQL */.
  • Stopped using npm-run-all for package scripts to reduce complexity and bugs.
  • Compact package repository field.
  • Added more package tags.
  • Lint .yml files.
  • Test with graphql-api-koa instead of express-graphql.
  • Fixed test snapshot consistency between Node.js versions (see tapjs/node-tap#450).
  • Use jsdoc-md instead of documentation to generate readme API docs.
  • JSDoc fixes and improvements.
  • Readme badge changes to deal with shields.io unreliability:
    • Used the more reliable build status badge provided by Travis, configured to only track master branch.
    • Removed the licence badge. The licence can be found in package.json and rarely changes.
    • Removed the Github issues and stars badges. The readme is most viewed on Github anyway.
    • Use Badgen for the npm version badge.
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