Socket
Socket
Sign inDemoInstall

@graphql-toolkit/file-loading

Package Overview
Dependencies
Maintainers
3
Versions
713
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-toolkit/file-loading - npm Package Compare versions

Comparing version 0.10.4-alpha-6a4c019.0 to 0.10.4-alpha-7ceac22.1

index.cjs.js.map

45

index.cjs.js

@@ -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": {

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