proxy-polyfill
proxy-polyfill copied to clipboard
Proxy object polyfill
It would be nice if there were a way to configure proxy-polyfill to ignore unknown traps rather than throwing a TypeError if one is encountered. This might allow some library...
See [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/set). This code will work inside the calling code, but that's not really what we want: ``` js let strictMode = (function() { return !this; })(); ``` For eager...
Since IE10 does not support setPrototypeOf, prototype properties are copied and arenot writable. As a workaround I changed `Object.defineProperty(proxy, k, {get: getter.bind(target, k)});` to `Object.defineProperty(proxy, k, {get: getter.bind(target, k)}, set:...
Property definitions weren't being proxied correctly. This walks the prototype chain up the super classes and ensures those properties will be passed to the get handler correctly
Properties on the prototype chain are not proxied correctly. See PR #80 for correction This also corrects a thrown type error if there is an enumerable property accessor that is...
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@joaomoreno, @lukekarrys) Changelog Sourced from semver's...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1. Commits f545bdb 3.0.1 c57d4c2 fix a few old XO issues for backport 419250f Fix potential ReDoS (#37) See full diff in compare view [ from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2. Release notes Sourced from get-func-name's releases. v2.0.2 What's Changed Revert previous changes that shipped this as an ES module. Full Changelog: https://github.com/chaijs/get-func-name/commits/v2.0.2 v2.0.1 What's...
I'm using a third-party library that uses `Proxy` and I'm attempting to use your polyfill in IE11. They're using it like this: ``` return new Proxy( {}, { get: (_,...