create-treble-app
Advanced tools
Comparing version 0.0.32 to 0.0.33
{ | ||
"name": "create-treble-app", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -136,3 +136,3 @@ import spawn from 'cross-spawn'; | ||
if (name === '.') { | ||
const packageJson = require('./package.json'); | ||
const packageJson = require(path.join(root, 'package.json')); | ||
name = packageJson.name; | ||
@@ -139,0 +139,0 @@ } else { |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
4892
3