sass 1.50.0 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=12.0.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","version":"1.50.0","bin":{"sass":"sass.js"},"main":"sass.default.dart.js","exports":{"default":"./sass.default.dart.js"}}
1
+ {"name":"sass","description":"A pure JavaScript implementation of Sass.","license":"MIT","bugs":"https://github.com/sass/dart-sass/issues","homepage":"https://github.com/sass/dart-sass","repository":{"type":"git","url":"https://github.com/sass/dart-sass"},"author":{"name":"Natalie Weizenbaum","email":"nweiz@google.com","url":"https://github.com/nex3"},"engines":{"node":">=12.0.0"},"dependencies":{"chokidar":">=3.0.0 <4.0.0","immutable":"^4.0.0","source-map-js":">=0.6.2 <2.0.0"},"keywords":["style","scss","sass","preprocessor","css"],"types":"types/index.d.ts","version":"1.50.1","bin":{"sass":"sass.js"},"main":"sass.default.dart.js","exports":{"default":"./sass.default.dart.js"}}
package/sass.dart.js CHANGED
@@ -20936,7 +20936,7 @@ self.readline = _cli_pkg_requires.readline;
20936
20936
  J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
20937
20937
  J.set$Exception$x(self.exports, $.$get$exceptionClass());
20938
20938
  J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure0()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure1())}});
20939
- J.set$info$x(self.exports, "dart-sass\t1.50.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.16.2\t(Dart Compiler)\t[Dart]");
20939
+ J.set$info$x(self.exports, "dart-sass\t1.50.1\t(Sass Compiler)\t[Dart]\ndart2js\t2.16.2\t(Dart Compiler)\t[Dart]");
20940
20940
  A.updateSourceSpanPrototype();
20941
20941
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
20942
20942
  J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
@@ -21595,7 +21595,7 @@ self.readline = _cli_pkg_requires.readline;
21595
21595
  switch ($async$goto) {
21596
21596
  case 0:
21597
21597
  // Function start
21598
- $async$returnValue = "1.50.0 compiled with dart2js 2.16.2";
21598
+ $async$returnValue = "1.50.1 compiled with dart2js 2.16.2";
21599
21599
  // goto return
21600
21600
  $async$goto = 1;
21601
21601
  break;
@@ -333,8 +333,8 @@ export interface Options<sync extends 'sync' | 'async'> {
333
333
  * Options that can be passed to [[compileString]] or [[compileStringAsync]].
334
334
  *
335
335
  * If the [[StringOptionsWithImporter.importer]] field isn't passed, the
336
- * entrypoint file can't load files relative to itself and the [[url]] field is
337
- * optional.
336
+ * entrypoint file can load files relative to itself if a `file://` URL is
337
+ * passed to the [[url]] field.
338
338
  *
339
339
  * @typeParam sync - This lets the TypeScript checker verify that asynchronous
340
340
  * [[Importer]]s, [[FileImporter]]s, and [[CustomFunction]]s aren't passed to
@@ -354,9 +354,11 @@ export interface StringOptionsWithoutImporter<sync extends 'sync' | 'async'>
354
354
  syntax?: Syntax;
355
355
 
356
356
  /**
357
- * The canonical URL of the entrypoint stylesheet. If this isn't passed along
358
- * with [[StringOptionsWithoutImporter.importer]], it's optional and only used
359
- * for error reporting.
357
+ * The canonical URL of the entrypoint stylesheet.
358
+ *
359
+ * A relative load's URL is first resolved relative to [[url]], then resolved
360
+ * to a file on disk if it's a `file://` URL. If it can't be resolved to a
361
+ * file on disk, it's then passed to [[importers]] and [[loadPaths]].
360
362
  *
361
363
  * @category Input
362
364
  */