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.6.3 to 1.6.4

10

dist/helpers/config.js

@@ -74,9 +74,11 @@ "use strict";

if (outDir) {
const isAbsolutePath = (0, path_1.isAbsolute)(outDir);
config.outDir = isAbsolutePath ? outDir : (0, path_1.join)(configDir, outDir);
config.outDir = (0, path_1.isAbsolute)(outDir) ? outDir : (0, path_1.join)(configDir, outDir);
}
if (paths)
config.paths = paths;
if (declarationDir)
config.declarationDir = declarationDir;
if (declarationDir) {
config.declarationDir = (0, path_1.isAbsolute)(declarationDir)
? declarationDir
: (0, path_1.join)(configDir, declarationDir);
}
if (TSCAliasConfig === null || TSCAliasConfig === void 0 ? void 0 : TSCAliasConfig.replacers)

@@ -83,0 +85,0 @@ config.replacers = TSCAliasConfig.replacers;

2

dist/index.js

@@ -55,3 +55,3 @@ "use strict";

if (options.declarationDir) {
replaceTscAliasPaths(Object.assign(Object.assign({}, options), { outDir: options.declarationDir, declarationDir: undefined, output: config.output, aliasTrie: config.aliasTrie }));
replaceTscAliasPaths(Object.assign(Object.assign({}, options), { outDir: options.declarationDir, declarationDir: undefined, output: config.output, aliasTrie: undefined }));
}

@@ -58,0 +58,0 @@ });

{
"name": "tsc-alias",
"version": "1.6.3",
"version": "1.6.4",
"description": "Replace alias paths with relative paths after typescript compilation.",

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

Sorry, the diff of this file is not supported yet

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