@graphql-tools/module-loader
Advanced tools
Comparing version 7.2.17 to 7.2.18-alpha-20230413101627-31ec7077
@@ -136,5 +136,4 @@ "use strict"; | ||
async importModule(pointer) { | ||
var _a; | ||
const { modulePath, exportName } = extractData(pointer); | ||
const imported = await (_a = modulePath, Promise.resolve().then(() => __importStar(require(_a)))); | ||
const imported = await Promise.resolve(`${modulePath}`).then(s => __importStar(require(s))); | ||
return this.extractFromModule(imported, modulePath, exportName || 'default'); | ||
@@ -141,0 +140,0 @@ } |
{ | ||
"name": "@graphql-tools/module-loader", | ||
"version": "7.2.17", | ||
"version": "7.2.18-alpha-20230413101627-31ec7077", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -10,3 +10,3 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@graphql-tools/utils": "9.2.1", | ||
"@graphql-tools/utils": "^9.2.1", | ||
"tslib": "^2.4.0" | ||
@@ -13,0 +13,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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
11706
286
2
Updated@graphql-tools/utils@^9.2.1