@graphql-tools/code-file-loader
Advanced tools
Comparing version 8.0.0-rc-20230519104353-b09f3180 to 8.0.0-rc-20230519104627-f6fea064
@@ -38,3 +38,3 @@ "use strict"; | ||
constructor(config) { | ||
this.config = config !== null && config !== void 0 ? config : {}; | ||
this.config = config ?? {}; | ||
} | ||
@@ -57,3 +57,3 @@ getMergedOptions(options) { | ||
} | ||
catch (_a) { | ||
catch { | ||
return false; | ||
@@ -98,3 +98,3 @@ } | ||
const result = await this.handleSinglePath(path, options); | ||
result === null || result === void 0 ? void 0 : result.forEach(result => finalResult.push(result)); | ||
result?.forEach(result => finalResult.push(result)); | ||
} | ||
@@ -125,3 +125,3 @@ catch (e) { | ||
const result = this.handleSinglePathSync(path, options); | ||
result === null || result === void 0 ? void 0 : result.forEach(result => finalResult.push(result)); | ||
result?.forEach(result => finalResult.push(result)); | ||
} | ||
@@ -128,0 +128,0 @@ catch (e) { |
@@ -34,3 +34,3 @@ import { isSchema, parse } from 'graphql'; | ||
constructor(config) { | ||
this.config = config !== null && config !== void 0 ? config : {}; | ||
this.config = config ?? {}; | ||
} | ||
@@ -53,3 +53,3 @@ getMergedOptions(options) { | ||
} | ||
catch (_a) { | ||
catch { | ||
return false; | ||
@@ -94,3 +94,3 @@ } | ||
const result = await this.handleSinglePath(path, options); | ||
result === null || result === void 0 ? void 0 : result.forEach(result => finalResult.push(result)); | ||
result?.forEach(result => finalResult.push(result)); | ||
} | ||
@@ -121,3 +121,3 @@ catch (e) { | ||
const result = this.handleSinglePathSync(path, options); | ||
result === null || result === void 0 ? void 0 : result.forEach(result => finalResult.push(result)); | ||
result?.forEach(result => finalResult.push(result)); | ||
} | ||
@@ -124,0 +124,0 @@ catch (e) { |
{ | ||
"name": "@graphql-tools/code-file-loader", | ||
"version": "8.0.0-rc-20230519104353-b09f3180", | ||
"version": "8.0.0-rc-20230519104627-f6fea064", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -10,4 +10,4 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@graphql-tools/utils": "10.0.0-rc-20230519104353-b09f3180", | ||
"@graphql-tools/graphql-tag-pluck": "8.0.0-rc-20230519104353-b09f3180", | ||
"@graphql-tools/utils": "10.0.0-rc-20230519104627-f6fea064", | ||
"@graphql-tools/graphql-tag-pluck": "8.0.0-rc-20230519104627-f6fea064", | ||
"globby": "^11.0.3", | ||
@@ -14,0 +14,0 @@ "tslib": "^2.4.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37202
+ Added@graphql-tools/graphql-tag-pluck@8.0.0-rc-20230519104627-f6fea064(transitive)
+ Added@graphql-tools/utils@10.0.0-rc-20230519104627-f6fea064(transitive)
+ Added@graphql-typed-document-node/core@3.2.0(transitive)
- Removed@graphql-tools/graphql-tag-pluck@8.0.0-rc-20230519104353-b09f3180(transitive)
Updated@graphql-tools/graphql-tag-pluck@8.0.0-rc-20230519104627-f6fea064
Updated@graphql-tools/utils@10.0.0-rc-20230519104627-f6fea064