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

jsdoc-tsimport-plugin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsdoc-tsimport-plugin - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

4

index.js

@@ -40,3 +40,3 @@ const path = require('path');

*/
const importRegex = /import\(['"]([\.\/\w-\$]*)(?:\.js)?['"]\)\.([\w-\$]*)/g;
const importRegex = /import\(['"](\@?[\.\/_a-zA-Z0-9-\$]*)(?:\.js)?['"]\)\.?([_a-zA-Z0-9-\$]*)?/g;

@@ -140,3 +140,3 @@ const typeRegex = /\{[^}]*\}/g;

const moduleId = getModuleId(e.filename, relImportPath);
return (moduleId) ? `module:${moduleId}~${symbolName}` : symbolName;
return (moduleId) ? `module:${moduleId}${symbolName?"~"+symbolName:""}` : symbolName;
});

@@ -143,0 +143,0 @@ });

{
"name": "jsdoc-tsimport-plugin",
"version": "1.0.4",
"version": "1.0.5",
"description": "A JSDoc plugin to support the typescript module import syntax.",

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

@@ -0,0 +0,0 @@ # jsdoc-tsimport-plugin

Sorry, the diff of this file is not supported yet

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