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

@apollo/federation-internals

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/federation-internals - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

CHANGELOG.md
# CHANGELOG for `@apollo/federation-internals`
## v2.0.1
- Use `for: SECURITY` in the core/link directive application in the supergraph for `@inaccessible` [PR #1715](https://github.com/apollographql/federation/pull/1715)
## v2.0.0

@@ -4,0 +8,0 @@

@@ -39,2 +39,3 @@ import { ASTNode, GraphQLError, StringValueNode } from "graphql";

protected featureInSchema(schema: Schema): CoreFeature | undefined;
get defaultCorePurpose(): CorePurpose | undefined;
toString(): string;

@@ -41,0 +42,0 @@ }

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

}
get defaultCorePurpose() {
return undefined;
}
toString() {

@@ -105,0 +108,0 @@ return `${this.identity}/${this.version}`;

3

dist/inaccessibleSpec.d.ts

@@ -1,2 +0,2 @@

import { FeatureDefinition, FeatureDefinitions, FeatureVersion } from "./coreSpec";
import { CorePurpose, FeatureDefinition, FeatureDefinitions, FeatureVersion } from "./coreSpec";
import { DirectiveDefinition, Schema } from "./definitions";

@@ -16,2 +16,3 @@ import { GraphQLError, DirectiveLocation } from "graphql";

allElementNames(): string[];
get defaultCorePurpose(): CorePurpose | undefined;
}

@@ -18,0 +19,0 @@ export declare const INACCESSIBLE_VERSIONS: FeatureDefinitions<InaccessibleSpecDefinition>;

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

}
get defaultCorePurpose() {
return 'SECURITY';
}
}

@@ -56,0 +59,0 @@ exports.InaccessibleSpecDefinition = InaccessibleSpecDefinition;

import { GraphQLError } from 'graphql';
import { FeatureDefinition, FeatureDefinitions, FeatureVersion } from "./coreSpec";
import { CorePurpose, FeatureDefinition, FeatureDefinitions, FeatureVersion } from "./coreSpec";
import { DirectiveDefinition, EnumType, ScalarType, Schema } from "./definitions";

@@ -40,4 +40,5 @@ import { Subgraphs } from "./federation";

}> | undefined;
get defaultCorePurpose(): CorePurpose | undefined;
}
export declare const JOIN_VERSIONS: FeatureDefinitions<JoinSpecDefinition>;
//# sourceMappingURL=joinSpec.d.ts.map

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

}
get defaultCorePurpose() {
return 'EXECUTION';
}
}

@@ -131,0 +134,0 @@ exports.JoinSpecDefinition = JoinSpecDefinition;

{
"name": "@apollo/federation-internals",
"version": "2.0.0",
"version": "2.0.1",
"description": "Apollo Federation internal utilities",

@@ -26,3 +26,3 @@ "main": "dist/index.js",

"dependencies": {
"@apollo/core-schema": "~0.2.3",
"@apollo/core-schema": "~0.3.0",
"chalk": "^4.1.0",

@@ -37,3 +37,3 @@ "js-levenshtein": "^1.1.6"

},
"gitHead": "d6e3b48536de475c2f0ad491b3d30b456a5940e1"
"gitHead": "e38b22c5796b052d1c373291fac93e0d72ee5ec1"
}

@@ -134,2 +134,6 @@ import { ASTNode, DirectiveLocation, GraphQLError, StringValueNode } from "graphql";

get defaultCorePurpose(): CorePurpose | undefined {
return undefined;
}
toString(): string {

@@ -136,0 +140,0 @@ return `${this.identity}/${this.version}`

@@ -1,2 +0,2 @@

import { FeatureDefinition, FeatureDefinitions, FeatureUrl, FeatureVersion } from "./coreSpec";
import { CorePurpose, FeatureDefinition, FeatureDefinitions, FeatureUrl, FeatureVersion } from "./coreSpec";
import {

@@ -95,2 +95,6 @@ ArgumentDefinition,

}
get defaultCorePurpose(): CorePurpose | undefined {
return 'SECURITY';
}
}

@@ -97,0 +101,0 @@

import { DirectiveLocation, GraphQLError } from 'graphql';
import { FeatureDefinition, FeatureDefinitions, FeatureUrl, FeatureVersion } from "./coreSpec";
import { CorePurpose, FeatureDefinition, FeatureDefinitions, FeatureUrl, FeatureVersion } from "./coreSpec";
import {

@@ -179,2 +179,6 @@ DirectiveDefinition,

}
get defaultCorePurpose(): CorePurpose | undefined {
return 'EXECUTION';
}
}

@@ -181,0 +185,0 @@

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

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