@graphql-tools/code-file-loader
Advanced tools
Comparing version 8.1.14-alpha-20250114135744-c6fae34620a5bfac6d31e5210fcdc9667cf4cac1 to 8.1.14-alpha-20250124175511-cf926757b2731edb762be661f8671ed41d778b2f
@@ -11,2 +11,3 @@ "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"); | ||
@@ -94,3 +95,3 @@ const utils_1 = require("@graphql-tools/utils"); | ||
const ignores = (0, utils_1.asArray)(options.ignore || []); | ||
const globs = [glob, ...ignores.map(v => buildIgnoreGlob(v))]; | ||
const globs = [(0, unixify_1.default)(glob), ...ignores.map(v => buildIgnoreGlob((0, unixify_1.default)(v)))]; | ||
return globs; | ||
@@ -97,0 +98,0 @@ } |
@@ -7,2 +7,3 @@ 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'; | ||
@@ -90,3 +91,3 @@ import { asArray, isDocumentNode, isValidPath, parseGraphQLSDL, } from '@graphql-tools/utils'; | ||
const ignores = asArray(options.ignore || []); | ||
const globs = [glob, ...ignores.map(v => buildIgnoreGlob(v))]; | ||
const globs = [unixify(glob), ...ignores.map(v => buildIgnoreGlob(unixify(v)))]; | ||
return globs; | ||
@@ -93,0 +94,0 @@ } |
{ | ||
"name": "@graphql-tools/code-file-loader", | ||
"version": "8.1.14-alpha-20250114135744-c6fae34620a5bfac6d31e5210fcdc9667cf4cac1", | ||
"version": "8.1.14-alpha-20250124175511-cf926757b2731edb762be661f8671ed41d778b2f", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -10,6 +10,7 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@graphql-tools/graphql-tag-pluck": "8.3.12", | ||
"@graphql-tools/utils": "^10.7.2", | ||
"@graphql-tools/graphql-tag-pluck": "8.3.13-alpha-20250124175511-cf926757b2731edb762be661f8671ed41d778b2f", | ||
"@graphql-tools/utils": "10.8.0-alpha-20250124175511-cf926757b2731edb762be661f8671ed41d778b2f", | ||
"globby": "^11.0.3", | ||
"tslib": "^2.4.0" | ||
"tslib": "^2.4.0", | ||
"unixify": "^1.0.0" | ||
}, | ||
@@ -16,0 +17,0 @@ "repository": { |
37977
980
6
+ Addedunixify@^1.0.0
+ Added@graphql-tools/graphql-tag-pluck@8.3.13-alpha-20250124175511-cf926757b2731edb762be661f8671ed41d778b2f(transitive)
+ Added@graphql-tools/utils@10.8.0-alpha-20250124175511-cf926757b2731edb762be661f8671ed41d778b2f(transitive)
+ Addednormalize-path@2.1.1(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedunixify@1.0.0(transitive)
- Removed@graphql-tools/graphql-tag-pluck@8.3.12(transitive)
- Removed@graphql-tools/utils@10.8.3(transitive)
- Removed@whatwg-node/promise-helpers@1.2.2(transitive)
Updated@graphql-tools/utils@10.8.0-alpha-20250124175511-cf926757b2731edb762be661f8671ed41d778b2f