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

@apollo/core-schema

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/core-schema - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

src/__tests__/error.test.ts

4

CHANGELOG.md

@@ -5,4 +5,6 @@ # CHANGELOG

- _Nothing yet! Stay tuned!_
## v0.2.0
- __BREAKING__: Update graphql dev and peerDependency and fix `GraphQLError` usage. Update name assignment and remove name getter method [#20](https://github.com/apollographql/core-schema-js/pull/20)
## v0.1.1

@@ -9,0 +11,0 @@

@@ -18,4 +18,4 @@ import { ASTNode, GraphQLError, Source } from 'graphql';

static readonly BASE_PROPS: Set<string>;
readonly name: string;
constructor(code: C, message: string, props?: Props);
get name(): C;
throw(): never;

@@ -22,0 +22,0 @@ toString(): string;

@@ -15,4 +15,4 @@ "use strict";

}
this.name = code;
}
get name() { return this.code; }
throw() { throw this; }

@@ -19,0 +19,0 @@ toString() {

{
"name": "@apollo/core-schema",
"version": "0.1.1",
"version": "0.2.0",
"description": "Apollo Core Schema processing library",

@@ -33,7 +33,7 @@ "main": "dist/index.js",

"peerDependencies": {
"graphql": "^14.5.0 || ^15.0.0"
"graphql": "^15.7.2"
},
"devDependencies": {
"@types/jest": "27.0.2",
"graphql": "15.6.1",
"graphql": "15.7.2",
"jest": "27.3.1",

@@ -40,0 +40,0 @@ "prettier": "2.4.1",

@@ -18,2 +18,4 @@ import { ASTNode, GraphQLError, printError, Source } from 'graphql'

readonly name: string;
constructor(public readonly code: C, message: string, props?: Props) {

@@ -33,4 +35,5 @@ super(message,

}
this.name = code;
}
get name() { return this.code }

@@ -37,0 +40,0 @@ throw(): never { throw this }

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