choojs / choojs/object-change-callsite
Use of ES6 Proxy prevents running in IE
- Dominant language
- JavaScript
- Stars
- 26
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
As mentioned in https://github.com/choojs/choo-devtools/issues/31, because the package delivered to NPM is not transpiled into standard JS, the package does not run on IE.
[This Proxy polyfill](https://github.com/GoogleChrome/proxy-polyfill) does not work for this instance and "Due to the limitations of ES5, Proxies cannot be transpiled or polyfilled" ([ref](https://babeljs.io/learn-es2015/#proxies)), so the best option would be to skip using it if it does not exist. I am willing to create the pull request, but I'm not sure what value to return for the main function if Polyfill doesn't exist. Would it just return the object?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the package's main function and the Proxy usage described in the issue, then inspect the JavaScript delivered through NPM. Determine the fallback behavior when Proxy is unavailable and verify that the package no longer fails in IE.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100