apollo-utilities
Advanced tools
Comparing version 1.0.17-alpha.2 to 1.0.17
# CHANGELOG | ||
---- | ||
**NOTE:** This changelog is no longer maintained. Changes are now tracked in | ||
the top level [`CHANGELOG.md`](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md). | ||
---- | ||
### 1.0.16 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "apollo-utilities", | ||
"version": "1.0.17-alpha.2", | ||
"version": "1.0.17", | ||
"description": "Utilities for working with GraphQL ASTs", | ||
@@ -50,3 +50,3 @@ "author": "James Baxley <james@meteor.com>", | ||
"browserify": "15.2.0", | ||
"flow-bin": "0.76.0", | ||
"flow-bin": "0.77.0", | ||
"graphql": "0.13.2", | ||
@@ -57,3 +57,3 @@ "graphql-tag": "2.9.2", | ||
"rimraf": "2.6.2", | ||
"rollup": "0.62.0", | ||
"rollup": "0.63.4", | ||
"ts-jest": "20.0.14", | ||
@@ -60,0 +60,0 @@ "tslint": "5.11.0", |
@@ -195,14 +195,12 @@ import { | ||
.filter(({ defaultValue }) => defaultValue) | ||
.map( | ||
({ variable, defaultValue }): { [key: string]: JsonValue } => { | ||
const defaultValueObj: { [key: string]: JsonValue } = {}; | ||
valueToObjectRepresentation( | ||
defaultValueObj, | ||
variable.name, | ||
defaultValue as ValueNode, | ||
); | ||
.map(({ variable, defaultValue }): { [key: string]: JsonValue } => { | ||
const defaultValueObj: { [key: string]: JsonValue } = {}; | ||
valueToObjectRepresentation( | ||
defaultValueObj, | ||
variable.name, | ||
defaultValue as ValueNode, | ||
); | ||
return defaultValueObj; | ||
}, | ||
); | ||
return defaultValueObj; | ||
}); | ||
@@ -209,0 +207,0 @@ return assign({}, ...defaultValues); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
279398
0
5317