diff --git a/package.json b/package.json index fec7e7359..0ede1570b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graphql-scalars", - "version": "1.1.3", + "version": "1.1.5", "description": "A collection of scalar types not included in base GraphQL.", "repository": { "type": "git", diff --git a/src/mocks.ts b/src/mocks.ts index 1cfdd5f58..a2d9e6bbc 100644 --- a/src/mocks.ts +++ b/src/mocks.ts @@ -13,7 +13,7 @@ export const ObjectID = () => '5e5677d71bdc2ae76344968c'; export const PositiveFloat = () => 123.45; export const PositiveInt = () => 123; export const PostalCode = () => '60031'; -const URLMock = () => new URL('http://www.test.com/'); +const URLMock = () => new URL('http://www.test.com/') as any; // https://stackoverflow.com/questions/105034/create-guid-uuid-in-javascript export const GUID = () => { // Public Domain/MIT