Skip to content

Commit

Permalink
refactor: use global URL object instead of node builtin (#2293)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Mar 10, 2023
1 parent c572afd commit 1a555d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/old-humans-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@apollo/federation-internals": patch
---

Use globally available URL object instead of node builtin "url" module

1 change: 0 additions & 1 deletion internals-js/src/coreSpec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ASTNode, DirectiveLocation, GraphQLError, StringValueNode } from "graphql";
import { URL } from "url";
import { CoreFeature, Directive, DirectiveDefinition, EnumType, ErrGraphQLAPISchemaValidationFailed, ErrGraphQLValidationFailed, InputType, ListType, NamedType, NonNullType, ScalarType, Schema, SchemaDefinition, SchemaElement, sourceASTs } from "./definitions";
import { sameType } from "./types";
import { assert, firstOf } from './utils';
Expand Down

0 comments on commit 1a555d9

Please sign in to comment.