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.7.2 to 2.7.3

7

CHANGELOG.md

@@ -10,2 +10,6 @@ # Change Log

## [2.7.3]
### Fixed
- Only resolve path if tsconfig present [#25](https://github.com/dividab/tsconfig-paths/pull/25). Thanks to @nicoschoenmaker for the PR.
## [2.7.2]

@@ -121,3 +125,4 @@ ### Fixed

[Unreleased]: https://github.com/dividab/tsconfig-paths/compare/2.7.2...master
[Unreleased]: https://github.com/dividab/tsconfig-paths/compare/2.7.3...master
[2.7.3]: https://github.com/dividab/tsconfig-paths/compare/2.7.2...2.7.3
[2.7.2]: https://github.com/dividab/tsconfig-paths/compare/2.7.1...2.7.2

@@ -124,0 +129,0 @@ [2.7.1]: https://github.com/dividab/tsconfig-paths/compare/2.7.0...2.7.1

4

lib/tsconfig-loader.js

@@ -41,4 +41,4 @@ "use strict";

}
var configAbsolutePath = path.resolve(walkForTsConfig(cwd));
return configAbsolutePath;
var configAbsolutePath = walkForTsConfig(cwd);
return configAbsolutePath ? path.resolve(configAbsolutePath) : undefined;
}

@@ -45,0 +45,0 @@ exports.resolveConfigPath = resolveConfigPath;

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

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

"start": "cd src && ts-node index.ts",
"start:example:node": "yarn build && cd example/node && ts-node -r ../register.js main.ts",
"start:example:api": "cd example/api && ts-node main.ts",
"example:node": "yarn build && cd example/node && ts-node -r ../register.js main.ts",
"example:api": "cd example/api && ts-node main.ts",
"example:perf": "cd example/perf && ts-node main.ts",
"test": "mocha",

@@ -40,0 +41,0 @@ "build": "rm -rf lib && tsc -p src",

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