Socket
Socket
Sign inDemoInstall

config-file-ts

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config-file-ts - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

39

package.json
{
"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);
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc