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

@homebound/graphql-typescript-scalar-type-policies

Package Overview
Dependencies
Maintainers
23
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@homebound/graphql-typescript-scalar-type-policies - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

4

build/index.js

@@ -18,5 +18,5 @@ "use strict";

.map(type => {
return ts_poet_1.code `${type.name}: {${Object.values(type.getFields())
return ts_poet_1.code `${type.name}: { fields: { ${Object.values(type.getFields())
.filter(isScalarWithTypePolicy)
.map(field => ts_poet_1.code `${field.name}: ${toImp(scalarTypePolicies[field.type.name])},`)}},`;
.map(field => ts_poet_1.code `${field.name}: ${toImp(scalarTypePolicies[field.type.name])},`)}} },`;
})}

@@ -23,0 +23,0 @@ };

import { dateTypePolicy } from "src/dates";
export const scalarTypePolicies = {
Author: { date: dateTypePolicy },
Author: { fields: { date: dateTypePolicy } },
};
{
"name": "@homebound/graphql-typescript-scalar-type-policies",
"version": "1.2.0",
"version": "1.3.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