sass 1.46.0 → 1.47.0

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":">=8.9.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.46.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":">=8.9.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.47.0","bin":{"sass":"sass.js"},"main":"sass.default.dart.js","exports":{"default":"./sass.default.dart.js"}}
package/sass.dart.js CHANGED
@@ -20773,7 +20773,7 @@ self.readline = _cli_pkg_requires.readline;
20773
20773
  J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
20774
20774
  J.set$Exception$x(self.exports, $.$get$exceptionClass());
20775
20775
  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())}});
20776
- J.set$info$x(self.exports, "dart-sass\t1.46.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.15.1\t(Dart Compiler)\t[Dart]");
20776
+ J.set$info$x(self.exports, "dart-sass\t1.47.0\t(Sass Compiler)\t[Dart]\ndart2js\t2.15.1\t(Dart Compiler)\t[Dart]");
20777
20777
  A.updateSourceSpanPrototype();
20778
20778
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
20779
20779
  J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
@@ -21432,7 +21432,7 @@ self.readline = _cli_pkg_requires.readline;
21432
21432
  switch ($async$goto) {
21433
21433
  case 0:
21434
21434
  // Function start
21435
- $async$returnValue = "1.46.0 compiled with dart2js 2.15.1";
21435
+ $async$returnValue = "1.47.0 compiled with dart2js 2.15.1";
21436
21436
  // goto return
21437
21437
  $async$goto = 1;
21438
21438
  break;
package/types/index.d.ts CHANGED
@@ -41,11 +41,13 @@ export {
41
41
  // Legacy APIs
42
42
  export {LegacyException} from './legacy/exception';
43
43
  export {
44
+ FALSE,
44
45
  LegacyAsyncFunction,
45
46
  LegacyAsyncFunctionDone,
46
47
  LegacyFunction,
47
48
  LegacySyncFunction,
48
49
  LegacyValue,
50
+ TRUE,
49
51
  types,
50
52
  } from './legacy/function';
51
53
  export {
@@ -184,6 +184,26 @@ export type LegacyValue =
184
184
  | types.List
185
185
  | types.Map;
186
186
 
187
+ /**
188
+ * A shorthand for `sass.types.TRUE`.
189
+ *
190
+ * @category Legacy
191
+ * @deprecated This only works with the legacy [[render]] and [[renderSync]]
192
+ * APIs. Use [[sassTrue]] with [[compile]], [[compileString]], [[compileAsync]],
193
+ * and [[compileStringAsync]] instead.
194
+ */
195
+ export const TRUE: types.Boolean<true>;
196
+
197
+ /**
198
+ * A shorthand for `sass.types.FALSE`.
199
+ *
200
+ * @category Legacy
201
+ * @deprecated This only works with the legacy [[render]] and [[renderSync]]
202
+ * APIs. Use [[sassFalse]] with [[compile]], [[compileString]], [[compileAsync]],
203
+ * and [[compileStringAsync]] instead.
204
+ */
205
+ export const FALSE: types.Boolean<false>;
206
+
187
207
  /**
188
208
  * The namespace for value types used in the legacy function API.
189
209
  *