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

@homebound/graphql-typescript-response-factories

Package Overview
Dependencies
Maintainers
39
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@homebound/graphql-typescript-response-factories - npm Package Compare versions

Comparing version 2.37.0 to 2.38.0

9

build/index.js

@@ -94,4 +94,11 @@ "use strict";

error: data instanceof Error ? data : undefined,
};
} as any;
}`;
// The ^ `as any` is because when queries return type unions, i.e. `items {
// ...on Project {} ...on Trade {} }`, the type union has `{ __typename: "Project" } |
// { __typename: "Trade" }` where `__typename` is required, but currently the POJOs
// have just `interface Project { __typename?: "Project" }`, which does not match.
//
// We could turn on `nonOptionalTypeName` but it breaks a lot of existing tests in
// `internal-frontend`, that arguably should be using factories to create their data.
}

@@ -98,0 +105,0 @@ const mockedResponse = `

2

package.json
{
"name": "@homebound/graphql-typescript-response-factories",
"version": "2.37.0",
"version": "2.38.0",
"main": "./build/index.js",

@@ -5,0 +5,0 @@ "types": "./build/",

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