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

sass-embedded

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-embedded - npm Package Compare versions

Comparing version 1.49.7 to 1.49.8

9

dist/lib/src/legacy/importer.js

@@ -122,3 +122,7 @@ "use strict";

this.prev.pop();
return { contents: '', syntax: 'scss' };
return {
contents: '',
syntax: 'scss',
sourceMapUrl: new URL(exports.endOfLoadProtocol),
};
}

@@ -142,3 +146,3 @@ if (canonicalUrl.protocol === 'file:') {

}
return { contents, syntax };
return { contents, syntax, sourceMapUrl: canonicalUrl };
}

@@ -151,2 +155,3 @@ const lastContents = this.lastContents;

syntax: 'scss',
sourceMapUrl: canonicalUrl,
};

@@ -153,0 +158,0 @@ }

@@ -173,6 +173,11 @@ "use strict";

}
sourceMap.sources = sourceMap.sources.map(source => {
sourceMap.sources = sourceMap.sources
.filter(source => !source.startsWith(importer_1.endOfLoadProtocol))
.map(source => {
if (source.startsWith('file://')) {
return (0, utils_1.pathToUrlString)(p.relative(sourceMapDir, (0, utils_1.fileUrlToPathCrossPlatform)(source)));
}
else if (source.startsWith(importer_1.legacyImporterProtocol)) {
return source.substring(importer_1.legacyImporterProtocol.length);
}
else if (source.startsWith('data:')) {

@@ -179,0 +184,0 @@ return 'stdin';

{
"name": "sass-embedded",
"version": "1.49.7",
"version": "1.49.8",
"protocol-version": "1.0.0",
"compiler-version": "1.49.7",
"compiler-version": "1.49.8",
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",

@@ -7,0 +7,0 @@ "repository": "sass/embedded-host-node",

{
"name": "sass-embedded",
"version": "1.49.7",
"version": "1.49.8",
"protocol-version": "1.0.0",
"compiler-version": "1.49.7",
"compiler-version": "1.49.8",
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",

@@ -7,0 +7,0 @@ "repository": "sass/embedded-host-node",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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