vite-plugin-banner
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2
2
22619
32
7
46
193
1