New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/code-file-loader

Package Overview
Dependencies
Maintainers
4
Versions
1178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 8.1.13 to 8.1.14-alpha-20250114135744-c6fae34620a5bfac6d31e5210fcdc9667cf4cac1

3

cjs/index.js

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

const graphql_1 = require("graphql");
const unixify_1 = tslib_1.__importDefault(require("unixify"));
const graphql_tag_pluck_1 = require("@graphql-tools/graphql-tag-pluck");

@@ -95,3 +94,3 @@ const utils_1 = require("@graphql-tools/utils");

const ignores = (0, utils_1.asArray)(options.ignore || []);
const globs = [(0, unixify_1.default)(glob), ...ignores.map(v => buildIgnoreGlob((0, unixify_1.default)(v)))];
const globs = [glob, ...ignores.map(v => buildIgnoreGlob(v))];
return globs;

@@ -98,0 +97,0 @@ }

@@ -7,3 +7,2 @@ import { existsSync, promises as fsPromises, readFileSync } from 'fs';

import { isSchema, parse } from 'graphql';
import unixify from 'unixify';
import { gqlPluckFromCodeString, gqlPluckFromCodeStringSync, } from '@graphql-tools/graphql-tag-pluck';

@@ -91,3 +90,3 @@ import { asArray, isDocumentNode, isValidPath, parseGraphQLSDL, } from '@graphql-tools/utils';

const ignores = asArray(options.ignore || []);
const globs = [unixify(glob), ...ignores.map(v => buildIgnoreGlob(unixify(v)))];
const globs = [glob, ...ignores.map(v => buildIgnoreGlob(v))];
return globs;

@@ -94,0 +93,0 @@ }

{
"name": "@graphql-tools/code-file-loader",
"version": "8.1.13",
"version": "8.1.14-alpha-20250114135744-c6fae34620a5bfac6d31e5210fcdc9667cf4cac1",
"description": "A set of utils for faster development of GraphQL tools",

@@ -13,4 +13,3 @@ "sideEffects": false,

"globby": "^11.0.3",
"tslib": "^2.4.0",
"unixify": "^1.0.0"
"tslib": "^2.4.0"
},

@@ -17,0 +16,0 @@ "repository": {

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