Socket
Socket
Sign inDemoInstall

@graphql-tools/load-files

Package Overview
Dependencies
Maintainers
3
Versions
637
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/load-files - npm Package Compare versions

Comparing version 6.6.2-alpha-20220815193214-83898018 to 7.0.0-alpha-20230517123108-df347e95

4

cjs/index.js

@@ -9,3 +9,3 @@ "use strict";

const fs_1 = require("fs");
const graphql_1 = require("@graphql-tools/graphql");
const graphql_1 = require("graphql");
const module_1 = require("module");

@@ -163,3 +163,3 @@ const process_1 = require("process");

const extractExports = execOptions.extractExports || DEFAULT_EXTRACT_EXPORTS_FACTORY((_a = execOptions.exportNames) !== null && _a !== void 0 ? _a : []);
const defaultRequireMethod = (path) => Promise.resolve().then(() => tslib_1.__importStar(require(path))).catch(importError => {
const defaultRequireMethod = (path) => Promise.resolve(`${path}`).then(s => tslib_1.__importStar(require(s))).catch(importError => {
var _a;

@@ -166,0 +166,0 @@ const cwdRequire = (0, module_1.createRequire)((0, path_1.join)(((_a = options === null || options === void 0 ? void 0 : options.globOptions) === null || _a === void 0 ? void 0 : _a.cwd) || (0, process_1.cwd)(), 'noop.js'));

@@ -5,3 +5,3 @@ import globby, { sync as globbySync } from 'globby';

import { statSync, readFileSync, promises as fsPromises } from 'fs';
import { parse } from '@graphql-tools/graphql';
import { parse } from 'graphql';
import { createRequire } from 'module';

@@ -8,0 +8,0 @@ import { cwd } from 'process';

{
"name": "@graphql-tools/load-files",
"version": "6.6.2-alpha-20220815193214-83898018",
"version": "7.0.0-alpha-20230517123108-df347e95",
"description": "A set of utils for faster development of GraphQL tools",
"sideEffects": false,
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@graphql-tools/graphql": "0.1.0-alpha-20220815193214-83898018",
"globby": "11.1.0",

@@ -19,2 +21,5 @@ "unixify": "1.0.0",

"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"main": "cjs/index.js",

@@ -21,0 +26,0 @@ "module": "esm/index.js",

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