sass 1.69.4 → 1.69.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sass.dart.js +34 -29
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.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.69.5","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.1.3.
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.1.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]
@@ -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.4\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.5\t(Sass Compiler)\t[Dart]\ndart2js\t3.1.5\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.4 compiled with dart2js 3.1.3";
29215
+ $async$returnValue = "1.69.5 compiled with dart2js 3.1.5";
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.4");
47783
+ sassVersion = A.Version_Version$parse("1.69.5");
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));
@@ -116807,7 +116807,7 @@ self.util = _cliPkgRequires.util;
116807
116807
  }
116808
116808
  }
116809
116809
  function getUnknownTagGenericBrowser(object, tag) {
116810
- if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
116810
+ if (object instanceof HTMLElement) return "HTMLElement";
116811
116811
  return getUnknownTag(object, tag);
116812
116812
  }
116813
116813
  function prototypeForTag(tag) {
@@ -116818,7 +116818,7 @@ self.util = _cliPkgRequires.util;
116818
116818
  return constructor.prototype;
116819
116819
  }
116820
116820
  function discriminator(tag) { return null; }
116821
- var isBrowser = typeof navigator == "object";
116821
+ var isBrowser = typeof HTMLElement == "function";
116822
116822
  return {
116823
116823
  getTag: getTag,
116824
116824
  getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
@@ -116828,9 +116828,10 @@ self.util = _cliPkgRequires.util;
116828
116828
  B.C_JS_CONST6 = function(getTagFallback) {
116829
116829
  return function(hooks) {
116830
116830
  if (typeof navigator != "object") return hooks;
116831
- var ua = navigator.userAgent;
116832
- if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
116833
- if (ua.indexOf("Chrome") >= 0) {
116831
+ var userAgent = navigator.userAgent;
116832
+ if (typeof userAgent != "string") return hooks;
116833
+ if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
116834
+ if (userAgent.indexOf("Chrome") >= 0) {
116834
116835
  function confirm(p) {
116835
116836
  return typeof window == "object" && window[p] && window[p].name == p;
116836
116837
  }
@@ -116842,27 +116843,11 @@ self.util = _cliPkgRequires.util;
116842
116843
  B.C_JS_CONST1 = function(hooks) {
116843
116844
  if (typeof dartExperimentalFixupGetTag != "function") return hooks;
116844
116845
  hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
116845
- };
116846
- B.C_JS_CONST2 = function(hooks) {
116847
- var getTag = hooks.getTag;
116848
- var prototypeForTag = hooks.prototypeForTag;
116849
- function getTagFixed(o) {
116850
- var tag = getTag(o);
116851
- if (tag == "Document") {
116852
- if (!!o.xmlVersion) return "!Document";
116853
- return "!HTMLDocument";
116854
- }
116855
- return tag;
116856
- }
116857
- function prototypeForTagFixed(tag) {
116858
- if (tag == "Document") return null;
116859
- return prototypeForTag(tag);
116860
- }
116861
- hooks.getTag = getTagFixed;
116862
- hooks.prototypeForTag = prototypeForTagFixed;
116863
116846
  };
116864
116847
  B.C_JS_CONST5 = function(hooks) {
116865
- var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
116848
+ if (typeof navigator != "object") return hooks;
116849
+ var userAgent = navigator.userAgent;
116850
+ if (typeof userAgent != "string") return hooks;
116866
116851
  if (userAgent.indexOf("Firefox") == -1) return hooks;
116867
116852
  var getTag = hooks.getTag;
116868
116853
  var quickMap = {
@@ -116879,7 +116864,9 @@ self.util = _cliPkgRequires.util;
116879
116864
  hooks.getTag = getTagFirefox;
116880
116865
  };
116881
116866
  B.C_JS_CONST4 = function(hooks) {
116882
- var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
116867
+ if (typeof navigator != "object") return hooks;
116868
+ var userAgent = navigator.userAgent;
116869
+ if (typeof userAgent != "string") return hooks;
116883
116870
  if (userAgent.indexOf("Trident/") == -1) return hooks;
116884
116871
  var getTag = hooks.getTag;
116885
116872
  var quickMap = {
@@ -116906,6 +116893,24 @@ self.util = _cliPkgRequires.util;
116906
116893
  }
116907
116894
  hooks.getTag = getTagIE;
116908
116895
  hooks.prototypeForTag = prototypeForTagIE;
116896
+ };
116897
+ B.C_JS_CONST2 = function(hooks) {
116898
+ var getTag = hooks.getTag;
116899
+ var prototypeForTag = hooks.prototypeForTag;
116900
+ function getTagFixed(o) {
116901
+ var tag = getTag(o);
116902
+ if (tag == "Document") {
116903
+ if (!!o.xmlVersion) return "!Document";
116904
+ return "!HTMLDocument";
116905
+ }
116906
+ return tag;
116907
+ }
116908
+ function prototypeForTagFixed(tag) {
116909
+ if (tag == "Document") return null;
116910
+ return prototypeForTag(tag);
116911
+ }
116912
+ hooks.getTag = getTagFixed;
116913
+ hooks.prototypeForTag = prototypeForTagFixed;
116909
116914
  };
116910
116915
  B.C_JS_CONST3 = function(hooks) { return hooks; }
116911
116916
  ;