Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 8, 2024 via pnpm

sass-loader 13.3.2

Sass loader for webpack
Package summary
Share
2
issues
1
high severity
license
1
1
low severity
license
1
6
licenses
63
MIT
7
BSD-2-Clause
3
BSD-3-Clause
6
other licenses
ISC
3
Apache-2.0
2
CC-BY-4.0
1
Package created
9 Feb 2014
Version published
9 Jun 2023
Maintainers
3
Total deps
79
Direct deps
2
License
MIT

Issues

2

1 high severity issue

high
Recommendation: Read and validate the license terms
via: webpack@5.91.0
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: webpack@5.91.0
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
63 Packages, Including:
@jridgewell/gen-mapping@0.3.5
@jridgewell/resolve-uri@3.1.2
@jridgewell/set-array@1.2.1
@jridgewell/source-map@0.3.6
@jridgewell/sourcemap-codec@1.4.15
@jridgewell/trace-mapping@0.3.25
@types/eslint-scope@3.7.7
@types/eslint@8.56.10
@types/estree@1.0.5
@types/json-schema@7.0.15
@types/node@20.12.10
@webassemblyjs/ast@1.12.1
@webassemblyjs/floating-point-hex-parser@1.11.6
@webassemblyjs/helper-api-error@1.11.6
@webassemblyjs/helper-buffer@1.12.1
@webassemblyjs/helper-numbers@1.11.6
@webassemblyjs/helper-wasm-bytecode@1.11.6
@webassemblyjs/helper-wasm-section@1.12.1
@webassemblyjs/ieee754@1.11.6
@webassemblyjs/utf8@1.11.6
@webassemblyjs/wasm-edit@1.12.1
@webassemblyjs/wasm-gen@1.12.1
@webassemblyjs/wasm-opt@1.12.1
@webassemblyjs/wasm-parser@1.12.1
@webassemblyjs/wast-printer@1.12.1
acorn-import-assertions@1.9.0
acorn@8.11.3
ajv-keywords@3.5.2
ajv@6.12.6
browserslist@4.23.0
buffer-from@1.1.2
chrome-trace-event@1.0.3
commander@2.20.3
enhanced-resolve@5.16.1
es-module-lexer@1.5.2
escalade@3.1.2
events@3.3.0
fast-deep-equal@3.1.3
fast-json-stable-stringify@2.1.0
has-flag@4.0.0
jest-worker@27.5.1
json-parse-even-better-errors@2.3.1
json-schema-traverse@0.4.1
loader-runner@4.3.0
merge-stream@2.0.0
mime-db@1.52.0
mime-types@2.1.35
neo-async@2.6.2
node-releases@2.0.14
punycode@2.3.1

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
7 Packages, Including:
eslint-scope@5.1.1
esrecurse@4.3.0
estraverse@4.3.0
estraverse@5.3.0
glob-to-regexp@0.4.1
terser@5.31.0
uri-js@4.4.1

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
@xtuc/ieee754@1.2.0
serialize-javascript@6.0.2
source-map@0.6.1

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
electron-to-chromium@1.4.758
graceful-fs@4.2.11
picocolors@1.0.0

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
2 Packages, Including:
@webassemblyjs/leb128@1.11.6
@xtuc/long@4.2.2

Creative Commons Attribution 4.0 International

Uncategorized
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
caniuse-lite@1.0.30001616
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
β“˜ This is a list of sass-loader 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
neo-async2.6.237.74 kBMIT
prod
webpack5.91.04.71 MBMIT
prod peer
1
1

Visualizations

Frequently Asked Questions

What does sass-loader do?

The Sass Loader for Webpack, or simply sass-loader, is a package that allows Webpack to compile Sass/SCSS files to CSS. It essentially transforms Sass and SCSS files into standard CSS files that can be understood by the browser. This package enables developers to write styles in the powerful, feature-rich syntax of Sass, while ensuring compatibility with all browsers.

How do you use sass-loader?

To use sass-loader in your project, first you'll need to install it along with its peer dependencies, webpack and sass. This can be done using npm, yarn, or pnpm.

With npm:

npm install sass-loader sass webpack --save-dev

With yarn:

yarn add -D sass-loader sass webpack

With pnpm:

pnpm add -D sass-loader sass webpack

Next, you'll need to configure webpack to use the sass-loader. This involves adding a rule to your webpack configuration file (usually webpack.config.js) which tells webpack to use sass-loader for .scss and .sass files. Here's an example:

module.exports = {
  module: {
    rules: [
      {
        test: /\.s[ac]ss$/i,
        use: [
          // Creates `style` nodes from JS strings
          "style-loader",
          // Translates CSS into CommonJS
          "css-loader",
          // Compiles Sass to CSS
          "sass-loader",
        ],
      },
    ],
  },
};

Finally, you can import your Sass/SCSS files into your JavaScript files, and webpack will automatically compile them to CSS when you run your build script. For example:

import "./style.scss";

Where are the sass-loader docs?

As for the Sass Loader documentation, it can be found on GitHub at https://github.com/webpack-contrib/sass-loader. Here you can find all the explanation and usage examples for the Sass Loader, including complete instructions for getting started, advanced configuration options, and how to extract CSS into separate files.