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.3.0 to 0.3.1

dist/index.cjs

87

package.json
{
"name": "vite-plugin-banner",
"version": "0.3.0",
"description": "A banner plugin for Vite. Adds a banner to the top of each generated chunk.",
"main": "dist/vite-plugin-banner.min.js",
"types": "dist/main.d.ts",
"version": "0.3.1",
"author": "chengpeiquan <chengpeiquan@chengpeiquan.com>",
"license": "MIT",
"homepage": "https://github.com/chengpeiquan/vite-plugin-banner",
"files": [
"dist"
],
"main": "./dist/index.min.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.js"
}
},
"scripts": {
"build": "rollup -c rollup.config.ts",
"build": "rollup -c rollup.config.ts && esno scripts/buildTypes",
"test": "jest --no-cache --detectOpenHandles",
"lint": "eslint src --ext .js,.ts",
"format": "prettier --write .",
"backup": "git add . && git commit -m \"chore: save the coding progress\" && git push"
"backup": "git add . && git commit -m \"chore: backup\" && git push",
"up": "npx npm-check-updates -u"
},

@@ -22,34 +37,34 @@ "repository": {

],
"author": "chengpeiquan",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-babel": "^5.2.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@babel/core": "^7.18.10",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.18.10",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/babel__core": "^7.1.9",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"babel-jest": "^27.4.6",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.4.7",
"lint-staged": "^12.1.7",
"prettier": "^2.5.1",
"rollup": "^2.26.4",
"rollup-plugin-banner2": "^1.0.0",
"rollup-plugin-terser": "^7.0.0",
"rollup-plugin-typescript2": "^0.27.3",
"ts-jest": "^27.1.2",
"ts-node": "^10.4.0",
"tslib": "^2.3.1",
"typescript": "^4.5.4",
"vite": "^2.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/babel__core": "^7.1.19",
"@types/jest": "^28.1.7",
"@types/node": "^18.7.8",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"babel-jest": "^28.1.3",
"dts-bundle-generator": "^6.12.0",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"esno": "^0.16.3",
"jest": "^28.1.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rollup": "^2.78.1",
"rollup-plugin-banner2": "^1.2.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.33.0",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4",
"vite": "^3.0.9",
"yorkie": "^2.0.0"

@@ -59,3 +74,3 @@ },

"pre-commit": "lint-staged",
"commit-msg": "node scripts/verifyCommit.js"
"commit-msg": "esno scripts/verifyCommit.ts"
},

@@ -62,0 +77,0 @@ "lint-staged": {

@@ -19,4 +19,2 @@ <p align='center'>

> โ„น๏ธ **Only support for Vite 2.** <br>Since v0.3.0, ESM and CommonJS module files are supported.
## Install

@@ -23,0 +21,0 @@

@@ -19,4 +19,2 @@ <p align='center'>

> โ„น๏ธ **ๅชๆ”ฏๆŒ Vite 2.** <br>ไปŽ v0.3.0 ๅผ€ๅง‹๏ผŒๆ”ฏๆŒๅค„็† ESM ๅ’Œ CommonJS ๆจกๅ—ๆ–‡ไปถใ€‚
## ๅฎ‰่ฃ…

@@ -23,0 +21,0 @@

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