Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sass-loader

Package Overview
Dependencies
Maintainers
9
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-loader - npm Package Compare versions

Comparing version 11.1.0 to 11.1.1

8

dist/utils.js

@@ -12,2 +12,3 @@ "use strict";

exports.normalizeSourceMap = normalizeSourceMap;
exports.isSupportedFibers = isSupportedFibers;

@@ -100,2 +101,7 @@ var _url = _interopRequireDefault(require("url"));

}
function isSupportedFibers() {
const [nodeVersion] = process.versions.node.split(".");
return Number(nodeVersion) < 16;
}
/**

@@ -117,3 +123,3 @@ * Derives the sass options from the loader context and normalizes its values with sane defaults.

if (isDartSass) {
if (isDartSass && isSupportedFibers()) {
const shouldTryToResolveFibers = !options.fiber && options.fiber !== false;

@@ -120,0 +126,0 @@

4

package.json
{
"name": "sass-loader",
"version": "11.1.0",
"version": "11.1.1",
"description": "Sass loader for webpack",

@@ -87,3 +87,3 @@ "license": "MIT",

"memfs": "^3.2.2",
"node-sass": "^5.0.0",
"node-sass": "^6.0.0",
"node-sass-glob-importer": "^5.3.2",

@@ -90,0 +90,0 @@ "npm-run-all": "^4.1.5",

@@ -199,4 +199,6 @@ <div align="center">

We automatically inject the [`fibers`](https://github.com/laverdet/node-fibers) package (setup `sassOptions.fiber`) if is possible (i.e. you need install the [`fibers`](https://github.com/laverdet/node-fibers) package).
We automatically inject the [`fibers`](https://github.com/laverdet/node-fibers) package (setup `sassOptions.fiber`) for `Node.js` less v16.0.0 if is possible (i.e. you need install the [`fibers`](https://github.com/laverdet/node-fibers) package).
> Fibers is not compatible with `Node.js` v16.0.0 or later ([see introduction to readme](https://github.com/laverdet/node-fibers)).
**package.json**

@@ -203,0 +205,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc