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.3.3 to 1.3.4

6

dist/index.js

@@ -125,6 +125,8 @@ "use strict";

}
const modulePath = orig.substring(0, index) +
const newImportScript = orig.substring(0, index) +
relativeAliasPath +
'/' +
orig.substring(index + alias.prefix.length);
return modulePath.replace(/\/\//g, '/');
const modulePath = newImportScript.match(utils_1.newStringRegex()).groups.path;
return newImportScript.replace(modulePath, normalizePath(modulePath));
}

@@ -131,0 +133,0 @@ return orig;

{
"name": "tsc-alias",
"version": "1.3.3",
"version": "1.3.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

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