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

resolve-tspaths

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-tspaths - npm Package Compare versions

Comparing version 0.8.17 to 0.8.18

4

dist/steps/generateChanges.js

@@ -20,2 +20,3 @@ "use strict";

".d.ts",
".json",
];

@@ -125,3 +126,4 @@ /**

const importPathTs = importPath.replace(/\.[^/.]*js[^/.]*$/, (match) => match.replace("js", "ts"));
const importPathWithExtensions = MODULE_EXTS.map((ext) => `${importPath}${ext}`);
const importPathWithoutFileExtension = importPath.replace(/\.[^/.]*(js|json)[^/.]*$/, "");
const importPathWithExtensions = MODULE_EXTS.map((ext) => `${importPathWithoutFileExtension}${ext}`);
const possiblePaths = [importPath, importPathTs, ...importPathWithExtensions];

@@ -128,0 +130,0 @@ const existingPath = possiblePaths.find((path) => isFile(path));

{
"version": "0.8.17"
"version": "0.8.18"
}
{
"name": "resolve-tspaths",
"version": "0.8.17",
"version": "0.8.18",
"description": "Transform path mappings in your compiled Typescript code",

@@ -5,0 +5,0 @@ "author": "Ben Yap <contact@benyap.com>",

@@ -217,2 +217,5 @@ # resolve-tspaths

</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ajsuvarna6"><img src="https://avatars.githubusercontent.com/u/15179597?v=4?s=80" width="80px;" alt="Ajay Dharnappa Poojary"/><br /><sub><b>Ajay Dharnappa Poojary</b></sub></a><br /><a href="https://github.com/benyap/resolve-tspaths/issues?q=author%3Aajsuvarna6" title="Bug reports">🐛</a></td>
</tr>
</tbody>

@@ -219,0 +222,0 @@ </table>

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