@vitejs/plugin-legacy
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -0,1 +1,11 @@ | ||
## [1.5.1](https://github.com/vitejs/vite/compare/plugin-legacy@1.5.0...plugin-legacy@1.5.1) (2021-08-03) | ||
### Bug Fixes | ||
* **deps:** update all non-major dependencies ([#4468](https://github.com/vitejs/vite/issues/4468)) ([cd54a22](https://github.com/vitejs/vite/commit/cd54a22b8d5048f5d25a9954697f49b6d65dcc1f)) | ||
* **plugin-legacy:** bake-in Promise polyfill, fix [#4414](https://github.com/vitejs/vite/issues/4414) ([#4440](https://github.com/vitejs/vite/issues/4440)) ([024a2de](https://github.com/vitejs/vite/commit/024a2de63df60a4037f9f7b13a0bc6e2b0d41fb6)) | ||
# [1.5.0](https://github.com/vitejs/vite/compare/plugin-legacy@1.4.4...plugin-legacy@1.5.0) (2021-07-27) | ||
@@ -2,0 +12,0 @@ |
@@ -47,3 +47,8 @@ // @ts-check | ||
const modernPolyfills = new Set() | ||
const legacyPolyfills = new Set() | ||
// System JS relies on the Promise interface. It needs to be polyfilled for IE 11. (array.iterator is mandatory for supporting Promise.all) | ||
const DEFAULT_LEGACY_POLYFILL = [ | ||
'core-js/modules/es.promise', | ||
'core-js/modules/es.array.iterator' | ||
] | ||
const legacyPolyfills = new Set(DEFAULT_LEGACY_POLYFILL) | ||
@@ -50,0 +55,0 @@ if (Array.isArray(options.modernPolyfills)) { |
{ | ||
"name": "@vitejs/plugin-legacy", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"license": "MIT", | ||
@@ -29,4 +29,4 @@ "author": "Evan You", | ||
"dependencies": { | ||
"@babel/standalone": "^7.14.8", | ||
"core-js": "^3.15.2", | ||
"@babel/standalone": "^7.14.9", | ||
"core-js": "^3.16.0", | ||
"magic-string": "^0.25.7", | ||
@@ -33,0 +33,0 @@ "regenerator-runtime": "^0.13.9", |
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
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
36221
626
Updated@babel/standalone@^7.14.9
Updatedcore-js@^3.16.0