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

@apollo/federation

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/federation - npm Package Compare versions

Comparing version 0.20.4 to 0.20.5

1

CHANGELOG.md

@@ -6,2 +6,3 @@ # CHANGELOG for `@apollo/federation`

> The changes noted within this `vNEXT` section have not been released yet. New PRs and commits which introduce changes should include an entry in this `vNEXT` section as part of their development. When a release is being prepared, a new header will be (manually) created below and the appropriate changes within that release will be moved into the new section.
- Apply `repeatable` keyword to CSDL schema directives `@key` and `@graph. [PR #285](https://github.com/apollographql/apollo-federation/pull/285)

@@ -8,0 +9,0 @@ ## v0.20.4

@@ -25,2 +25,3 @@ "use strict";

},
isRepeatable: true,
});

@@ -47,2 +48,3 @@ exports.OwnerDirective = new graphql_1.GraphQLDirective({

},
isRepeatable: true,
});

@@ -49,0 +51,0 @@ exports.ResolveDirective = new graphql_1.GraphQLDirective({

4

package.json
{
"name": "@apollo/federation",
"version": "0.20.4",
"version": "0.20.5",
"description": "Apollo Federation Utilities",

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

},
"gitHead": "378eb6bc3a0a6400191fc133bc3b6db3cd6d2e0c"
"gitHead": "004b8a1b163feb823fd4775870b80baed4b9551f"
}

@@ -30,2 +30,3 @@ import {

},
isRepeatable: true,
});

@@ -54,2 +55,3 @@

},
isRepeatable: true,
});

@@ -56,0 +58,0 @@

@@ -19,3 +19,3 @@ import { fixtures } from 'apollo-federation-integration-testsuite';

expect(() => parse(composedSdl!)).not.toThrow();
})
});

@@ -39,7 +39,7 @@ it('prints a fully composed schema correctly', () => {

directive @graph(name: String!, url: String!) on SCHEMA
directive @graph(name: String!, url: String!) repeatable on SCHEMA
directive @owner(graph: String!) on OBJECT
directive @key(fields: String!, graph: String!) on OBJECT
directive @key(fields: String!, graph: String!) repeatable on OBJECT

@@ -46,0 +46,0 @@ directive @resolve(graph: String!) on FIELD_DEFINITION

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