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

@apollo/query-planner

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/query-planner - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2-rc0

2

dist/QueryPlan.d.ts

@@ -47,3 +47,3 @@ import { SelectionNode as GraphQLJSSelectionNode, OperationTypeNode, DocumentNode } from 'graphql';

label?: string;
path: ResponsePath;
queryPath: string[];
subselection?: string;

@@ -50,0 +50,0 @@ node?: PlanNode;

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

const dependsStr = node.depends.map(({ id, deferLabel }) => id + (deferLabel ? (`:"${deferLabel}"`) : '')).join(', ');
const pathStr = node.path.join('.');
const pathStr = node.queryPath.join('/');
const labelStr = node.label ? `, label: "${node.label}"` : '';

@@ -138,0 +138,0 @@ let result = `Deferred(depends: [${dependsStr}], path: "${pathStr}"${labelStr}) {`;

{
"name": "@apollo/query-planner",
"version": "2.2.1",
"version": "2.2.2-rc0",
"description": "Apollo Query Planner",

@@ -28,4 +28,4 @@ "author": "Apollo <packages@apollographql.com>",

"dependencies": {
"@apollo/federation-internals": "^2.2.1",
"@apollo/query-graphs": "^2.2.1",
"@apollo/federation-internals": "^2.2.2-rc0",
"@apollo/query-graphs": "^2.2.2-rc0",
"chalk": "^4.1.0",

@@ -38,3 +38,3 @@ "deep-equal": "^2.0.5",

},
"gitHead": "03597ced86dc4c2e6fca59ee48b40fd885ad213a"
"gitHead": "250570f2141d87d86ad773b2a1895e7a6b72a618"
}

@@ -96,4 +96,5 @@ import {

label?: string,
// Path to the @defer this correspond to. The `subselection` starts at that `path`.
path: ResponsePath,
// Path, in the query, to the @defer this corresponds to. The `subselection` starts at that `queryPath`.
// This look like: `[ 'products', '... on Book', 'reviews' ]`
queryPath: string[],
// The part of the original query that "selects" the data to send in that deferred response (once the plan in `node` completes). Will be set _unless_ `node` is a `DeferNode` itself.

@@ -100,0 +101,0 @@ subselection?: string,

@@ -222,3 +222,3 @@ import { Config, Plugin, Refs } from 'pretty-format';

const dependsStr = node.depends.map(({id, deferLabel}) => id + (deferLabel ? (`:"${deferLabel}"`) : '')).join(', ');
const pathStr = node.path.join('.');
const pathStr = node.queryPath.join('/');
const labelStr = node.label ? `, label: "${node.label}"` : '';

@@ -225,0 +225,0 @@ let result = `Deferred(depends: [${dependsStr}], path: "${pathStr}"${labelStr}) {`;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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 too big to display

Sorry, the diff of this file is too big to display

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