Socket
Socket
Sign inDemoInstall

tsconfig-paths

Package Overview
Dependencies
3
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.1.0

test/filesystem-tests.ts

13

CHANGELOG.md

@@ -9,7 +9,12 @@ # Change Log

## [3.1.0] - 2018-01-13
### Added
- Implement default async json reader function.
## [3.0.0] - 2018-01-13
### Changed
- Remove parameter `absoluteSourceFileName: string` from `MatchPath` and `absolutePathMappings`. It was not used internally.
- `absolutePathMappings` now accepts a pre-sorted array of `MappingEntry`s instead of a dictionary.
- Remove parameter `absoluteSourceFileName` from the `MatchPath` and `matchFromAbsolutePaths` functions. It was not used internally.
- `matchFromAbsolutePaths` now accepts a pre-sorted array of `MappingEntry`s instead of a dictionary. This was done so the sorting could be done once which should give better performance.

@@ -134,3 +139,5 @@ ### Added

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

@@ -137,0 +144,0 @@ [2.7.2]: https://github.com/dividab/tsconfig-paths/compare/2.7.1...2.7.2

@@ -20,4 +20,9 @@ "use strict";

callback) {
console.log("TODO!!!", path);
callback(undefined, undefined);
fs.readFile(path, "utf8", function (err, result) {
if (err) {
callback(err);
}
var json = JSON.parse(result);
callback(undefined, json);
});
}

@@ -24,0 +29,0 @@ exports.readJsonFromDiskAsync = readJsonFromDiskAsync;

{
"name": "tsconfig-paths",
"version": "3.0.0",
"version": "3.1.0",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc