New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dts-generator

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dts-generator - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

4

index.js

@@ -147,3 +147,3 @@ /// <reference path="./typings/tsd" />

if (expression.text.charAt(0) === '.') {
return ' require(\'' + pathUtil.join(pathUtil.dirname(sourceModuleId), expression.text) + '\')';
return ' require(\'' + filenameToMid(pathUtil.join(pathUtil.dirname(sourceModuleId), expression.text)) + '\')';
}

@@ -158,3 +158,3 @@ }

if (text.charAt(0) === '.') {
return " '" + pathUtil.join(pathUtil.dirname(sourceModuleId), text) + "'";
return " '" + filenameToMid(pathUtil.join(pathUtil.dirname(sourceModuleId), text)) + "'";
}

@@ -161,0 +161,0 @@ }

{
"name": "dts-generator",
"description": ".d.ts generator. Generates a single d.ts bundle containing external modules from TypeScript files.",
"version": "1.4.0",
"version": "1.4.1",
"bugs": {

@@ -6,0 +6,0 @@ "url": "https://github.com/SitePen/dts-generator/issues"

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