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.6 to 0.6.7

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.6",
"version": "0.6.7",
"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.6",
"graphql-tag-pluck": "0.8.6"
"@graphql-toolkit/common": "0.6.7",
"graphql-tag-pluck": "0.8.7"
},

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

},
"gitHead": "93d0ab1e4693b3417a98a53eb6dd14fd9a32cb28"
"gitHead": "307f72f2ec0382ce1fa172492da0bc6f6794c58f"
}

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