Skip to content

chore(deps): update major to v4#167

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-4-major
Open

chore(deps): update major to v4#167
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-4-major

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jul 30, 2023

This PR contains the following updates:

Package Change Age Confidence
gts 3.1.04.0.1 age confidence
style-loader 3.3.14.0.0 age confidence

Release Notes

google/gts (gts)

v4.0.1

Compare Source

Bug Fixes

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • drop support for node.js 10.x (#​686)
Features
Bug Fixes
Build System

v3.1.1

Compare Source

Features
Bug Fixes
webpack-contrib/style-loader (style-loader)

v4.0.0

Compare Source

⚠ 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);
              },
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};

After:

insert-function.js

function insert(css, style) {
  const parent = options.target || document.head;

  parent.appendChild(element);
}

module.exports = insert;

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              insert: require.resolve("./insert.js"),
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};
  • the styleTagTransform option can only be 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);
              },
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};

After:

style-tag-transform-function.js

function styleTagTransform(css, style) {
  // Do something ...
  style.innerHTML = `${css}.modify{}\n`;

  document.head.appendChild(style);
}

module.exports = styleTagTransform;

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              styleTagTransform: require.resolve("./style-tag-transform-function.js"),
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};
Bug Fixes
3.3.3 (2023-05-19)
Bug Fixes
3.3.2 (2023-03-13)
Bug Fixes
3.3.1 (2021-10-21)
Bug Fixes

v3.3.4

Compare Source

3.3.4 (2024-01-09)
Bug Fixes

v3.3.3

Compare Source

⚠ 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);
              },
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};

After:

insert-function.js

function insert(css, style) {
  const parent = options.target || document.head;

  parent.appendChild(element);
}

module.exports = insert;

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              insert: require.resolve("./insert.js"),
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};
  • the styleTagTransform option can only be 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);
              },
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};

After:

style-tag-transform-function.js

function styleTagTransform(css, style) {
  // Do something ...
  style.innerHTML = `${css}.modify{}\n`;

  document.head.appendChild(style);
}

module.exports = styleTagTransform;

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              styleTagTransform: require.resolve("./style-tag-transform-function.js"),
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};
Bug Fixes
3.3.3 (2023-05-19)
Bug Fixes
3.3.2 (2023-03-13)
Bug Fixes
3.3.1 (2021-10-21)
Bug Fixes

v3.3.2

Compare Source

⚠ 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);
              },
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};

After:

insert-function.js

function insert(css, style) {
  const parent = options.target || document.head;

  parent.appendChild(element);
}

module.exports = insert;

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              insert: require.resolve("./insert.js"),
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};
  • the styleTagTransform option can only be 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);
              },
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};

After:

style-tag-transform-function.js

function styleTagTransform(css, style) {
  // Do something ...
  style.innerHTML = `${css}.modify{}\n`;

  document.head.appendChild(style);
}

module.exports = styleTagTransform;

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              styleTagTransform: require.resolve("./style-tag-transform-function.js"),
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};
Bug Fixes
3.3.3 (2023-05-19)
Bug Fixes
3.3.2 (2023-03-13)
Bug Fixes
3.3.1 (2021-10-21)
Bug Fixes

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • "before 10:00 on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Jul 30, 2023
@renovate renovate Bot changed the title chore(deps): update dependency gts to v4 chore(deps): update major to v4 (major) Sep 4, 2023
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 89d8812 to 9cbc3b9 Compare September 4, 2023 13:01
@renovate renovate Bot changed the title chore(deps): update major to v4 (major) chore(deps): update dependency gts to v4 Oct 17, 2023
@renovate renovate Bot changed the title chore(deps): update dependency gts to v4 chore(deps): update major to v4 (major) Oct 19, 2023
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 9cbc3b9 to f3a1372 Compare October 23, 2023 17:46
@renovate renovate Bot force-pushed the renovate/major-4-major branch from f3a1372 to 530bea5 Compare April 8, 2024 19:58
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 530bea5 to 731fbec Compare August 30, 2024 13:55
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 731fbec to 3b75313 Compare July 28, 2025 14:39
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 3b75313 to 49d0c7a Compare September 25, 2025 20:06
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 49d0c7a to 2e11883 Compare October 10, 2025 23:30
@renovate renovate Bot force-pushed the renovate/major-4-major branch 2 times, most recently from 7862d79 to 6e67ac1 Compare November 15, 2025 02:01
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 6e67ac1 to fc9b2a3 Compare December 31, 2025 15:34
@renovate renovate Bot force-pushed the renovate/major-4-major branch from fc9b2a3 to fd69064 Compare January 8, 2026 17:37
@renovate renovate Bot force-pushed the renovate/major-4-major branch from fd69064 to 73ffb9f Compare February 7, 2026 12:36
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 73ffb9f to 1610edb Compare February 22, 2026 20:59
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 1610edb to 84821b8 Compare March 5, 2026 10:00
@renovate renovate Bot force-pushed the renovate/major-4-major branch from 84821b8 to c6918ed Compare April 29, 2026 05:27
@renovate renovate Bot changed the title chore(deps): update major to v4 (major) chore(deps): update major to v4 May 12, 2026
@renovate renovate Bot force-pushed the renovate/major-4-major branch from c6918ed to 420c713 Compare May 12, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants