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

@graphql-toolkit/file-loading

Package Overview
Dependencies
Maintainers
3
Versions
713
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-toolkit/file-loading - npm Package Compare versions

Comparing version 0.6.6-alpha-d93b7a6.0 to 0.6.6

5

dist/commonjs/file-scanner.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const graphql_1 = require("graphql");
const DEFAULT_IGNORED_SCHEMA_EXTENSIONS = ['spec', 'test', 'd', 'map'];
const DEFAULT_SCHEMA_EXTENSIONS = ['gql', 'graphql', 'graphqls', 'ts', 'js'];
const DEFAULT_IGNORED_RESOLVERS_EXTENSIONS = ['spec', 'test', 'd', 'gql', 'graphql', 'graphqls'];
const DEFAULT_IGNORED_RESOLVERS_EXTENSIONS = ['spec', 'test', 'd', 'gql', 'graphql', 'graphqls', 'map'];
const DEFAULT_RESOLVERS_EXTENSIONS = ['ts', 'js'];

@@ -40,3 +41,3 @@ const DEFAULT_SCHEMA_EXPORT_NAMES = ['typeDefs', 'schema'];

const LoadSchemaFilesDefaultOptions = {
ignoredExtensions: [],
ignoredExtensions: DEFAULT_IGNORED_SCHEMA_EXTENSIONS,
extensions: DEFAULT_SCHEMA_EXTENSIONS,

@@ -43,0 +44,0 @@ useRequire: false,

import { print } from 'graphql';
const DEFAULT_IGNORED_SCHEMA_EXTENSIONS = ['spec', 'test', 'd', 'map'];
const DEFAULT_SCHEMA_EXTENSIONS = ['gql', 'graphql', 'graphqls', 'ts', 'js'];
const DEFAULT_IGNORED_RESOLVERS_EXTENSIONS = ['spec', 'test', 'd', 'gql', 'graphql', 'graphqls'];
const DEFAULT_IGNORED_RESOLVERS_EXTENSIONS = ['spec', 'test', 'd', 'gql', 'graphql', 'graphqls', 'map'];
const DEFAULT_RESOLVERS_EXTENSIONS = ['ts', 'js'];

@@ -38,3 +39,3 @@ const DEFAULT_SCHEMA_EXPORT_NAMES = ['typeDefs', 'schema'];

const LoadSchemaFilesDefaultOptions = {
ignoredExtensions: [],
ignoredExtensions: DEFAULT_IGNORED_SCHEMA_EXTENSIONS,
extensions: DEFAULT_SCHEMA_EXTENSIONS,

@@ -41,0 +42,0 @@ useRequire: false,

6

package.json
{
"name": "@graphql-toolkit/file-loading",
"version": "0.6.6-alpha-d93b7a6.0+d93b7a6",
"version": "0.6.6",
"description": "A set of utils for faster development of GraphQL tools",

@@ -33,3 +33,3 @@ "repository": "git@github.com:dotansimha/graphql-toolkit.git",

"dependencies": {
"@graphql-toolkit/common": "0.6.6-alpha-d93b7a6.0+d93b7a6",
"@graphql-toolkit/common": "0.6.6",
"@kamilkisiela/graphql-tools": "4.0.6",

@@ -41,3 +41,3 @@ "glob": "7.1.5"

},
"gitHead": "d93b7a6241cc532aecabaf6a2030e60b8dffcb7c"
"gitHead": "93d0ab1e4693b3417a98a53eb6dd14fd9a32cb28"
}

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