fengari-interop icon indicating copy to clipboard operation
fengari-interop copied to clipboard

Use new globalThis compat routine

Open daurnimator opened this issue 6 years ago • 2 comments

Closes #45

Based on https://mathiasbynens.be/notes/globalthis

daurnimator avatar Sep 16 '19 13:09 daurnimator

Note https://github.com/medikoo/es5-ext/blob/8637ea51f47d519c4f7c8c39fb90daab2ac1574c/global.js#L23-L34

daurnimator avatar Oct 18 '21 13:10 daurnimator

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Nov 29 '21 15:11 sonarqubecloud[bot]

This PR fixed a js lib issue I was having.

AsynchronousAI avatar Jan 26 '24 18:01 AsynchronousAI

@giann did you see my link

Note https://github.com/medikoo/es5-ext/blob/8637ea51f47d519c4f7c8c39fb90daab2ac1574c/global.js#L23-L34

Which implies this fix might break old safari or websites that have called preventExtensions?

daurnimator avatar Feb 01 '24 05:02 daurnimator