@graphql-tools/load-files
Advanced tools
Comparing version 6.6.2-alpha-20220815193214-83898018 to 7.0.0-alpha-20230517123108-df347e95
@@ -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", |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
19351
+ Addedgraphql@16.9.0(transitive)
- Removed@graphql-tools/graphql@0.1.0-alpha-20220815193214-83898018
- Removed@graphql-tools/graphql@0.1.0-alpha-20220815193214-83898018(transitive)