Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tsconfck

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsconfck - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

12

package.json
{
"name": "tsconfck",
"version": "3.1.1",
"version": "3.1.2",
"description": "A utility to work with tsconfig.json without typescript",

@@ -52,7 +52,9 @@ "license": "MIT",

"@tsconfig/node18": "^18.2.4",
"@vitest/coverage-v8": "^1.6.0",
"esbuild": "^0.21.5",
"@tsconfig/strictest": "^2.0.5",
"@vitest/coverage-v8": "^2.0.5",
"esbuild": "^0.23.1",
"isaacscript-tsconfig": "^6.0.0",
"tiny-glob": "^0.2.9",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},

@@ -59,0 +61,0 @@ "engines": {

@@ -370,3 +370,3 @@ import path from 'node:path';

function rebasePath(value, prependPath) {
if (path.isAbsolute(value)) {
if (path.isAbsolute(value) || value.startsWith('${configDir}')) {
return value;

@@ -373,0 +373,0 @@ } else {

@@ -307,5 +307,5 @@ import path from 'node:path';

JSON.stringify(tsconfig)
// replace ${configDir}, accounting for rebaseRelative emitted ../${configDir}
.replaceAll(/"(?:\.\.\/)*\${configDir}/g, `"${native2posix(configDir)}`)
// replace ${configDir}
.replaceAll(/"\${configDir}/g, `"${native2posix(configDir)}`)
);
}

@@ -111,3 +111,3 @@ declare module 'tsconfck' {

*/
constructor(diagnostic: any, tsconfigFile: string, result: any | null);
constructor(diagnostic: TSDiagnosticError, tsconfigFile: string, result: any | null);
/**

@@ -120,3 +120,3 @@ * code of typescript diagnostic, prefixed with "TS "

* */
diagnostic: any;
diagnostic: TSDiagnosticError;
/**

@@ -131,2 +131,11 @@ * native result if present, contains all errors in result.errors

}
/**
* {
* code: number;
* category: number;
* messageText: string;
* start?: number;
* } TSDiagnosticError
*/
type TSDiagnosticError = any;
interface TSConfckFindOptions {

@@ -252,4 +261,6 @@ /**

}
export {};
}
//# sourceMappingURL=index.d.ts.map

Sorry, the diff of this file is not supported yet

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