sass 1.63.4 → 1.63.6

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.63.4","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.63.6","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.4.
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.5.
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]
@@ -21785,7 +21785,7 @@ self.util = _cliPkgRequires.util;
21785
21785
  J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
21786
21786
  J.set$Exception$x(self.exports, $.$get$exceptionClass());
21787
21787
  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())}});
21788
- J.set$info$x(self.exports, "dart-sass\t1.63.4\t(Sass Compiler)\t[Dart]\ndart2js\t3.0.4\t(Dart Compiler)\t[Dart]");
21788
+ J.set$info$x(self.exports, "dart-sass\t1.63.6\t(Sass Compiler)\t[Dart]\ndart2js\t3.0.5\t(Dart Compiler)\t[Dart]");
21789
21789
  A.updateSourceSpanPrototype();
21790
21790
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
21791
21791
  J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
@@ -22508,7 +22508,7 @@ self.util = _cliPkgRequires.util;
22508
22508
  switch ($async$goto) {
22509
22509
  case 0:
22510
22510
  // Function start
22511
- $async$returnValue = "1.63.4 compiled with dart2js 3.0.4";
22511
+ $async$returnValue = "1.63.6 compiled with dart2js 3.0.5";
22512
22512
  // goto return
22513
22513
  $async$goto = 1;
22514
22514
  break;
@@ -42420,7 +42420,7 @@ self.util = _cliPkgRequires.util;
42420
42420
  else
42421
42421
  try {
42422
42422
  argVersion = A.Version_Version$parse(id);
42423
- sassVersion = A.Version_Version$parse("1.63.4");
42423
+ sassVersion = A.Version_Version$parse("1.63.6");
42424
42424
  if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
42425
42425
  A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
42426
42426
  J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
package/sass.node.mjs CHANGED
@@ -1,42 +1,33 @@
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";
1
+ import cjs from "./sass.node.js";
6
2
 
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;
36
- export const TRUE = _cliPkgExports.TRUE;
37
- export const FALSE = _cliPkgExports.FALSE;
38
- export const NULL = _cliPkgExports.NULL;
39
- export const types = _cliPkgExports.types;
3
+ export const compile = cjs.compile;
4
+ export const compileAsync = cjs.compileAsync;
5
+ export const compileString = cjs.compileString;
6
+ export const compileStringAsync = cjs.compileStringAsync;
7
+ export const Logger = cjs.Logger;
8
+ export const SassArgumentList = cjs.SassArgumentList;
9
+ export const SassBoolean = cjs.SassBoolean;
10
+ export const SassColor = cjs.SassColor;
11
+ export const SassFunction = cjs.SassFunction;
12
+ export const SassList = cjs.SassList;
13
+ export const SassMap = cjs.SassMap;
14
+ export const SassNumber = cjs.SassNumber;
15
+ export const SassString = cjs.SassString;
16
+ export const Value = cjs.Value;
17
+ export const CustomFunction = cjs.CustomFunction;
18
+ export const ListSeparator = cjs.ListSeparator;
19
+ export const sassFalse = cjs.sassFalse;
20
+ export const sassNull = cjs.sassNull;
21
+ export const sassTrue = cjs.sassTrue;
22
+ export const Exception = cjs.Exception;
23
+ export const PromiseOr = cjs.PromiseOr;
24
+ export const info = cjs.info;
25
+ export const render = cjs.render;
26
+ export const renderSync = cjs.renderSync;
27
+ export const TRUE = cjs.TRUE;
28
+ export const FALSE = cjs.FALSE;
29
+ export const NULL = cjs.NULL;
30
+ export const types = cjs.types;
40
31
 
41
32
  let printedDefaultExportDeprecation = false;
42
33
  function defaultExportDeprecation() {
@@ -50,114 +41,114 @@ function defaultExportDeprecation() {
50
41
  export default {
51
42
  get compile() {
52
43
  defaultExportDeprecation();
53
- return _cliPkgExports.compile;
44
+ return cjs.compile;
54
45
  },
55
46
  get compileAsync() {
56
47
  defaultExportDeprecation();
57
- return _cliPkgExports.compileAsync;
48
+ return cjs.compileAsync;
58
49
  },
59
50
  get compileString() {
60
51
  defaultExportDeprecation();
61
- return _cliPkgExports.compileString;
52
+ return cjs.compileString;
62
53
  },
63
54
  get compileStringAsync() {
64
55
  defaultExportDeprecation();
65
- return _cliPkgExports.compileStringAsync;
56
+ return cjs.compileStringAsync;
66
57
  },
67
58
  get Logger() {
68
59
  defaultExportDeprecation();
69
- return _cliPkgExports.Logger;
60
+ return cjs.Logger;
70
61
  },
71
62
  get SassArgumentList() {
72
63
  defaultExportDeprecation();
73
- return _cliPkgExports.SassArgumentList;
64
+ return cjs.SassArgumentList;
74
65
  },
75
66
  get SassBoolean() {
76
67
  defaultExportDeprecation();
77
- return _cliPkgExports.SassBoolean;
68
+ return cjs.SassBoolean;
78
69
  },
79
70
  get SassColor() {
80
71
  defaultExportDeprecation();
81
- return _cliPkgExports.SassColor;
72
+ return cjs.SassColor;
82
73
  },
83
74
  get SassFunction() {
84
75
  defaultExportDeprecation();
85
- return _cliPkgExports.SassFunction;
76
+ return cjs.SassFunction;
86
77
  },
87
78
  get SassList() {
88
79
  defaultExportDeprecation();
89
- return _cliPkgExports.SassList;
80
+ return cjs.SassList;
90
81
  },
91
82
  get SassMap() {
92
83
  defaultExportDeprecation();
93
- return _cliPkgExports.SassMap;
84
+ return cjs.SassMap;
94
85
  },
95
86
  get SassNumber() {
96
87
  defaultExportDeprecation();
97
- return _cliPkgExports.SassNumber;
88
+ return cjs.SassNumber;
98
89
  },
99
90
  get SassString() {
100
91
  defaultExportDeprecation();
101
- return _cliPkgExports.SassString;
92
+ return cjs.SassString;
102
93
  },
103
94
  get Value() {
104
95
  defaultExportDeprecation();
105
- return _cliPkgExports.Value;
96
+ return cjs.Value;
106
97
  },
107
98
  get CustomFunction() {
108
99
  defaultExportDeprecation();
109
- return _cliPkgExports.CustomFunction;
100
+ return cjs.CustomFunction;
110
101
  },
111
102
  get ListSeparator() {
112
103
  defaultExportDeprecation();
113
- return _cliPkgExports.ListSeparator;
104
+ return cjs.ListSeparator;
114
105
  },
115
106
  get sassFalse() {
116
107
  defaultExportDeprecation();
117
- return _cliPkgExports.sassFalse;
108
+ return cjs.sassFalse;
118
109
  },
119
110
  get sassNull() {
120
111
  defaultExportDeprecation();
121
- return _cliPkgExports.sassNull;
112
+ return cjs.sassNull;
122
113
  },
123
114
  get sassTrue() {
124
115
  defaultExportDeprecation();
125
- return _cliPkgExports.sassTrue;
116
+ return cjs.sassTrue;
126
117
  },
127
118
  get Exception() {
128
119
  defaultExportDeprecation();
129
- return _cliPkgExports.Exception;
120
+ return cjs.Exception;
130
121
  },
131
122
  get PromiseOr() {
132
123
  defaultExportDeprecation();
133
- return _cliPkgExports.PromiseOr;
124
+ return cjs.PromiseOr;
134
125
  },
135
126
  get info() {
136
127
  defaultExportDeprecation();
137
- return _cliPkgExports.info;
128
+ return cjs.info;
138
129
  },
139
130
  get render() {
140
131
  defaultExportDeprecation();
141
- return _cliPkgExports.render;
132
+ return cjs.render;
142
133
  },
143
134
  get renderSync() {
144
135
  defaultExportDeprecation();
145
- return _cliPkgExports.renderSync;
136
+ return cjs.renderSync;
146
137
  },
147
138
  get TRUE() {
148
139
  defaultExportDeprecation();
149
- return _cliPkgExports.TRUE;
140
+ return cjs.TRUE;
150
141
  },
151
142
  get FALSE() {
152
143
  defaultExportDeprecation();
153
- return _cliPkgExports.FALSE;
144
+ return cjs.FALSE;
154
145
  },
155
146
  get NULL() {
156
147
  defaultExportDeprecation();
157
- return _cliPkgExports.NULL;
148
+ return cjs.NULL;
158
149
  },
159
150
  get types() {
160
151
  defaultExportDeprecation();
161
- return _cliPkgExports.types;
152
+ return cjs.types;
162
153
  },
163
154
  };