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

@apollo/composition

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/composition - npm Package Compare versions

Comparing version 2.8.3 to 2.8.4

3

dist/validate.js

@@ -319,2 +319,5 @@ "use strict";

const typeNames = possibleRuntimeTypeNamesSorted(path.path);
if (typeNames.length === 1 && !allRuntimeTypes.includes(typeNames[0])) {
continue;
}
runtimeTypesPerSubgraphs.set(subgraph, typeNames);

@@ -321,0 +324,0 @@ let typeNamesStr = 'no runtime type is defined';

6

package.json
{
"name": "@apollo/composition",
"version": "2.8.3",
"version": "2.8.4",
"description": "Apollo Federation composition utilities",

@@ -30,4 +30,4 @@ "main": "dist/index.js",

"dependencies": {
"@apollo/federation-internals": "2.8.3",
"@apollo/query-graphs": "2.8.3"
"@apollo/federation-internals": "2.8.4",
"@apollo/query-graphs": "2.8.4"
},

@@ -34,0 +34,0 @@ "peerDependencies": {

@@ -583,2 +583,10 @@ import {

const typeNames = possibleRuntimeTypeNamesSorted(path.path);
// if we see a type here that is not included in the list of all
// runtime types, it is safe to assume that it is an interface
// behaving like a runtime type (i.e. an @interfaceObject) and
// we should allow it to stand in for any runtime type
if (typeNames.length === 1 && !allRuntimeTypes.includes(typeNames[0])) {
continue;
}
runtimeTypesPerSubgraphs.set(subgraph, typeNames);

@@ -585,0 +593,0 @@ // Note: we're formatting the elements in `runtimeTYpesToSubgraphs` because we're going to use it if we display an error. This doesn't

Sorry, the diff of this file is not supported yet

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