Skip to content

Commit 23f2b6e

Browse files
chore(deps-dev): bump style-loader from 3.3.4 to 4.0.0 in /src/microsoft-trydotnet-editor (#135)
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 3.3.4 to 4.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/webpack-contrib/style-loader/releases">style-loader's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h2><a href="https://github.com/webpack-contrib/style-loader/compare/v3.3.3...v4.0.0">4.0.0</a> (2024-04-08)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>minimum supported webpack version is <code>5.27.0</code></li> <li>minimum support Node.js version is <code>18.12.0</code></li> <li>the <code>insert</code> option can only be a selector or the path to the module</li> </ul> <p>Migration:</p> <p>Before:</p> <p><strong>webpack.config.js</strong></p> <pre lang="js"><code>module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: &quot;style-loader&quot;, options: { injectType: &quot;styleTag&quot;, styleTagTransform: function (css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`; <pre><code> document.head.appendChild(style); }, }, }, &amp;quot;css-loader&amp;quot;, ], }, ], </code></pre> <p>},<br /> };<br /> </code></pre></p> <p>After:</p> <p><strong>insert-function.js</strong></p> <pre lang="js"><code>function insert(css, style) { var parent = options.target || document.head; &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/webpack/style-loader/blob/main/CHANGELOG.md">style-loader's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/webpack-contrib/style-loader/compare/v3.3.3...v4.0.0">4.0.0</a> (2024-04-08)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>minimum supported webpack version is <code>5.27.0</code></li> <li>minimum support Node.js version is <code>18.12.0</code></li> <li>the <code>insert</code> option can only be a selector or the path to the module</li> </ul> <p>Migration:</p> <p>Before:</p> <p><strong>webpack.config.js</strong></p> <pre lang="js"><code>module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: &quot;style-loader&quot;, options: { injectType: &quot;styleTag&quot;, styleTagTransform (css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`; <pre><code> document.head.appendChild(style); }, }, }, &amp;quot;css-loader&amp;quot;, ], }, ], </code></pre> <p>},<br /> };<br /> </code></pre></p> <p>After:</p> <p><strong>insert-function.js</strong></p> <pre lang="js"><code>function insert(css, style) { const parent = options.target || document.head; <p>&lt;/tr&gt;&lt;/table&gt;<br /> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/webpack/style-loader/commit/091d37d68abfb071c4fbdd335385cd6f1af114c6"><code>091d37d</code></a> chore(release): 4.0.0</li> <li><a href="https://github.com/webpack/style-loader/commit/abc0b5f807be79934d4c471a3c160b20819e8fb1"><code>abc0b5f</code></a> docs: improve more</li> <li><a href="https://github.com/webpack/style-loader/commit/565362c3007fd5e74f3e994a0bc51fb7d93af41d"><code>565362c</code></a> docs: update</li> <li><a href="https://github.com/webpack/style-loader/commit/7122cdec2d2e69f70bf6a0edeab91e2661444b95"><code>7122cde</code></a> refactor!: the <code>insert</code> option can only be a <code>selector</code> or the path to the mo...</li> <li><a href="https://github.com/webpack/style-loader/commit/11b8639ba546a04d070936a8043514753df0d5e9"><code>11b8639</code></a> refactor!: the <code>styleTagTransform</code> option can only be the path to the module</li> <li><a href="https://github.com/webpack/style-loader/commit/7ec112011b4db7c8c569442c3dbc0a92075aafdb"><code>7ec1120</code></a> test: fix</li> <li><a href="https://github.com/webpack/style-loader/commit/977bb71af010c5f6c6d5200ffa6497f4f7921942"><code>977bb71</code></a> refactor!: minimum supported webpack version is <code>5.27.0</code></li> <li><a href="https://github.com/webpack/style-loader/commit/a70555a47a427a37079f052237197cc4888c86b9"><code>a70555a</code></a> test: update</li> <li><a href="https://github.com/webpack/style-loader/commit/dc6e3689e22447e09b6aaf7602f14b319d13c678"><code>dc6e368</code></a> refactor!: minimum support Node.js version is <code>18.12.0</code></li> <li><a href="https://github.com/webpack/style-loader/commit/b7cdc6c4bb27908b2462dded76b494f426255cb6"><code>b7cdc6c</code></a> chore: update codecov-action to v4 (<a href="https://redirect.github.com/webpack-contrib/style-loader/issues/623">#623</a>)</li> <li>Additional commits viewable in <a href="https://github.com/webpack-contrib/style-loader/compare/v3.3.4...v4.0.0">compare view</a></li> </ul> </details> <details> <summary>Install script changes</summary> <p>This version modifies <code>prepare</code> script that runs during installation. Review the package contents before updating.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=style-loader&package-manager=npm_and_yarn&previous-version=3.3.4&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 60aec97 commit 23f2b6e

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/microsoft-trydotnet-editor/package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/microsoft-trydotnet-editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"mocha-trx-reporter": "3.3.1",
4444
"monaco-editor-webpack-plugin": "^7.1.1",
4545
"source-map-loader": "^5.0.0",
46-
"style-loader": "^3.3.4",
46+
"style-loader": "^4.0.0",
4747
"tmp": "^0.2.5",
4848
"ts-loader": "^9.5.4",
4949
"ts-mocha": "^11.1.0",

0 commit comments

Comments
 (0)