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

vite-plugin-banner

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-banner - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

13

dist/index.d.ts
/**
* Some options from `vite.config.[ts|js]`
* @tips This options type is supported since `0.2.0`
* @since 0.2.0
*/

@@ -17,6 +17,14 @@ export interface BannerPluginOptions {

* Whether to print error messages to the console
* @tips This option is supported since `0.4.0`
* @since 0.4.0
* @default `false`
*/
debug?: boolean;
/**
* By default, the validity of the content will be verified.
* If set to `false`, no verification will be performed.
* @see https://github.com/chengpeiquan/vite-plugin-banner/issues/13
* @since 0.5.0
* @default `true`
*/
verify?: boolean;
}

@@ -30,2 +38,3 @@ /**

debug: boolean;
verify: boolean;
}

@@ -32,0 +41,0 @@ /**

2

package.json
{
"name": "vite-plugin-banner",
"description": "A banner plugin for Vite. Adds a banner to the top of each generated chunk.",
"version": "0.4.0",
"version": "0.5.0",
"author": "chengpeiquan <chengpeiquan@chengpeiquan.com>",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -39,3 +39,3 @@ <p align='center'>

* Some options from `vite.config.[ts|js]`
* @tips This options type is supported since `0.2.0`
* @since 0.2.0
*/

@@ -56,6 +56,15 @@ export interface BannerPluginOptions {

* Whether to print error messages to the console
* @tips This option is supported since `0.4.0`
* @since 0.4.0
* @default `false`
*/
debug?: boolean
/**
* By default, the validity of the content will be verified.
* If set to `false`, no verification will be performed.
* @see https://github.com/chengpeiquan/vite-plugin-banner/issues/13
* @since 0.5.0
* @default `true`
*/
verify?: boolean
}

@@ -62,0 +71,0 @@ ```

@@ -39,3 +39,3 @@ <p align='center'>

* ๆฅ่‡ช `vite.config.[ts|js]` ็š„ไธ€ไบ›้€‰้กน
* @tips ไปŽ `0.2.0` ๅผ€ๅง‹ๆ”ฏๆŒๆญค้€‰้กน็ฑปๅž‹
* @since 0.2.0
*/

@@ -56,6 +56,14 @@ export interface BannerPluginOptions {

* ๆ˜ฏๅฆๅฐ†้”™่ฏฏไฟกๆฏๆ‰“ๅฐๅˆฐๆŽงๅˆถๅฐ
* @tips ไปŽ `0.4.0` ๅผ€ๅง‹ๆ”ฏๆŒๆญค้€‰้กน
* @since 0.4.0
* @default `false`
*/
debug?: boolean
/**
* ้ป˜่ฎคไผš้ชŒ่ฏๅ†…ๅฎน็š„ๅˆๆณ•ๆ€ง๏ผŒ่ฎพ็ฝฎไธบ `false` ๅˆ™ไธ้ชŒ่ฏ
* @see https://github.com/chengpeiquan/vite-plugin-banner/issues/13
* @since 0.5.0
* @default `true`
*/
verify?: boolean
}

@@ -62,0 +70,0 @@ ```

Sorry, the diff of this file is not supported yet

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