sass
Advanced tools
Comparing version 1.68.0 to 1.69.0
@@ -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.0","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; |
@@ -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, |
@@ -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
5160036
35
5097