'WeakMap' is undefined in Vue 2.7.11 and above (IE10 and under)

This issue has been created since 2022-10-18.

Version

2.7.11

Reproduction link

github.com

Steps to reproduce

Open a Vue2 app using internet explorer 10 or below

What is expected?

App loads and 'Hello Vue!' is displayed

What is actually happening?

App does not load and 'WeakMap' is undefined is printed to the console


WeakMap is not supported in Internet Explorer 10 or less and was introduced to Vue in version 2.7.11

posva wrote this answer on 2022-10-18

as a workaround, use a weakmap polyfill: https://github.com/polygonplanet/weakmap-polyfill

gingerbenw wrote this answer on 2022-10-20

Thanks @posva - we provide a framework to customers with a fairly wide browser base, while we're happy to include this polyfill for our own testing purposes, this does seem like a change in browser support that some of our customers may also be feeling. Does the Vue team intend to continue supporting these legacy browsers for Vue2, or is there an intended change in browser support that we should be prepared for?

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-12-10
Star Count 201155
Watcher Count 6070
Fork Count 33134
Issue Count 595

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Question about camera-only test 2 2022-10-06 2022-11-28
Wrong Nastaliq glyphs for U+06BD ARABIC LETTER NOON WITH THREE DOTS ABOVE 3 2022-02-09 2022-10-01
Supporting custom parameters 3 2022-03-28 2022-11-28
Multiple Globs conflict when using both root-relative and file-relative globs 8 2022-03-29 2022-11-28
Publish with correct version for null safety 4 2021-02-12 2022-12-05
Add new Account Types 0 2021-11-05 2022-08-11
Bucket Page - Make Bucket listing more compact 0 2021-11-05 2022-09-25
`Worksheet::last_row()` or similar 6 2022-04-07 2022-12-09
Plugin for Grafana v7.4.0 8 2021-07-15 2022-10-23
Error when Angular app is building 1 2020-11-18 2022-11-12
[Select] Demo flickering on open in v4 docs using iOS v15.4 4 2022-04-18 2022-11-12
Detect all of the archive types supported by AUTO UnShrinkIt 2 2022-03-08 2022-11-27
Wrong preview position on scrolling 0 2021-09-05 2022-10-19
Always show "GitLab failed to respond and might be experiencing issues." 4 2022-07-11 2022-09-28
[Android, AndroidTV] Can't run Android apps on M1 mac 2 2022-08-26 2022-11-30
[IDEE] Den Spendenlink bei erfolgreich gebuchtem Termin anzeigen 1 2021-06-10 2022-11-28
chapter 2.4.2 a pronouncing dictionary 0 2022-01-11 2022-11-28
Please add support for "Zsh 4 Humans". 0 2022-07-24 2022-11-30
Label discrepancy on Login and Password pages 8 2022-06-16 2022-10-03
[TypeScript] @mdx-js/rollup doesn't match Vite 3's plugin types 7 2022-08-15 2022-11-25
Use option passing to nominate a PlantUML theme 1 2021-09-10 2022-11-15
Error during creating a channel 1 2022-04-24 2022-12-03
GCP bucket region raises error 0 2022-04-06 2022-12-03
Race condition with concurency control 3 2021-09-15 2022-11-23
Add skewness and kurtosis function 2 2022-03-07 2022-10-24
Error starting a Error starting Ice Age Village 1 2021-08-20 2022-11-23
Gridded interpolation with single knot 1 2022-06-26 2022-11-30
Restore VAE example smoke test to CI 0 2021-03-04 2022-11-24
Tabular Partition page doesn't match AdventureWorksDW2019 database 2 2021-03-19 2022-12-08
Cannot edit BigInts 0 2021-02-02 2022-01-02
[pt] “ao a” - 2022-10-11 3 2022-10-11 2022-10-18
Spurious Bokeh test failure `TestOverlayPlot.test_active_tools_draw_stream` 0 2022-05-16 2022-10-20
Confused-can I run 7.5.1 in W10? 3 2022-07-18 2022-09-09
Channels in mri_silhouettes 0 2022-11-29 2022-12-03
wc-ajax=get_refreshed_fragments / It drastically slows down the website. 6 2022-02-24 2022-07-21
Error see detail of the modified ticket #13062 2 2022-10-26 2022-12-08
Report email_verified event in auth event channel 4 2022-03-03 2022-11-13
Can't get icecast streams to work on iOS 8 2019-09-30 2022-11-19
Please Disambiguate supportTerminateDebuggee and supportsTerminateRequest Capabilities in Documentation 2 2022-02-26 2022-12-09
[Event Request] codeunit 5612 "Calculate Custom 1 Depr.": Event after setting Acquisition Cost 2 2022-06-02 2022-10-19
fix exceptions 2 2015-03-18 2022-01-20
【论文复现营】x2paddle转换的torch模型与torch模型输出形状及内容均不同,但无报错 5 2021-05-19 2022-11-19
Support Extended Window Manager Hints 0 2022-07-15 2022-11-17
Can't find column in composite key 2 2022-01-07 2022-11-17
Publishing the library to the central maven repository 0 2021-09-19 2022-11-28
[FP]: Apache Iceberg catalog for Hive Metastore matches Apache Hive 1 2022-10-17 2022-11-12
[py-tx] Default state storage and merge is prohibitively memory intensive 0 2022-09-01 2022-12-02
Provide option to ignore null collection elements, not just null property values. 14 2022-11-28 2022-12-10
.NET MAUI Blazor crashes when changing system font on Android device 2 2022-04-14 2022-07-28
Add width, height and aspect ratio of the photos 3 2020-08-13 2022-11-17