polyfills
polyfills copied to clipboard
Web Components Polyfills
Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together. Updates `engine.io` from 3.5.0 to 3.6.1 Release notes Sourced from engine.io's releases. 3.6.1 :warning: This release contains an important...
## Description `style-scope` should not use the component name as a class, because it is common for that class name to be already in use. ## Motivation Currently, `style-scope` code...
Addresses an issue where `toggleAttribute` would not retain `force`, the second positional argument passed to it. Fixes https://github.com/webcomponents/polyfills/issues/533
### Description When calling `toggleAttribute`, [the polyfill](https://github.com/webcomponents/polyfills/blob/master/packages/scoped-custom-element-registry/src/scoped-custom-element-registry.js#L349) does not retain the [`force` argument](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute#syntax). This means that when I call `toggleAttribute('my-attribute', false)`, the attribute is applied when it should not be....
element definition may come from another realm or Function or Object globals may be sandboxed like in jsdom original PR https://github.com/webcomponents/custom-elements/pull/180 fixes https://github.com/webcomponents/polyfills/issues/105 ### Reference Issue
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 3.3.2 to 3.3.3. Changelog Sourced from socket.io-parser's changelog. 3.3.3 (2022-11-09) Bug Fixes check the format of the index of each attachment (fb21e42) 3.4.2 (2022-11-09) Bug Fixes check...
Node patch affects `document` too, which means `this.ownerDocument.__CE_registry` will cause an error because `document.ownerDocument` is `null`.
Port of webcomponents/URL#23 and webcomponents/URL#26 ### Reference Issue
jsdom currently has a bug where it reads the global custom elements registry by looking through the sandbox-facing `customElements` property of its global object. This means that scripts running in...
### Description When used with zone.js (all Angular applications), following error is thrown: ``` zone.js:1953 Uncaught TypeError: Cannot set property once of [object Object] which has only a getter at...