open-code-review
open-code-review copied to clipboard
chore(deps-dev): bump style-loader from 3.3.4 to 4.0.0 in /extensions/vscode
Bumps style-loader from 3.3.4 to 4.0.0.
Release notes
Sourced from style-loader's releases.
v4.0.0
4.0.0 (2024-04-08)
⚠ BREAKING CHANGES
- minimum supported webpack version is
5.27.0- minimum support Node.js version is
18.12.0- the
insertoption can only be a selector or the path to the moduleMigration:
Before:
webpack.config.js
module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { injectType: "styleTag", styleTagTransform: function (css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`;document.head.appendChild(style); }, }, }, "css-loader", ], }, ],},
};
After:
insert-function.js
function insert(css, style) { var parent = options.target || document.head; </tr></table>
... (truncated)
Changelog
Sourced from style-loader's changelog.
4.0.0 (2024-04-08)
⚠ BREAKING CHANGES
- minimum supported webpack version is
5.27.0- minimum support Node.js version is
18.12.0- the
insertoption can only be a selector or the path to the moduleMigration:
Before:
webpack.config.js
module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { injectType: "styleTag", styleTagTransform (css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`;document.head.appendChild(style); }, }, }, "css-loader", ], }, ],},
};
After:
insert-function.js
function insert(css, style) { const parent = options.target || document.head;</tr></table>
... (truncated)
Commits
091d37dchore(release): 4.0.0abc0b5fdocs: improve more565362cdocs: update7122cderefactor!: theinsertoption can only be aselectoror the path to the mo...11b8639refactor!: thestyleTagTransformoption can only be the path to the module7ec1120test: fix977bb71refactor!: minimum supported webpack version is5.27.0a70555atest: updatedc6e368refactor!: minimum support Node.js version is18.12.0b7cdc6cchore: update codecov-action to v4 (#623)- Additional commits viewable in compare view
Install script changes
This version modifies prepare script that runs during installation. Review the package contents before updating.
✅ OpenCodeReview: No comments generated. Looks good to me.
@dependabot rebase
@dependabot rebase