sass-embedded
Advanced tools
Comparing version 1.49.8 to 1.49.9
@@ -32,3 +32,2 @@ "use strict"; | ||
class LegacyImporterWrapper { | ||
// TODO: Support prev from a load path | ||
constructor(self, callbacks, loadPaths, initialPrev, sync) { | ||
@@ -161,2 +160,3 @@ this.self = self; | ||
invokeCallbacks(url, prev, { fromImport }) { | ||
(0, assert_1.strict)(this.callbacks.length > 0); | ||
const self = { ...this.self, fromImport }; | ||
@@ -163,0 +163,0 @@ self.options = { ...self.options, context: self }; |
@@ -91,3 +91,4 @@ "use strict"; | ||
} | ||
const importers = options.importer | ||
const importers = options.importer && | ||
(!(options.importer instanceof Array) || options.importer.length > 0) | ||
? [ | ||
@@ -94,0 +95,0 @@ new importer_1.LegacyImporterWrapper(self, options.importer instanceof Array |
{ | ||
"name": "sass-embedded", | ||
"version": "1.49.8", | ||
"version": "1.49.9", | ||
"protocol-version": "1.0.0", | ||
"compiler-version": "1.49.8", | ||
"compiler-version": "1.49.9", | ||
"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.8", | ||
"version": "1.49.9", | ||
"protocol-version": "1.0.0", | ||
"compiler-version": "1.49.8", | ||
"compiler-version": "1.49.9", | ||
"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
1166738
17283