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.2-alpha.1 to 2.0.2-alpha.2

4

CHANGELOG.md
# CHANGELOG for `@apollo/federation-internals`
## 2.0.2-alpha.2
- Fix bug removing an enum type [PR #1813](https://github.com/apollographql/federation/pull/1813)
## 2.0.2-alpha.1

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

4

package.json
{
"name": "@apollo/federation-internals",
"version": "2.0.2-alpha.1",
"version": "2.0.2-alpha.2",
"description": "Apollo Federation internal utilities",

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

},
"gitHead": "7fcf0f23509f0d62fdb017c8e74a861cb304915d"
"gitHead": "906611360a43172c938b7a0571cc354111b5913f"
}

@@ -224,2 +224,23 @@ import {

test('removal of an enum type should remove enum values', () => {
const schema = buildSchema(`
type Query {
someField: String!
}
enum Enum {
SOME_VALUE
OTHER_VALUE
}
`);
const enumType = schema.type("Enum");
expectEnumType(enumType)
const enumValues = Array.from(enumType.values);
enumType.remove()
for (const value of enumValues) {
expect(value.isAttached()).toBe(false)
}
});
test('removal of all inaccessible elements of a schema', () => {

@@ -226,0 +247,0 @@ const subgraph = buildSubgraph('foo', '', `

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

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