create-treble-app
Advanced tools
Comparing version 0.0.18 to 0.0.19
{ | ||
"name": "create-treble-app", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"main": "index.js", | ||
@@ -18,4 +18,5 @@ "license": "MIT", | ||
"cross-spawn": "^7.0.3", | ||
"enquirer": "^2.3.6" | ||
"enquirer": "^2.3.6", | ||
"fs-extra": "^10.0.0" | ||
} | ||
} |
import path, { dirname } from 'path'; | ||
import { fileURLToPath } from 'url'; | ||
import fs from 'fs'; | ||
import fs from 'fs-extra'; | ||
import * as messages from '../messages/index.js'; | ||
@@ -71,4 +71,4 @@ import spawn from 'cross-spawn'; | ||
if ( | ||
!fs.pathExistsSync(path.join(outputDir, '.gitignore')) && | ||
fs.pathExistsSync(path.join(outputDir, 'gitignore')) | ||
!fs.existsSync(path.join(outputDir, '.gitignore')) && | ||
fs.existsSync(path.join(outputDir, 'gitignore')) | ||
) { | ||
@@ -75,0 +75,0 @@ await fs.move( |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
42232
4
+ Addedfs-extra@^10.0.0
+ Addedfs-extra@10.1.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addeduniversalify@2.0.1(transitive)