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

@pothos/core

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pothos/core - npm Package Compare versions

Comparing version 4.0.0 to 4.0.2

12

CHANGELOG.md
# Change Log
## 4.0.2
### Patch Changes
- 777f6de: Add builder.$inferSchemaTypes
## 4.0.1
### Patch Changes
- 9bd203e: Fix graphql peer dependency version to match documented minumum version
## 4.0.0

@@ -4,0 +16,0 @@

1

dts/builder.d.ts

@@ -11,2 +11,3 @@ import { GraphQLScalarSerializer, GraphQLScalarType, GraphQLSchema } from 'graphql';

export declare class SchemaBuilder<Types extends SchemaTypes> {
$inferSchemaTypes: Types;
static plugins: Partial<PluginConstructorMap<SchemaTypes>>;

@@ -13,0 +14,0 @@ static optionNormalizers: Map<string, {

@@ -11,2 +11,3 @@ import { GraphQLScalarSerializer, GraphQLScalarType, GraphQLSchema } from 'graphql';

export declare class SchemaBuilder<Types extends SchemaTypes> {
$inferSchemaTypes: Types;
static plugins: Partial<PluginConstructorMap<SchemaTypes>>;

@@ -13,0 +14,0 @@ static optionNormalizers: Map<string, {

@@ -347,2 +347,3 @@ function _define_property(obj, key, value) {

constructor(options) {
_define_property(this, "$inferSchemaTypes", void 0);
_define_property(this, "configStore", void 0);

@@ -349,0 +350,0 @@ _define_property(this, "options", void 0);

@@ -356,2 +356,3 @@ "use strict";

constructor(options){
_define_property(this, "$inferSchemaTypes", void 0);
_define_property(this, "configStore", void 0);

@@ -358,0 +359,0 @@ _define_property(this, "options", void 0);

4

package.json
{
"name": "@pothos/core",
"version": "4.0.0",
"version": "4.0.2",
"description": "Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript",

@@ -46,3 +46,3 @@ "main": "./lib/index.js",

"graphql-tag": "^2.12.6",
"@pothos/test-utils": "2.0.0"
"@pothos/test-utils": "2.0.1"
},

@@ -49,0 +49,0 @@ "gitHead": "9dfe52f1975f41a111e01bf96a20033a914e2acc",

@@ -75,2 +75,4 @@ import {

export class SchemaBuilder<Types extends SchemaTypes> {
$inferSchemaTypes!: Types;
static plugins: Partial<PluginConstructorMap<SchemaTypes>> = {};

@@ -77,0 +79,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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