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
25
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.5.0 to 2.6.0

.nvmrc

4

build/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toImp = exports.isScalarType = exports.isObjectType = exports.plugin = void 0;
const graphql_1 = require("graphql");
const ts_poet_1 = require("ts-poet");
/** Generates field policies for user-defined types, i.e. Date handling. */
exports.plugin = async (schema, _, config) => {
const plugin = async (schema, _, config) => {
const { scalarTypePolicies = {} } = config || {};

@@ -36,2 +37,3 @@ function isScalarWithTypePolicy(f) {

};
exports.plugin = plugin;
function isObjectType(t) {

@@ -38,0 +40,0 @@ return t instanceof graphql_1.GraphQLObjectType;

{
"name": "@homebound/graphql-typescript-scalar-type-policies",
"version": "1.5.0",
"version": "2.6.0",
"main": "./build/index.js",

@@ -15,16 +15,14 @@ "types": "./build/",

"dependencies": {
"@graphql-codegen/plugin-helpers": "^1.13.2",
"@graphql-codegen/plugin-helpers": "^2.0.0",
"change-case": "^4.1.1",
"ts-poet": "^3.0.0"
"ts-poet": "^4.5.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.13.2",
"graphql": "^15.0.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"@graphql-codegen/cli": "^2.0.1",
"graphql": "^15.5.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"ts-jest": "^24.0.2",
"typescript": "^3.6.3"
"jest": "^27.0.6",
"prettier": "^2.3.2",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5"
},

@@ -31,0 +29,0 @@ "husky": {

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