Socket
Socket
Sign inDemoInstall

@vitejs/plugin-legacy

Package Overview
Dependencies
Maintainers
5
Versions
70
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 4.0.5 to 4.1.0

4

dist/index.d.ts

@@ -31,2 +31,6 @@ import { Plugin } from 'vite';

externalSystemJS?: boolean;
/**
* default: true
*/
renderModernChunks?: boolean;
}

@@ -33,0 +37,0 @@

8

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

@@ -45,7 +45,7 @@ "author": "Evan You",

"dependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/core": "^7.22.6",
"@babel/preset-env": "^7.22.6",
"browserslist": "^4.21.9",
"core-js": "^3.31.0",
"magic-string": "^0.30.0",
"magic-string": "^0.30.1",
"regenerator-runtime": "^0.13.11",

@@ -52,0 +52,0 @@ "systemjs": "^6.14.1"

@@ -120,2 +120,9 @@ # @vitejs/plugin-legacy [![npm](https://img.shields.io/npm/v/@vitejs/plugin-legacy.svg)](https://npmjs.com/package/@vitejs/plugin-legacy)

### `renderModernChunks`
- **Type:** `boolean`
- **Default:** `true`
Set to `false` to only output the legacy bundles that support all target browsers.
## Browsers that supports ESM but does not support widely-available features

@@ -122,0 +129,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