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 Compare versions

Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5

10

changelog.md
# graphql-react changelog
## 1.0.0-alpha.5
* Updated dependencies.
* Updated the `react` peer dependency to `^16.3.1`.
* Fixed `preload` broken due to the [React v16.3.1](https://github.com/facebook/react/releases/tag/v16.3.1) [context API change](https://github.com/facebook/react/pull/12501).
* Example updates:
* Valid length app manifest `short_name`.
* Added `<html>` `lang` attribute.
* Added Twitter card meta tags.
## 1.0.0-alpha.4

@@ -4,0 +14,0 @@

2

lib/preload.js

@@ -50,3 +50,3 @@ "use strict";

} else if (element.props && element.props.children) {
if (element.type.context) element.type.context.currentValue = element.props.value;
if (element.type._context) element.type._context.currentValue = element.props.value;
recurse(element.props.children, legacyContext);

@@ -53,0 +53,0 @@ }

{
"name": "graphql-react",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"description": "A lightweight GraphQL client for React.",

@@ -37,3 +37,3 @@ "license": "MIT",

"peerDependencies": {
"react": "^16.3.0-alpha.1"
"react": "^16.3.1"
},

@@ -48,9 +48,9 @@ "dependencies": {

"devDependencies": {
"@babel/cli": "^7.0.0-beta.42",
"@babel/core": "^7.0.0-beta.42",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.42",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.42",
"@babel/preset-env": "^7.0.0-beta.42",
"@babel/preset-react": "^7.0.0-beta.42",
"apollo-server-koa": "^1.3.3",
"@babel/cli": "^7.0.0-beta.44",
"@babel/core": "^7.0.0-beta.44",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.44",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.44",
"@babel/preset-env": "^7.0.0-beta.44",
"@babel/preset-react": "^7.0.0-beta.44",
"apollo-server-koa": "^1.3.4",
"apollo-upload-server": "^5.0.0",

@@ -74,7 +74,7 @@ "ava": "^1.0.0-beta.2",

"koa-router": "^7.4.0",
"lint-staged": "^7.0.0",
"lint-staged": "^7.0.3",
"npm-run-all": "^4.1.2",
"prettier": "^1.11.1",
"react": "^16.3.0-alpha.3",
"react-dom": "^16.3.0-alpha.3",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"rimraf": "^2.6.2",

@@ -81,0 +81,0 @@ "size-limit": "^0.17.0"

Sorry, the diff of this file is not supported yet

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