apollo-client
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -20,3 +20,3 @@ import { NetworkInterface, createNetworkInterface, addQueryMerging } from './networkInterface'; | ||
}; | ||
export declare function createFragment(doc: Document, fragments?: FragmentDefinition[]): FragmentDefinition[]; | ||
export declare function createFragment(doc: Document, fragments?: (FragmentDefinition[] | FragmentDefinition[][])): FragmentDefinition[]; | ||
export declare function disableFragmentWarnings(): void; | ||
@@ -23,0 +23,0 @@ export declare function enableFragmentWarnings(): void; |
@@ -23,2 +23,3 @@ "use strict"; | ||
var assign = require('lodash.assign'); | ||
var flatten = require('lodash.flatten'); | ||
exports.fragmentDefinitionsMap = {}; | ||
@@ -28,2 +29,3 @@ var printFragmentWarnings = true; | ||
if (fragments === void 0) { fragments = []; } | ||
fragments = flatten(fragments); | ||
var fragmentDefinitions = getFromAST_1.getFragmentDefinitions(doc); | ||
@@ -30,0 +32,0 @@ fragmentDefinitions.forEach(function (fragmentDefinition) { |
{ | ||
"name": "apollo-client", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "A simple yet functional GraphQL client.", | ||
@@ -28,2 +28,3 @@ "main": "index.js", | ||
"lodash.countby": "^4.4.0", | ||
"lodash.flatten": "^4.2.0", | ||
"lodash.forown": "^4.1.0", | ||
@@ -30,0 +31,0 @@ "lodash.has": "^4.3.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3468
235533
24
+ Addedlodash.flatten@^4.2.0
+ Addedlodash.flatten@4.4.0(transitive)