config-file-ts
Advanced tools
Comparing version 0.2.4 to 0.2.5
{ | ||
"name": "config-file-ts", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"main": "dist/index.js", | ||
@@ -20,22 +20,17 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"glob": "^7.1.6", | ||
"typescript": "^4.0.2" | ||
"glob": "^10.3.10", | ||
"typescript": "^5.3.3" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.2.12", | ||
"@types/glob": "^7.1.3", | ||
"@types/jest": "^26.0.10", | ||
"@types/node": "^14.6.1", | ||
"@types/rimraf": "^3.0.0", | ||
"chai": "^4.2.0", | ||
"jest": "^26.4.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.26.6", | ||
"rollup-plugin-typescript2": "^0.27.2", | ||
"ts-jest": "^26.3.0" | ||
"@types/chai": "^4.3.11", | ||
"@types/glob": "^8.1.0", | ||
"@types/jest": "^29.5.11", | ||
"@types/node": "^20.10.5", | ||
"chai": "^4.3.10", | ||
"jest": "^29.7.0", | ||
"rimraf": "^5.0.5", | ||
"rollup": "^4.9.1", | ||
"rollup-plugin-typescript2": "^0.36.0", | ||
"ts-jest": "^29.1.1" | ||
}, | ||
"scripts": { | ||
"test": "jest", | ||
"dist": "rimraf dist && rollup -c" | ||
}, | ||
"repository": { | ||
@@ -50,3 +45,7 @@ "type": "git", | ||
"sideEffects": false, | ||
"license": "MIT" | ||
} | ||
"license": "MIT", | ||
"scripts": { | ||
"test": "jest", | ||
"dist": "rimraf dist && rollup -c" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import glob from "glob"; | ||
import { glob } from "glob"; | ||
import path from "path"; | ||
@@ -101,3 +101,2 @@ import { tsCompile } from "./tsCompile"; | ||
/** Put a link in the output directory to node_modules. | ||
@@ -104,0 +103,0 @@ */ |
import { compileConfigIfNecessary } from "./compileUtil"; | ||
import os from "os"; | ||
import os, { platform } from "os"; | ||
import path from "path"; | ||
@@ -35,7 +35,10 @@ | ||
const tsPath = path.resolve(tsFile); | ||
const smushedPath = tsPath | ||
let smushedPath = tsPath | ||
.split(path.sep) | ||
.join("-") | ||
.slice(1); | ||
if (platform.name === "win32") { | ||
smushedPath = smushedPath.replace(/^:/, ""); | ||
} | ||
return path.join(os.homedir(), ".cache", programName, smushedPath); | ||
} |
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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
10
0
12987
7
284
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.3(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedtypescript@5.6.2(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedtypescript@4.9.5(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedglob@^10.3.10
Updatedtypescript@^5.3.3