sass 1.63.1 → 1.63.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 +1 -1
- package/sass.dart.js +4 -4
- package/sass.node.js +9 -33
- package/sass.node.mjs +35 -0
- package/sass.node.cjs +0 -11
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.
|
|
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.63.3","bin":{"sass":"sass.js"},"main":"sass.node.js"}
|
package/sass.dart.js
CHANGED
|
@@ -127,7 +127,7 @@ self.readline = _cliPkgRequires.readline;
|
|
|
127
127
|
self.fs = _cliPkgRequires.fs;
|
|
128
128
|
self.stream = _cliPkgRequires.stream;
|
|
129
129
|
self.util = _cliPkgRequires.util;
|
|
130
|
-
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 3.0.
|
|
130
|
+
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 3.0.4.
|
|
131
131
|
// The code supports the following hooks:
|
|
132
132
|
// dartPrint(message):
|
|
133
133
|
// if this function is defined it is called instead of the Dart [print]
|
|
@@ -21765,7 +21765,7 @@ self.util = _cliPkgRequires.util;
|
|
|
21765
21765
|
J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
|
|
21766
21766
|
J.set$Exception$x(self.exports, $.$get$exceptionClass());
|
|
21767
21767
|
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())}});
|
|
21768
|
-
J.set$info$x(self.exports, "dart-sass\t1.63.
|
|
21768
|
+
J.set$info$x(self.exports, "dart-sass\t1.63.3\t(Sass Compiler)\t[Dart]\ndart2js\t3.0.4\t(Dart Compiler)\t[Dart]");
|
|
21769
21769
|
A.updateSourceSpanPrototype();
|
|
21770
21770
|
J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
|
|
21771
21771
|
J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
|
|
@@ -22488,7 +22488,7 @@ self.util = _cliPkgRequires.util;
|
|
|
22488
22488
|
switch ($async$goto) {
|
|
22489
22489
|
case 0:
|
|
22490
22490
|
// Function start
|
|
22491
|
-
$async$returnValue = "1.63.
|
|
22491
|
+
$async$returnValue = "1.63.3 compiled with dart2js 3.0.4";
|
|
22492
22492
|
// goto return
|
|
22493
22493
|
$async$goto = 1;
|
|
22494
22494
|
break;
|
|
@@ -42380,7 +42380,7 @@ self.util = _cliPkgRequires.util;
|
|
|
42380
42380
|
else
|
|
42381
42381
|
try {
|
|
42382
42382
|
argVersion = A.Version_Version$parse(id);
|
|
42383
|
-
sassVersion = A.Version_Version$parse("1.63.
|
|
42383
|
+
sassVersion = A.Version_Version$parse("1.63.3");
|
|
42384
42384
|
if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
|
|
42385
42385
|
A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
|
|
42386
42386
|
J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
|
package/sass.node.js
CHANGED
|
@@ -1,35 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import * as fs from "fs"
|
|
4
|
-
import * as immutable from "immutable"
|
|
5
|
-
import "./sass.dart.js";
|
|
6
|
-
|
|
7
|
-
const _cliPkgLibrary = globalThis._cliPkgExports.pop();
|
|
1
|
+
require('./sass.dart.js');
|
|
2
|
+
const library = globalThis._cliPkgExports.pop();
|
|
8
3
|
if (globalThis._cliPkgExports.length === 0) delete globalThis._cliPkgExports;
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
library.load({
|
|
5
|
+
util: require("util"),
|
|
6
|
+
stream: require("stream"),
|
|
7
|
+
fs: require("fs"),
|
|
8
|
+
immutable: require("immutable"),
|
|
9
|
+
});
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
export const compileAsync = _cliPkgExports.compileAsync;
|
|
14
|
-
export const compileString = _cliPkgExports.compileString;
|
|
15
|
-
export const compileStringAsync = _cliPkgExports.compileStringAsync;
|
|
16
|
-
export const Logger = _cliPkgExports.Logger;
|
|
17
|
-
export const SassArgumentList = _cliPkgExports.SassArgumentList;
|
|
18
|
-
export const SassBoolean = _cliPkgExports.SassBoolean;
|
|
19
|
-
export const SassColor = _cliPkgExports.SassColor;
|
|
20
|
-
export const SassFunction = _cliPkgExports.SassFunction;
|
|
21
|
-
export const SassList = _cliPkgExports.SassList;
|
|
22
|
-
export const SassMap = _cliPkgExports.SassMap;
|
|
23
|
-
export const SassNumber = _cliPkgExports.SassNumber;
|
|
24
|
-
export const SassString = _cliPkgExports.SassString;
|
|
25
|
-
export const Value = _cliPkgExports.Value;
|
|
26
|
-
export const CustomFunction = _cliPkgExports.CustomFunction;
|
|
27
|
-
export const ListSeparator = _cliPkgExports.ListSeparator;
|
|
28
|
-
export const sassFalse = _cliPkgExports.sassFalse;
|
|
29
|
-
export const sassNull = _cliPkgExports.sassNull;
|
|
30
|
-
export const sassTrue = _cliPkgExports.sassTrue;
|
|
31
|
-
export const Exception = _cliPkgExports.Exception;
|
|
32
|
-
export const PromiseOr = _cliPkgExports.PromiseOr;
|
|
33
|
-
export const info = _cliPkgExports.info;
|
|
34
|
-
export const render = _cliPkgExports.render;
|
|
35
|
-
export const renderSync = _cliPkgExports.renderSync;
|
|
11
|
+
module.exports = library;
|
package/sass.node.mjs
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as util from "util"
|
|
2
|
+
import * as stream from "stream"
|
|
3
|
+
import * as fs from "fs"
|
|
4
|
+
import * as immutable from "immutable"
|
|
5
|
+
import "./sass.dart.js";
|
|
6
|
+
|
|
7
|
+
const _cliPkgLibrary = globalThis._cliPkgExports.pop();
|
|
8
|
+
if (globalThis._cliPkgExports.length === 0) delete globalThis._cliPkgExports;
|
|
9
|
+
const _cliPkgExports = {};
|
|
10
|
+
_cliPkgLibrary.load({util, stream, fs, immutable}, _cliPkgExports);
|
|
11
|
+
|
|
12
|
+
export const compile = _cliPkgExports.compile;
|
|
13
|
+
export const compileAsync = _cliPkgExports.compileAsync;
|
|
14
|
+
export const compileString = _cliPkgExports.compileString;
|
|
15
|
+
export const compileStringAsync = _cliPkgExports.compileStringAsync;
|
|
16
|
+
export const Logger = _cliPkgExports.Logger;
|
|
17
|
+
export const SassArgumentList = _cliPkgExports.SassArgumentList;
|
|
18
|
+
export const SassBoolean = _cliPkgExports.SassBoolean;
|
|
19
|
+
export const SassColor = _cliPkgExports.SassColor;
|
|
20
|
+
export const SassFunction = _cliPkgExports.SassFunction;
|
|
21
|
+
export const SassList = _cliPkgExports.SassList;
|
|
22
|
+
export const SassMap = _cliPkgExports.SassMap;
|
|
23
|
+
export const SassNumber = _cliPkgExports.SassNumber;
|
|
24
|
+
export const SassString = _cliPkgExports.SassString;
|
|
25
|
+
export const Value = _cliPkgExports.Value;
|
|
26
|
+
export const CustomFunction = _cliPkgExports.CustomFunction;
|
|
27
|
+
export const ListSeparator = _cliPkgExports.ListSeparator;
|
|
28
|
+
export const sassFalse = _cliPkgExports.sassFalse;
|
|
29
|
+
export const sassNull = _cliPkgExports.sassNull;
|
|
30
|
+
export const sassTrue = _cliPkgExports.sassTrue;
|
|
31
|
+
export const Exception = _cliPkgExports.Exception;
|
|
32
|
+
export const PromiseOr = _cliPkgExports.PromiseOr;
|
|
33
|
+
export const info = _cliPkgExports.info;
|
|
34
|
+
export const render = _cliPkgExports.render;
|
|
35
|
+
export const renderSync = _cliPkgExports.renderSync;
|
package/sass.node.cjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
require('./sass.dart.js');
|
|
2
|
-
const library = globalThis._cliPkgExports.pop();
|
|
3
|
-
if (globalThis._cliPkgExports.length === 0) delete globalThis._cliPkgExports;
|
|
4
|
-
library.load({
|
|
5
|
-
util: require("util"),
|
|
6
|
-
stream: require("stream"),
|
|
7
|
-
fs: require("fs"),
|
|
8
|
-
immutable: require("immutable"),
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
module.exports = library;
|