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

vite-plugin-dts

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-dts - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

5

dist/index.d.ts

@@ -20,2 +20,4 @@ import { Plugin } from 'vite';

copyDtsFiles?: boolean;
noEmitOnError?: boolean;
logDiagnostics?: boolean;
beforeWriteFile?: (filePath: string, content: string) => void | TransformWriteFile;

@@ -25,3 +27,2 @@ }

export default _default;
export { PluginOptions };
export { PluginOptions, _default as default };

14

package.json

@@ -18,6 +18,6 @@ {

"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"@vitejs/plugin-vue": "^1.4.0",
"@vue/compiler-sfc": "^3.2.2",
"@vue/compiler-sfc": "^3.2.4",
"chalk": "^4.1.2",

@@ -40,7 +40,7 @@ "commitizen": "^4.2.4",

"semver": "^7.3.5",
"ts-jest": "^27.0.4",
"tsup": "^4.13.1",
"ts-jest": "^27.0.5",
"tsup": "^4.14.0",
"typescript": "4.3.5",
"vite": "^2.4.3",
"vue": "^3.1.1"
"vue": "^3.2.4"
},

@@ -86,3 +86,3 @@ "engines": {

"types": "dist/index.d.ts",
"version": "0.6.0"
"version": "0.7.0"
}

@@ -87,2 +87,10 @@ # vite-plugin-dts

// Whether emit nothing when has any diagnostic
// Default: false
noEmitOnError?: boolean
// Whether log diagnostic informations
// Default: false
logDiagnostics?: boolean
// Before declaration file be writed hook

@@ -89,0 +97,0 @@ // You can transform declaration file-path and content through it

@@ -87,2 +87,10 @@ # vite-plugin-dts

// 出现类型诊断信息时不生成类型文件
// 默认值: false
noEmitOnError?: boolean
// 是否打印类型诊断信息
// 默认值: false
logDiagnostics?: boolean
// 类型声明文件被写入前的钩子

@@ -89,0 +97,0 @@ // 可以在钩子里转换文件路径和文件内容

Sorry, the diff of this file is too big to display

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