@graphql-toolkit/file-loading
Advanced tools
Comparing version 0.10.4-alpha-6a4c019.0 to 0.10.4-alpha-7ceac22.1
@@ -6,18 +6,18 @@ 'use strict'; | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) { return e; } else { | ||
var n = {}; | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
}); | ||
if (e && e.__esModule) { return e; } else { | ||
var n = {}; | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
}); | ||
} | ||
n['default'] = e; | ||
return n; | ||
} | ||
n['default'] = e; | ||
return n; | ||
} | ||
} | ||
@@ -138,12 +138,10 @@ | ||
} | ||
if (extensions) { | ||
for (const extension of extensions) { | ||
if (path.endsWith(extension)) { | ||
return true; | ||
} | ||
if (!extensions) { | ||
return true; | ||
} | ||
for (const extension of extensions) { | ||
if (path.endsWith(extension)) { | ||
return true; | ||
} | ||
} | ||
else { | ||
return true; | ||
} | ||
return false; | ||
@@ -191,1 +189,2 @@ }; | ||
exports.loadSchemaFilesAsync = loadFilesAsync; | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -0,0 +0,0 @@ export interface LoadFilesOptions { |
@@ -114,12 +114,10 @@ const DEFAULT_IGNORED_EXTENSIONS = ['spec', 'test', 'd', 'map']; | ||
} | ||
if (extensions) { | ||
for (const extension of extensions) { | ||
if (path.endsWith(extension)) { | ||
return true; | ||
} | ||
if (!extensions) { | ||
return true; | ||
} | ||
for (const extension of extensions) { | ||
if (path.endsWith(extension)) { | ||
return true; | ||
} | ||
} | ||
else { | ||
return true; | ||
} | ||
return false; | ||
@@ -162,1 +160,2 @@ }; | ||
export { loadFiles, loadFilesAsync, loadFiles as loadResolversFiles, loadFilesAsync as loadResolversFilesAsync, loadFiles as loadSchemaFiles, loadFilesAsync as loadSchemaFilesAsync }; | ||
//# sourceMappingURL=index.esm.js.map |
{ | ||
"name": "@graphql-toolkit/file-loading", | ||
"version": "0.10.4-alpha-6a4c019.0+6a4c019", | ||
"version": "0.10.4-alpha-7ceac22.1+7ceac22", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
42573
7
355