Socket
Socket
Sign inDemoInstall

tsc-alias

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsc-alias - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

4

bin/index.js

@@ -24,2 +24,6 @@ #! /usr/bin/env node

const configFile = path_1.resolve(process.cwd(), project ? project : 'tsconfig.json');
console.info(configFile);
if (!fs_1.existsSync(configFile)) {
throw new Error('No valid tsconfig.json file. Specify one by tsc-alias -p tsconfig.json!');
}
console.log(`tsconfig.json: ${configFile}`);

@@ -26,0 +30,0 @@ const { baseUrl, outDir, paths } = util_1.loadConfig(configFile);

2

package.json
{
"name": "tsc-alias",
"version": "1.0.6",
"version": "1.0.7",
"description": "Replace absolute paths to relative paths after typescript compilation",

@@ -5,0 +5,0 @@ "main": "bin/index.js",

@@ -5,3 +5,3 @@ #! /usr/bin/env node

import * as program from 'commander';
import { readFileSync, writeFileSync } from 'fs';
import { existsSync, readFileSync, writeFileSync } from 'fs';
import { sync } from 'globby';

@@ -33,2 +33,9 @@ import * as normalizePath from 'normalize-path';

const configFile = resolve(process.cwd(), project ? project : 'tsconfig.json');
console.info(configFile);
if (!existsSync(configFile)) {
throw new Error(
'No valid tsconfig.json file. Specify one by tsc-alias -p tsconfig.json!'
);
}
console.log(`tsconfig.json: ${configFile}`);

@@ -35,0 +42,0 @@

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