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

@vitejs/plugin-legacy

Package Overview
Dependencies
Maintainers
3
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitejs/plugin-legacy - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

11

CHANGELOG.md

@@ -0,1 +1,12 @@

## [1.4.3](https://github.com/vitejs/vite/compare/plugin-legacy@1.4.2...plugin-legacy@1.4.3) (2021-06-27)
### Bug Fixes
* don't force polyfillDynamicImport if renderLegacyChunks is false ([#3695](https://github.com/vitejs/vite/issues/3695)) ([#3774](https://github.com/vitejs/vite/issues/3774)) ([d2a51ca](https://github.com/vitejs/vite/commit/d2a51ca4eda2ca9f99d9a066836d76d2253cfc24))
* **deps:** update all non-major dependencies ([#3878](https://github.com/vitejs/vite/issues/3878)) ([a66a805](https://github.com/vitejs/vite/commit/a66a8053e9520d20bcf95fce870570c5195bcc91))
* **plugin-legacy:** chunk may not exist ([#3886](https://github.com/vitejs/vite/issues/3886)) ([dd5931d](https://github.com/vitejs/vite/commit/dd5931d9c1cf382849047332b2c3409755ceebf5))
## [1.4.2](https://github.com/vitejs/vite/compare/plugin-legacy@1.4.1...plugin-legacy@1.4.2) (2021-06-22)

@@ -2,0 +13,0 @@

5

index.js

@@ -79,3 +79,5 @@ // @ts-check

}
config.build.polyfillDynamicImport = true
if (genLegacy) {
config.build.polyfillDynamicImport = true
}
}

@@ -307,2 +309,3 @@ }

transformIndexHtml(html, { chunk }) {
if (!chunk) return
if (chunk.fileName.includes('-legacy')) {

@@ -309,0 +312,0 @@ // The legacy bundle is built first, and its index.html isn't actually

6

package.json
{
"name": "@vitejs/plugin-legacy",
"version": "1.4.2",
"version": "1.4.3",
"license": "MIT",

@@ -29,4 +29,4 @@ "author": "Evan You",

"dependencies": {
"@babel/standalone": "^7.14.6",
"core-js": "^3.14.0",
"@babel/standalone": "^7.14.7",
"core-js": "^3.15.1",
"magic-string": "^0.25.7",

@@ -33,0 +33,0 @@ "regenerator-runtime": "^0.13.7",

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