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

tsconfig-paths

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsconfig-paths - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

lib/match-path.js

@@ -89,3 +89,5 @@ "use strict";

var file = path.join(physicalPath, packageJson.main);
return file.replace(path.extname(file), "");
var fileExtension = path.extname(file).replace(/^\./, "");
var fileExtensionRegex = new RegExp("." + fileExtension + "$");
return fileExtension ? file.replace(fileExtensionRegex, "") : file;
}

@@ -92,0 +94,0 @@ var indexPath = path.join(physicalPath, "/index");

{
"name": "tsconfig-paths",
"version": "2.1.0",
"version": "2.1.1",
"description": "Load node modules according to tsconfig paths, in run-time or via API.",

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

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