construct-style-sheets
construct-style-sheets copied to clipboard
Constructible style sheets/adopted style sheets polyfill
Resolves #93
The `type` property of `package.json` may be used by frontend tooling (e.g Webpack, Vite) in determining whether the package's entry point is a CJS or ES module. If no property...
**Describe the bug** I'm using this with Webpack to load the CSS for my web components. I noticed on Firefox it inserts a style tag for each CSSStyleSheet that is...
Resolves #124. This PR adds support for the latest version of the specification (`Proxy(Array)` instead of `FrozenArray`). I have also done a refactoring to put all the code in the...
Updating Firefox and Safari spec support status - see https://caniuse.com/mdn-api_document_adoptedstylesheets
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
**Describe the bug** document.adoptedStyleSheets.push(new CSSStyleSheet()); doesn't work. **To Reproduce** Apply CSSStyleSheet via push **Expected behavior** document.adoptedStyleSheets = [ new CSSStyleSheet() ]; document.adoptedStyleSheets.push(new CSSStyleSheet()); should have the same effect **Desktop (please...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.28 to 0.7.33. Changelog Sourced from ua-parser-js's changelog. Version 0.7.33 / 1.0.33 Add new browser : Cobalt Identify Macintosh as an Apple device Fix ReDoS vulnerability Version...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependency [@size-limit/preset-small-lib](https://github.com/ai/size-limit). These dependencies need to be updated together. Updates `json5` from 2.2.0 to 2.2.3 Release notes Sourced from json5's releases. v2.2.3 Fix:...