Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade sass-loader from 10.5.2 to 16.0.2 #885

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

WontonSam
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade sass-loader from 10.5.2 to 16.0.2.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 31 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: sass-loader
  • 16.0.2 - 2024-09-20

    16.0.2 (2024-09-20)

    Bug Fixes

  • 16.0.1 - 2024-08-19

    16.0.1 (2024-08-19)

    Bug Fixes

    • generate correct sourceMaps for modern-compiler api (#1228) (f862f7a)
  • 16.0.0 - 2024-07-26

    16.0.0 (2024-07-26)

    ⚠ BREAKING CHANGES

    • use modern Sass JS API by default for sass and sass-embedded

    Warning

    The sass options are different for the legacy (before) and modern APIs. Please look at docs how to migrate to the modern options.
    Legacy options - https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/
    Modern options - https://sass-lang.com/documentation/js-api/interfaces/options/

    To return to the previous logic use:

    module.exports = {
      module: {
        rules: [
          {
            test: /\.s[ac]ss$/i,
            use: [
              "style-loader",
              "css-loader",
              {
                loader: "sass-loader",
                options: {
                  api: "legacy",
                  // Your options
                },
              },
            ],
          },
        ],
      },
    };

    Features

    • use modern Sass JS API by default for sass and sass-embedded (10be1ba)
  • 15.0.0 - 2024-07-23

    ⚠ BREAKING CHANGES

    • prefer sass-embedded over sass by default (#1211)

    Features

    • prefer sass-embedded over sass by default (#1211) (83423ff)
  • 14.2.1 - 2024-04-16

    14.2.1 (2024-04-16)

    Bug Fixes

  • 14.2.0 - 2024-04-11

    14.2.0 (2024-04-11)

    Features

    • added the modern-compiler value for API to reuse compiler process (#1195) (cef40a8)
    • support webpack built-in resolver for modern and modern-compiler API (#1197) (2265b72)

    Notes:

    Using the modern-compiler value for the api option together with sass-embedded reduces compilation time by 5-10 times, especially for projects using large files with a lot of @ import/@ use, for small files the build time reduction will not be significant.

  • 14.1.1 - 2024-02-19

    14.1.1 (2024-02-19)

    Bug Fixes

  • 14.1.0 - 2024-01-30

    14.1.0 (2024-01-30)

    Features

    • add @ rspack/core as an optional peer dependency (#1184) (637ba5b)
  • 14.0.0 - 2024-01-15

    14.0.0 (2024-01-15)

    ⚠ BREAKING CHANGES

    • removed fibers support
    • minimum supported Node.js version is 18.12.0 (627f55d)
  • 13.3.3 - 2023-12-25
  • 13.3.2 - 2023-06-09
  • 13.3.1 - 2023-05-28
  • 13.3.0 - 2023-05-22
  • 13.2.2 - 2023-03-27
  • 13.2.1 - 2023-03-18
  • 13.2.0 - 2022-11-09
  • 13.1.0 - 2022-10-06
  • 13.0.2 - 2022-06-27
  • 13.0.1 - 2022-06-24
  • 13.0.0 - 2022-05-18
  • 12.6.0 - 2022-02-15
  • 12.5.0 - 2022-02-14
  • 12.4.0 - 2021-12-07
  • 12.3.0 - 2021-10-27
  • 12.2.0 - 2021-10-12
  • 12.1.0 - 2021-06-10
  • 12.0.0 - 2021-06-01
  • 11.1.1 - 2021-05-13
  • 11.1.0 - 2021-05-10
  • 11.0.1 - 2021-02-08
  • 11.0.0 - 2021-02-05
  • 10.5.2 - 2024-01-04

    10.5.2 (2024-01-04)

    Bug Fixes

from sass-loader GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade sass-loader from 10.5.2 to 16.0.2.

See this package in npm:
sass-loader

See this project in Snyk:
https://app.snyk.io/org/cachiman-inc/project/383aef3d-d02e-4e27-84be-fa4d0de59fca?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

google-cla bot commented Oct 16, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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

Successfully merging this pull request may close these issues.

2 participants