Comparing version 1.68.0 to 1.69.3
@@ -1,1 +0,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.68.0","bin":{"sass":"sass.js"},"main":"sass.node.js"} | ||
{"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"} |
@@ -23,2 +23,3 @@ import * as immutable from "immutable" | ||
export const SassMap = _cliPkgExports.SassMap; | ||
export const SassMixin = _cliPkgExports.SassMixin; | ||
export const SassNumber = _cliPkgExports.SassNumber; | ||
@@ -25,0 +26,0 @@ export const SassString = _cliPkgExports.SassString; |
@@ -47,2 +47,7 @@ import {RawSourceMap} from 'source-map-js'; | ||
* | ||
* **Heads up!** When using the `sass-embedded` npm package, | ||
* **{@link compileAsync} is almost always faster than {@link compile}**, due to | ||
* the overhead of emulating synchronous messaging with worker threads and | ||
* concurrent compilations being blocked on main thread. | ||
* | ||
* @example | ||
@@ -70,5 +75,5 @@ * | ||
* | ||
* **Heads up!** When using Dart Sass, **{@link compile} is almost twice as fast | ||
* as {@link compileAsync}**, due to the overhead of making the entire | ||
* evaluation process asynchronous. | ||
* **Heads up!** When using the `sass` npm package, **{@link compile} is almost | ||
* twice as fast as {@link compileAsync}**, due to the overhead of making the | ||
* entire evaluation process asynchronous. | ||
* | ||
@@ -99,2 +104,8 @@ * @example | ||
* | ||
* **Heads up!** When using the `sass-embedded` npm package, | ||
* **{@link compileStringAsync} is almost always faster than | ||
* {@link compileString}**, due to the overhead of emulating synchronous | ||
* messaging with worker threads and concurrent compilations being blocked on | ||
* main thread. | ||
* | ||
* @example | ||
@@ -131,5 +142,5 @@ * | ||
* | ||
* **Heads up!** When using Dart Sass, **{@link compile} is almost twice as fast | ||
* as {@link compileAsync}**, due to the overhead of making the entire | ||
* evaluation process asynchronous. | ||
* **Heads up!** When using the `sass` npm package, **{@link compileString} is | ||
* almost twice as fast as {@link compileStringAsync}**, due to the overhead | ||
* of making the entire evaluation process asynchronous. | ||
* | ||
@@ -136,0 +147,0 @@ * @example |
@@ -43,2 +43,3 @@ // This is a mirror of the JS API definitions in `spec/js-api`, but with comments | ||
SassMap, | ||
SassMixin, | ||
SassNumber, | ||
@@ -45,0 +46,0 @@ SassString, |
@@ -99,2 +99,7 @@ import {LegacyException} from './exception'; | ||
* | ||
* **Heads up!** When using the `sass-embedded` npm package, **{@link render} | ||
* is almost always faster than {@link renderSync}**, due to the overhead of | ||
* emulating synchronous messaging with worker threads and concurrent | ||
* compilations being blocked on main thread. | ||
* | ||
* @example | ||
@@ -120,5 +125,5 @@ * | ||
* | ||
* **Heads up!** When using Dart Sass, **{@link renderSync} is almost twice as | ||
* fast as {@link render}** by default, due to the overhead of making the entire | ||
* evaluation process asynchronous. | ||
* **Heads up!** When using the `sass` npm package, **{@link renderSync} is | ||
* almost twice as fast as {@link render}** by default, due to the overhead of | ||
* making the entire evaluation process asynchronous. | ||
* | ||
@@ -125,0 +130,0 @@ * ```js |
@@ -9,2 +9,3 @@ import {List, ValueObject} from 'immutable'; | ||
import {SassMap} from './map'; | ||
import {SassMixin} from './mixin'; | ||
import {SassNumber} from './number'; | ||
@@ -26,2 +27,3 @@ import {SassString} from './string'; | ||
export {SassMap} from './map'; | ||
export {SassMixin} from './mixin'; | ||
export {SassNumber} from './number'; | ||
@@ -162,2 +164,10 @@ export {SassString} from './string'; | ||
/** | ||
* Throws if `this` isn't a {@link SassMixin}. | ||
* | ||
* @param name - The name of the function argument `this` came from (without | ||
* the `$`) if it came from an argument. Used for error reporting. | ||
*/ | ||
assertMixin(name?: string): SassMixin; | ||
/** | ||
* Throws if `this` isn't a {@link SassNumber}. | ||
@@ -164,0 +174,0 @@ * |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5163173
35
5113