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

@graphql-toolkit/code-file-loader

Package Overview
Dependencies
Maintainers
3
Versions
695
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-toolkit/code-file-loader - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6-alpha-0ac8bb6.8

junit.xml

1

dist/commonjs/load-from-code-file.js

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

try {
filePath = common_1.fixWindowsPath(filePath);
if (require && require.cache) {

@@ -51,0 +52,0 @@ filePath = eval(`require.resolve('${filePath}')`);

3

dist/esnext/load-from-code-file.js
import { GraphQLSchema, parse, buildClientSchema, Source as GraphQLSource } from 'graphql';
import { resolve, isAbsolute, extname } from 'path';
import { extractDocumentStringFromCodeFile } from './extract-document-string-from-code-file';
import { debugLog, printSchemaWithDirectives, asArray } from '@graphql-toolkit/common';
import { debugLog, printSchemaWithDirectives, asArray, fixWindowsPath } from '@graphql-toolkit/common';
function isSchemaText(obj) {

@@ -47,2 +47,3 @@ return typeof obj === 'string';

try {
filePath = fixWindowsPath(filePath);
if (require && require.cache) {

@@ -49,0 +50,0 @@ filePath = eval(`require.resolve('${filePath}')`);

{
"name": "@graphql-toolkit/code-file-loader",
"version": "0.6.5",
"version": "0.6.6-alpha-0ac8bb6.8+0ac8bb6",
"description": "A set of utils for faster development of GraphQL tools",

@@ -31,4 +31,4 @@ "repository": "git@github.com:dotansimha/graphql-toolkit.git",

"dependencies": {
"@graphql-toolkit/common": "0.6.5",
"graphql-tag-pluck": "0.8.6"
"@graphql-toolkit/common": "0.6.6-alpha-0ac8bb6.8+0ac8bb6",
"graphql-tag-pluck": "0.8.7"
},

@@ -38,3 +38,3 @@ "publishConfig": {

},
"gitHead": "d93b7a6241cc532aecabaf6a2030e60b8dffcb7c"
"gitHead": "0ac8bb69f2f8c6d0f54125baf903ab89768bbde0"
}

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