Comparing version 0.0.0 to 0.0.1
@@ -22,1 +22,5 @@ export interface PackageInfo { | ||
export function getPackageInfo(name: string, options?: PackageResolvingOptions): Promise<PackageInfo | undefined> | ||
export function resolve(path: string, options?: PackageResolvingOptions): string | undefined | ||
export function importModule<T = any>(path: string): Promise<T> |
{ | ||
"name": "local-pkg", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "", | ||
@@ -34,9 +34,6 @@ "main": "index.cjs", | ||
], | ||
"scripts": { | ||
"release": "bumpp --commit --push --tag && pnpm publish", | ||
"test": "node test/cjs.cjs && node test/esm.mjs" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^0.7.0", | ||
"@antfu/ni": "^0.7.0", | ||
"@antfu/utils": "^0.3.0", | ||
"@types/chai": "^4.2.22", | ||
@@ -55,3 +52,7 @@ "@types/jasmine": "^3.9.1", | ||
"mlly": "^0.2.2" | ||
}, | ||
"scripts": { | ||
"release": "bumpp --commit --push --tag && pnpm publish", | ||
"test": "node test/cjs.cjs && node test/esm.mjs" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
6626
157
13
10