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

@graphql-tools/load

Package Overview
Dependencies
Maintainers
3
Versions
1192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/load - npm Package Compare versions

Comparing version 7.8.14 to 8.0.0-alpha-20230515173601-f70d8382

9

cjs/load-typedefs/load-file.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadFileSync = exports.loadFile = void 0;
const utils_1 = require("@graphql-tools/utils");
const process_1 = require("process");

@@ -24,3 +23,3 @@ async function loadFile(pointer, options) {

}
if (error instanceof utils_1.AggregateError) {
if (error instanceof AggregateError) {
for (const errorElement of error.errors) {

@@ -39,3 +38,3 @@ errors.push(errorElement);

}
throw new utils_1.AggregateError(errors, `Failed to find any GraphQL type definitions in: ${pointer};\n - ${errors
throw new AggregateError(errors, `Failed to find any GraphQL type definitions in: ${pointer};\n - ${errors
.map(error => error.message)

@@ -73,3 +72,3 @@ .join('\n - ')}`);

}
if (error instanceof utils_1.AggregateError) {
if (error instanceof AggregateError) {
for (const errorElement of error.errors) {

@@ -88,3 +87,3 @@ errors.push(errorElement);

}
throw new utils_1.AggregateError(errors, `Failed to find any GraphQL type definitions in: ${pointer};\n - ${errors
throw new AggregateError(errors, `Failed to find any GraphQL type definitions in: ${pointer};\n - ${errors
.map(error => error.message)

@@ -91,0 +90,0 @@ .join('\n - ')}`);

@@ -1,2 +0,1 @@

import { AggregateError } from '@graphql-tools/utils';
import { env } from 'process';

@@ -3,0 +2,0 @@ export async function loadFile(pointer, options) {

{
"name": "@graphql-tools/load",
"version": "7.8.14",
"version": "8.0.0-alpha-20230515173601-f70d8382",
"description": "A set of utils for faster development of GraphQL tools",

@@ -10,4 +10,4 @@ "sideEffects": false,

"dependencies": {
"@graphql-tools/utils": "^9.2.1",
"@graphql-tools/schema": "^9.0.18",
"@graphql-tools/utils": "10.0.0-alpha-20230515173601-f70d8382",
"@graphql-tools/schema": "9.0.20-alpha-20230515173601-f70d8382",
"p-limit": "3.1.0",

@@ -14,0 +14,0 @@ "tslib": "^2.4.0"

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