@coex/graphql-vercajk
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -7,3 +7,3 @@ import { existsSync, mkdirSync, writeFileSync } from 'fs'; | ||
if (existsSync(filePath)) { | ||
return require(filePath).default; | ||
return import(filePath).default; | ||
} | ||
@@ -10,0 +10,0 @@ if (throwError) { |
{ | ||
"name": "@coex/graphql-vercajk", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Collection of graphql tools", | ||
@@ -5,0 +5,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
1
11269