Repository navigation
[Release] Increase version to 1.1.5 (and #47) - #48
Merged
Merged
Conversation
Nev (MSNev)
requested review from
Karlie-777,
Hector Hernandez (hectorhdzg) and
Ram Thiru (ramthi)
April 28, 2022 02:18
Nev (MSNev)
commented
Apr 28, 2022
| <aside class="tsd-sources"> | ||
| <ul> | ||
| <li>Defined in <a href="https://github.com/microsoft/DynamicProto-JS/blob/ac722ee/lib/src/DynamicProto.ts#L481">DynamicProto.ts:481</a></li> | ||
| <li>Defined in <a href="https://github.com/microsoft/DynamicProto-JS/blob/731b396/lib/src/DynamicProto.ts#L484">DynamicProto.ts:484</a></li> |
Nev (MSNev)
commented
Apr 28, 2022
| var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
| if (k2 === undefined) k2 = k; | ||
| Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
| var desc = Object.getOwnPropertyDescriptor(m, k); |
Contributor
Author
There was a problem hiding this comment.
Auto updated as part of increasing the version of rush being used
Nev (MSNev)
commented
Apr 28, 2022
| } | ||
|
|
||
| return false; | ||
| // If objGetPrototypeOf doesn't exist then just assume everything is ok. |
Contributor
Author
There was a problem hiding this comment.
This only affects "Old" runtimes IE8 and eariler.
So the side affect of this is that anyone using this will fail to start because the _checkPrototype always fails and throws.
Nev (MSNev)
commented
Apr 28, 2022
| "eslint-plugin-security": "^1.4.0", | ||
| "grunt": "^1.4.1", | ||
| "grunt-cli": "^1.3.2", | ||
| "grunt": "^1.5.2", |
Contributor
Author
There was a problem hiding this comment.
Component Governance fixes
Nev (MSNev)
force-pushed
the
MSNev/DynamicProto
branch
2 times, most recently
from
April 28, 2022 18:20
f424da6 to
acd4433
Compare
Nev (MSNev)
commented
Apr 28, 2022
| let newProto = target[DynProtoPolyProto] || target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null); | ||
| if(newProto) { | ||
| // Set the _dynProto so the hierarchy can lookup base classes correctly on IE8 | ||
| if (!target[DynProtoPolyProto]) { |
Contributor
Author
There was a problem hiding this comment.
Because IE8 doesn't support looking up the prototype of a prototype, we need to provide hints to allow base classes that are also defined using dynamicProto() to be looked up.
This issue only exists for nested classes of 2 or more. And this part of the code only runs on older browsers
Nev (MSNev)
force-pushed
the
MSNev/DynamicProto
branch
from
April 28, 2022 18:25
acd4433 to
208860f
Compare
Karlie-777
approved these changes
Apr 28, 2022
Ram Thiru (ramthi)
approved these changes
Apr 28, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[IE8] The _checkPrototype always fails on IE in IE8 mode #47