sass 1.69.2 → 1.69.3

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":">=14.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","exports":{"types":"./types/index.d.ts","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","default":"./sass.default.js"}},"version":"1.69.2","bin":{"sass":"sass.js"},"main":"sass.node.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":">=14.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","exports":{"types":"./types/index.d.ts","node":{"require":"./sass.node.js","default":"./sass.node.mjs"},"default":{"require":"./sass.default.cjs","default":"./sass.default.js"}},"version":"1.69.3","bin":{"sass":"sass.js"},"main":"sass.node.js"}
package/sass.dart.js CHANGED
@@ -24420,7 +24420,7 @@ self.util = _cliPkgRequires.util;
24420
24420
  J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
24421
24421
  J.set$Exception$x(self.exports, $.$get$exceptionClass());
24422
24422
  J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure0())}});
24423
- J.set$info$x(self.exports, "dart-sass\t1.69.2\t(Sass Compiler)\t[Dart]\ndart2js\t3.1.3\t(Dart Compiler)\t[Dart]");
24423
+ J.set$info$x(self.exports, "dart-sass\t1.69.3\t(Sass Compiler)\t[Dart]\ndart2js\t3.1.3\t(Dart Compiler)\t[Dart]");
24424
24424
  A.updateSourceSpanPrototype();
24425
24425
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
24426
24426
  J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
@@ -29212,7 +29212,7 @@ self.util = _cliPkgRequires.util;
29212
29212
  switch ($async$goto) {
29213
29213
  case 0:
29214
29214
  // Function start
29215
- $async$returnValue = "1.69.2 compiled with dart2js 3.1.3";
29215
+ $async$returnValue = "1.69.3 compiled with dart2js 3.1.3";
29216
29216
  // goto return
29217
29217
  $async$goto = 1;
29218
29218
  break;
@@ -47780,7 +47780,7 @@ self.util = _cliPkgRequires.util;
47780
47780
  }
47781
47781
  try {
47782
47782
  argVersion = A.Version_Version$parse(id);
47783
- sassVersion = A.Version_Version$parse("1.69.2");
47783
+ sassVersion = A.Version_Version$parse("1.69.3");
47784
47784
  if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
47785
47785
  A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
47786
47786
  J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
@@ -44,6 +44,11 @@ export interface CompileResult {
44
44
  *
45
45
  * This only allows synchronous {@link Importer}s and {@link CustomFunction}s.
46
46
  *
47
+ * **Heads up!** When using the `sass-embedded` npm package,
48
+ * **{@link compileAsync} is almost always faster than {@link compile}**, due to
49
+ * the overhead of emulating synchronous messaging with worker threads and
50
+ * concurrent compilations being blocked on main thread.
51
+ *
47
52
  * @example
48
53
  *
49
54
  * ```js
@@ -66,9 +71,9 @@ export function compile(path: string, options?: Options<'sync'>): CompileResult;
66
71
  * This only allows synchronous or asynchronous {@link Importer}s and
67
72
  * {@link CustomFunction}s.
68
73
  *
69
- * **Heads up!** When using Dart Sass, **{@link compile} is almost twice as fast
70
- * as {@link compileAsync}**, due to the overhead of making the entire
71
- * evaluation process asynchronous.
74
+ * **Heads up!** When using the `sass` npm package, **{@link compile} is almost
75
+ * twice as fast as {@link compileAsync}**, due to the overhead of making the
76
+ * entire evaluation process asynchronous.
72
77
  *
73
78
  * @example
74
79
  *
@@ -94,6 +99,12 @@ export function compileAsync(
94
99
  *
95
100
  * This only allows synchronous {@link Importer}s and {@link CustomFunction}s.
96
101
  *
102
+ * **Heads up!** When using the `sass-embedded` npm package,
103
+ * **{@link compileStringAsync} is almost always faster than
104
+ * {@link compileString}**, due to the overhead of emulating synchronous
105
+ * messaging with worker threads and concurrent compilations being blocked on
106
+ * main thread.
107
+ *
97
108
  * @example
98
109
  *
99
110
  * ```js
@@ -125,9 +136,9 @@ export function compileString(
125
136
  * This only allows synchronous or asynchronous {@link Importer}s and {@link
126
137
  * CustomFunction}s.
127
138
  *
128
- * **Heads up!** When using Dart Sass, **{@link compile} is almost twice as fast
129
- * as {@link compileAsync}**, due to the overhead of making the entire
130
- * evaluation process asynchronous.
139
+ * **Heads up!** When using the `sass` npm package, **{@link compileString} is
140
+ * almost twice as fast as {@link compileStringAsync}**, due to the overhead
141
+ * of making the entire evaluation process asynchronous.
131
142
  *
132
143
  * @example
133
144
  *
@@ -96,6 +96,11 @@ export interface LegacyResult {
96
96
  * This function synchronously compiles a Sass file to CSS. If it succeeds, it
97
97
  * returns the result, and if it fails it throws an error.
98
98
  *
99
+ * **Heads up!** When using the `sass-embedded` npm package, **{@link render}
100
+ * is almost always faster than {@link renderSync}**, due to the overhead of
101
+ * emulating synchronous messaging with worker threads and concurrent
102
+ * compilations being blocked on main thread.
103
+ *
99
104
  * @example
100
105
  *
101
106
  * ```js
@@ -116,9 +121,9 @@ export function renderSync(options: LegacyOptions<'sync'>): LegacyResult;
116
121
  * `callback` with a {@link LegacyResult} if compilation succeeds or {@link
117
122
  * LegacyException} if it fails.
118
123
  *
119
- * **Heads up!** When using Dart Sass, **{@link renderSync} is almost twice as
120
- * fast as {@link render}** by default, due to the overhead of making the entire
121
- * evaluation process asynchronous.
124
+ * **Heads up!** When using the `sass` npm package, **{@link renderSync} is
125
+ * almost twice as fast as {@link render}** by default, due to the overhead of
126
+ * making the entire evaluation process asynchronous.
122
127
  *
123
128
  * ```js
124
129
  * const sass = require('sass'); // or require('node-sass');