Skip to content

chore(deps): bump style-loader from 3.3.4 to 4.0.0#1356

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/style-loader-4.0.0
Open

chore(deps): bump style-loader from 3.3.4 to 4.0.0#1356
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/style-loader-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 4, 2024

Copy link
Copy Markdown
Contributor

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 insert option can only be a selector or the path to the module

Migration:

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 insert option can only be a selector or the path to the module

Migration:

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);
          },
        },
      },
      &quot;css-loader&quot;,
    ],
  },
],

},
};

After:

insert-function.js

function insert(css, style) {
  const parent = options.target || document.head;
</tr></table>

... (truncated)

Commits
  • 091d37d chore(release): 4.0.0
  • abc0b5f docs: improve more
  • 565362c docs: update
  • 7122cde refactor!: the insert option can only be a selector or the path to the mo...
  • 11b8639 refactor!: the styleTagTransform option can only be the path to the module
  • 7ec1120 test: fix
  • 977bb71 refactor!: minimum supported webpack version is 5.27.0
  • a70555a test: update
  • dc6e368 refactor!: minimum support Node.js version is 18.12.0
  • b7cdc6c chore: 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.


@dependabot dependabot Bot added dependencies javascript Pull requests that update Javascript code labels Jun 4, 2024
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/style-loader-4.0.0 branch 5 times, most recently from 0a722d1 to d8c5d7c Compare June 4, 2024 14:41
@sonarqubecloud

sonarqubecloud Bot commented Jun 4, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@DeepDiver1975

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 3.3.4 to 4.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack/style-loader/blob/main/CHANGELOG.md)
- [Commits](webpack/style-loader@v3.3.4...v4.0.0)

---
updated-dependencies:
- dependency-name: style-loader
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/style-loader-4.0.0 branch from d8c5d7c to d31b5dd Compare July 13, 2026 11:00
@dependabot dependabot Bot requested a review from a team as a code owner July 13, 2026 11:00
@DeepDiver1975

Copy link
Copy Markdown
Member

Holding: CI is failing (not a rebase conflict). Failing check(s): CLI acceptance tests / Acceptance tests (8.3, mariadb:10.6). A rebase won't fix this — needs a human/upstream fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant