sass-embedded 1.0.0-beta.5 → 1.0.0-beta.7
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/CHANGELOG.md +18 -0
- package/dist/.gitignore +1 -1
- package/dist/lib/index.js +11 -4
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/src/{embedded-compiler/compiler.js → async-compiler.js} +9 -17
- package/dist/lib/src/async-compiler.js.map +1 -0
- package/dist/lib/src/compile.js +167 -79
- package/dist/lib/src/compile.js.map +1 -1
- package/dist/lib/src/compiler-path.js +18 -0
- package/dist/lib/src/compiler-path.js.map +1 -0
- package/dist/lib/src/{embedded-protocol/utils.js → deprotofy-span.js} +16 -18
- package/dist/lib/src/deprotofy-span.js.map +1 -0
- package/dist/lib/src/{embedded-protocol/dispatcher.js → dispatcher.js} +45 -40
- package/dist/lib/src/dispatcher.js.map +1 -0
- package/dist/lib/src/exception.js +20 -0
- package/dist/lib/src/exception.js.map +1 -0
- package/dist/lib/src/function-registry.js +81 -0
- package/dist/lib/src/function-registry.js.map +1 -0
- package/dist/lib/src/{node-sass/render.js → legacy.js} +45 -39
- package/dist/lib/src/legacy.js.map +1 -0
- package/dist/lib/src/{embedded-protocol/message-transformer.js → message-transformer.js} +2 -2
- package/dist/lib/src/message-transformer.js.map +1 -0
- package/dist/lib/src/{embedded-compiler/packet-transformer.js → packet-transformer.js} +0 -0
- package/dist/lib/src/packet-transformer.js.map +1 -0
- package/dist/lib/src/protofier.js +205 -0
- package/dist/lib/src/protofier.js.map +1 -0
- package/dist/lib/src/{embedded-protocol/request-tracker.js → request-tracker.js} +0 -0
- package/dist/lib/src/request-tracker.js.map +1 -0
- package/dist/lib/src/sync-compiler.js +52 -0
- package/dist/lib/src/sync-compiler.js.map +1 -0
- package/dist/lib/src/{exception/span.js → sync-process/event.js} +2 -2
- package/dist/lib/src/sync-process/event.js.map +1 -0
- package/dist/lib/src/sync-process/index.js +122 -0
- package/dist/lib/src/sync-process/index.js.map +1 -0
- package/dist/lib/src/sync-process/sync-message-port.js +128 -0
- package/dist/lib/src/sync-process/sync-message-port.js.map +1 -0
- package/dist/lib/src/sync-process/worker.js +51 -0
- package/dist/lib/src/sync-process/worker.js.map +1 -0
- package/dist/lib/src/utils.js +43 -1
- package/dist/lib/src/utils.js.map +1 -1
- package/dist/lib/src/value/boolean.js +3 -3
- package/dist/lib/src/value/boolean.js.map +1 -1
- package/dist/lib/src/value/color.js +89 -98
- package/dist/lib/src/value/color.js.map +1 -1
- package/dist/lib/src/value/{value.js → index.js} +5 -1
- package/dist/lib/src/value/index.js.map +1 -0
- package/dist/lib/src/value/list.js +15 -18
- package/dist/lib/src/value/list.js.map +1 -1
- package/dist/lib/src/value/map.js +17 -10
- package/dist/lib/src/value/map.js.map +1 -1
- package/dist/lib/src/value/null.js +2 -2
- package/dist/lib/src/value/number.js +20 -26
- package/dist/lib/src/value/number.js.map +1 -1
- package/dist/lib/src/value/string.js +14 -9
- package/dist/lib/src/value/string.js.map +1 -1
- package/dist/lib/src/value/utils.js +7 -1
- package/dist/lib/src/value/utils.js.map +1 -1
- package/dist/lib/src/vendor/embedded-protocol/embedded_sass_pb.js +1395 -101
- package/dist/lib/src/vendor/embedded-protocol/embedded_sass_pb.js.map +1 -1
- package/dist/package.json +6 -4
- package/dist/tool/utils.js +34 -9
- package/dist/tool/utils.js.map +1 -1
- package/dist/types/compile.d.ts +152 -0
- package/dist/types/exception.d.ts +41 -0
- package/dist/types/importer.d.ts +294 -0
- package/dist/types/index.d.ts +76 -0
- package/dist/types/legacy/exception.d.ts +54 -0
- package/dist/types/legacy/function.d.ts +652 -0
- package/dist/types/legacy/importer.d.ts +168 -0
- package/dist/types/legacy/options.d.ts +642 -0
- package/dist/types/legacy/plugin_this.d.ts +70 -0
- package/dist/types/legacy/render.d.ts +139 -0
- package/dist/types/logger/index.d.ts +94 -0
- package/dist/types/logger/source_location.d.ts +21 -0
- package/dist/types/logger/source_span.d.ts +34 -0
- package/dist/types/options.d.ts +408 -0
- package/dist/types/util/promise_or.d.ts +17 -0
- package/dist/types/value/argument_list.d.ts +47 -0
- package/dist/types/value/boolean.d.ts +29 -0
- package/dist/types/value/color.d.ts +107 -0
- package/dist/types/value/function.d.ts +22 -0
- package/dist/types/value/index.d.ts +173 -0
- package/dist/types/value/list.d.ts +54 -0
- package/dist/types/value/map.d.ts +41 -0
- package/dist/types/value/number.d.ts +305 -0
- package/dist/types/value/string.d.ts +84 -0
- package/package.json +6 -4
- package/dist/lib/index.d.ts +0 -10
- package/dist/lib/src/compile.d.ts +0 -22
- package/dist/lib/src/embedded-compiler/compiler.d.ts +0 -19
- package/dist/lib/src/embedded-compiler/compiler.js.map +0 -1
- package/dist/lib/src/embedded-compiler/packet-transformer.d.ts +0 -34
- package/dist/lib/src/embedded-compiler/packet-transformer.js.map +0 -1
- package/dist/lib/src/embedded-protocol/dispatcher.d.ts +0 -60
- package/dist/lib/src/embedded-protocol/dispatcher.js.map +0 -1
- package/dist/lib/src/embedded-protocol/message-transformer.d.ts +0 -47
- package/dist/lib/src/embedded-protocol/message-transformer.js.map +0 -1
- package/dist/lib/src/embedded-protocol/request-tracker.d.ts +0 -20
- package/dist/lib/src/embedded-protocol/request-tracker.js.map +0 -1
- package/dist/lib/src/embedded-protocol/utils.d.ts +0 -7
- package/dist/lib/src/embedded-protocol/utils.js.map +0 -1
- package/dist/lib/src/exception/exception.d.ts +0 -19
- package/dist/lib/src/exception/exception.js +0 -37
- package/dist/lib/src/exception/exception.js.map +0 -1
- package/dist/lib/src/exception/location.d.ts +0 -11
- package/dist/lib/src/exception/location.js +0 -6
- package/dist/lib/src/exception/location.js.map +0 -1
- package/dist/lib/src/exception/span.d.ts +0 -29
- package/dist/lib/src/exception/span.js.map +0 -1
- package/dist/lib/src/node-sass/render.d.ts +0 -61
- package/dist/lib/src/node-sass/render.js.map +0 -1
- package/dist/lib/src/utils.d.ts +0 -16
- package/dist/lib/src/value/boolean.d.ts +0 -25
- package/dist/lib/src/value/color.d.ts +0 -89
- package/dist/lib/src/value/list.d.ts +0 -41
- package/dist/lib/src/value/map.d.ts +0 -26
- package/dist/lib/src/value/null.d.ts +0 -12
- package/dist/lib/src/value/number.d.ts +0 -189
- package/dist/lib/src/value/string.d.ts +0 -56
- package/dist/lib/src/value/utils.d.ts +0 -44
- package/dist/lib/src/value/value.d.ts +0 -108
- package/dist/lib/src/value/value.js.map +0 -1
- package/dist/lib/src/vendor/embedded-protocol/embedded_sass_pb.d.ts +0 -1
- package/dist/tool/utils.d.ts +0 -32
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Value } from './value';
|
|
2
|
-
/** A SassScript string. */
|
|
3
|
-
export declare class SassString extends Value {
|
|
4
|
-
private readonly textInternal;
|
|
5
|
-
private readonly hasQuotesInternal;
|
|
6
|
-
/** Creates a string with `text`, optionally with quotes. */
|
|
7
|
-
constructor(text: string, options?: {
|
|
8
|
-
quotes?: boolean;
|
|
9
|
-
});
|
|
10
|
-
/** Creates an empty string, optionally with quotes. */
|
|
11
|
-
static empty(options?: {
|
|
12
|
-
quotes?: boolean;
|
|
13
|
-
}): SassString;
|
|
14
|
-
/** `this`'s text. */
|
|
15
|
-
get text(): string;
|
|
16
|
-
/** Whether `this` has quotes. */
|
|
17
|
-
get hasQuotes(): boolean;
|
|
18
|
-
assertString(): SassString;
|
|
19
|
-
/**
|
|
20
|
-
* Sass's notion of `this`'s length.
|
|
21
|
-
*
|
|
22
|
-
* Sass treats strings as a series of Unicode code points while JS treats them
|
|
23
|
-
* as a series of UTF-16 code units. For example, the character U+1F60A,
|
|
24
|
-
* Smiling Face With Smiling Eyes, is a single Unicode code point but is
|
|
25
|
-
* represented in UTF-16 as two code units (`0xD83D` and `0xDE0A`). So in
|
|
26
|
-
* JS, `"n😊b".length` returns `4`, whereas in Sass `string.length("n😊b")`
|
|
27
|
-
* returns `3`.
|
|
28
|
-
*/
|
|
29
|
-
sassLength(): number;
|
|
30
|
-
/**
|
|
31
|
-
* Converts `sassIndex` to a JS index into `text`.
|
|
32
|
-
*
|
|
33
|
-
* Sass indices are one-based, while JS indices are zero-based. Sass
|
|
34
|
-
* indices may also be negative in order to index from the end of the string.
|
|
35
|
-
*
|
|
36
|
-
* In addition, Sass indices refer to Unicode code points while JS string
|
|
37
|
-
* indices refer to UTF-16 code units. For example, the character U+1F60A,
|
|
38
|
-
* Smiling Face With Smiling Eyes, is a single Unicode code point but is
|
|
39
|
-
* represented in UTF-16 as two code units (`0xD83D` and `0xDE0A`). So in
|
|
40
|
-
* JS, `"n😊b".charAt(1)` returns `0xD83D`, whereas in Sass
|
|
41
|
-
* `string.slice("n😊b", 1, 1)` returns `"😊"`.
|
|
42
|
-
*
|
|
43
|
-
* This function converts Sass's code point indices to JS's code unit
|
|
44
|
-
* indices. This means it's O(n) in the length of `text`.
|
|
45
|
-
*
|
|
46
|
-
* Throws an error `sassIndex` isn't a number, if that number isn't an
|
|
47
|
-
* integer, or if that integer isn't a valid index for this string.
|
|
48
|
-
*
|
|
49
|
-
* If `sassIndex` came from a function argument, `name` is the argument name
|
|
50
|
-
* (without the `$`) and is used for error reporting.
|
|
51
|
-
*/
|
|
52
|
-
sassIndexToStringIndex(sassIndex: Value, name?: string): number;
|
|
53
|
-
equals(other: Value): boolean;
|
|
54
|
-
hashCode(): number;
|
|
55
|
-
toString(): string;
|
|
56
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/** The precision of Sass numbers. */
|
|
2
|
-
export declare const precision = 10;
|
|
3
|
-
/** Whether `num1` and `num2` are equal within `epsilon`. */
|
|
4
|
-
export declare function fuzzyEquals(num1: number, num2: number): boolean;
|
|
5
|
-
/**
|
|
6
|
-
* Returns a hash code for `num`.
|
|
7
|
-
*
|
|
8
|
-
* Two numbers that `fuzzyEquals` each other must have the same hash code.
|
|
9
|
-
*/
|
|
10
|
-
export declare function fuzzyHashCode(num: number): number;
|
|
11
|
-
/** Whether `num1` < `num2`, within `epsilon`. */
|
|
12
|
-
export declare function fuzzyLessThan(num1: number, num2: number): boolean;
|
|
13
|
-
/** Whether `num1` <= `num2`, within `epsilon`. */
|
|
14
|
-
export declare function fuzzyLessThanOrEquals(num1: number, num2: number): boolean;
|
|
15
|
-
/** Whether `num1` > `num2`, within `epsilon`. */
|
|
16
|
-
export declare function fuzzyGreaterThan(num1: number, num2: number): boolean;
|
|
17
|
-
/** Whether `num1` >= `num2`, within `epsilon`. */
|
|
18
|
-
export declare function fuzzyGreaterThanOrEquals(num1: number, num2: number): boolean;
|
|
19
|
-
/** Whether `num` `fuzzyEquals` an integer. */
|
|
20
|
-
export declare function fuzzyIsInt(num: number): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* If `num` `fuzzyIsInt`, returns it as an integer. Otherwise, returns `null`.
|
|
23
|
-
*/
|
|
24
|
-
export declare function fuzzyAsInt(num: number): number | null;
|
|
25
|
-
/**
|
|
26
|
-
* Rounds `num` to the nearest integer.
|
|
27
|
-
*
|
|
28
|
-
* If `num` `fuzzyEquals` `x.5`, rounds away from zero.
|
|
29
|
-
*/
|
|
30
|
-
export declare function fuzzyRound(num: number): number;
|
|
31
|
-
/**
|
|
32
|
-
* Returns `num` if it's within `min` and `max`, or `null` if it's not.
|
|
33
|
-
*
|
|
34
|
-
* If `num` `fuzzyEquals` `min` or `max`, it gets clamped to that value.
|
|
35
|
-
*/
|
|
36
|
-
export declare function fuzzyInRange(num: number, min: number, max: number): number | null;
|
|
37
|
-
/**
|
|
38
|
-
* Returns `num` if it's within `min` and `max`. Otherwise, throws an error.
|
|
39
|
-
*
|
|
40
|
-
* If `num` `fuzzyEquals` `min` or `max`, it gets clamped to that value.
|
|
41
|
-
*
|
|
42
|
-
* If `name` is provided, it is used as the parameter name for error reporting.
|
|
43
|
-
*/
|
|
44
|
-
export declare function fuzzyAssertInRange(num: number, min: number, max: number, name?: string): number;
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { List, OrderedMap, ValueObject } from 'immutable';
|
|
2
|
-
import { ListSeparator } from './list';
|
|
3
|
-
import { SassBoolean } from './boolean';
|
|
4
|
-
import { SassColor } from './color';
|
|
5
|
-
import { SassMap } from './map';
|
|
6
|
-
import { SassNumber } from './number';
|
|
7
|
-
import { SassString } from './string';
|
|
8
|
-
/**
|
|
9
|
-
* A SassScript value.
|
|
10
|
-
*
|
|
11
|
-
* All SassScript values are immutable.
|
|
12
|
-
*
|
|
13
|
-
* Concrete values (such as `SassColor`) are implemented as subclasses and get
|
|
14
|
-
* instantiated as normal JS classes.
|
|
15
|
-
*
|
|
16
|
-
* Untyped values can be cast to particular types using `assert*()` functions,
|
|
17
|
-
* which throw user-friendly error messages if they fail.
|
|
18
|
-
*
|
|
19
|
-
* All values, except `false` and `null`, count as `true`.
|
|
20
|
-
*
|
|
21
|
-
* All values can be used as lists. Maps count as lists of pairs, while all
|
|
22
|
-
* other values count as single-value lists. Empty maps are equal to empty
|
|
23
|
-
* lists.
|
|
24
|
-
*/
|
|
25
|
-
export declare abstract class Value implements ValueObject {
|
|
26
|
-
/** Whether `this` counts as `true`. */
|
|
27
|
-
get isTruthy(): boolean;
|
|
28
|
-
/** Returns JS null if `this` is `sassNull`. Otherwise, returns `this`. */
|
|
29
|
-
get realNull(): Value | null;
|
|
30
|
-
/** `this` as a list. */
|
|
31
|
-
get asList(): List<Value>;
|
|
32
|
-
/** The separator for `this` as a list. */
|
|
33
|
-
get separator(): ListSeparator;
|
|
34
|
-
/** Whether `this`, as a list, has brackets. */
|
|
35
|
-
get hasBrackets(): boolean;
|
|
36
|
-
protected get lengthAsList(): number;
|
|
37
|
-
/**
|
|
38
|
-
* Converts `sassIndex` to a JS index into the array returned by `asList`.
|
|
39
|
-
*
|
|
40
|
-
* Sass indices start counting at 1, and may be negative in order to index
|
|
41
|
-
* from the end of the list.
|
|
42
|
-
*
|
|
43
|
-
* `sassIndex` must be...
|
|
44
|
-
* - a number, and
|
|
45
|
-
* - an integer, and
|
|
46
|
-
* - a valid index into `asList`.
|
|
47
|
-
*
|
|
48
|
-
* Otherwise, this throws an error.
|
|
49
|
-
*
|
|
50
|
-
* If `this` came from a function argument, `name` is the argument name
|
|
51
|
-
* (without the `$`) and is used for error reporting.
|
|
52
|
-
*/
|
|
53
|
-
sassIndexToListIndex(sassIndex: Value, name?: string): number;
|
|
54
|
-
/**
|
|
55
|
-
* Casts `this` to `SassBoolean`; throws if `this` isn't a boolean.
|
|
56
|
-
*
|
|
57
|
-
* If `this` came from a function argument, `name` is the argument name
|
|
58
|
-
* (without the `$`) and is used for error reporting.
|
|
59
|
-
*/
|
|
60
|
-
assertBoolean(name?: string): SassBoolean;
|
|
61
|
-
/**
|
|
62
|
-
* Casts `this` to `SassColor`; throws if `this` isn't a color.
|
|
63
|
-
*
|
|
64
|
-
* If `this` came from a function argument, `name` is the argument name
|
|
65
|
-
* (without the `$`) and is used for error reporting.
|
|
66
|
-
*/
|
|
67
|
-
assertColor(name?: string): SassColor;
|
|
68
|
-
/**
|
|
69
|
-
* Casts `this` to `SassFunction`; throws if `this` isn't a function
|
|
70
|
-
* reference.
|
|
71
|
-
*
|
|
72
|
-
* If `this` came from a function argument, `name` is the argument name
|
|
73
|
-
* (without the `$`) and is used for error reporting.
|
|
74
|
-
*/
|
|
75
|
-
assertFunction(name?: string): Value;
|
|
76
|
-
/**
|
|
77
|
-
* Casts `this` to `SassMap`; throws if `this` isn't a map.
|
|
78
|
-
*
|
|
79
|
-
* If `this` came from a function argument, `name` is the argument name
|
|
80
|
-
* (without the `$`) and is used for error reporting.
|
|
81
|
-
*/
|
|
82
|
-
assertMap(name?: string): SassMap;
|
|
83
|
-
/**
|
|
84
|
-
* Returns `this` as a `SassMap` if it counts as one (including empty lists),
|
|
85
|
-
* or `null` if it does not.
|
|
86
|
-
*/
|
|
87
|
-
tryMap(): OrderedMap<Value, Value> | null;
|
|
88
|
-
/**
|
|
89
|
-
* Casts `this` to `SassString`; throws if `this` isn't a string.
|
|
90
|
-
*
|
|
91
|
-
* If `this` came from a function argument, `name` is the argument name
|
|
92
|
-
* (without the `$`) and is used for error reporting.
|
|
93
|
-
*/
|
|
94
|
-
assertNumber(name?: string): SassNumber;
|
|
95
|
-
/**
|
|
96
|
-
* Casts `this` to `SassString`; throws if `this` isn't a string.
|
|
97
|
-
*
|
|
98
|
-
* If `this` came from a function argument, `name` is the argument name
|
|
99
|
-
* (without the `$`) and is used for error reporting.
|
|
100
|
-
*/
|
|
101
|
-
assertString(name?: string): SassString;
|
|
102
|
-
/** Whether `this == other` in SassScript. */
|
|
103
|
-
abstract equals(other: Value): boolean;
|
|
104
|
-
/** This is the same for values that are `==` in SassScript. */
|
|
105
|
-
abstract hashCode(): number;
|
|
106
|
-
/** A meaningful descriptor for this value. */
|
|
107
|
-
abstract toString(): string;
|
|
108
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"value.js","sourceRoot":"","sources":["../../../../lib/src/value/value.ts"],"names":[],"mappings":";AAAA,uEAAuE;AACvE,gEAAgE;AAChE,uCAAuC;;;AAEvC,yCAAwD;AAQxD,oCAAoC;AAEpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAsB,KAAK;IACzB,uCAAuC;IACvC,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IAED,0EAA0E;IAC1E,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IAED,wBAAwB;IACxB,IAAI,MAAM;QACR,OAAO,IAAA,gBAAI,EAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IACtB,CAAC;IAED,0CAA0C;IAC1C,IAAI,SAAS;QACX,OAAO,IAAI,CAAC;IACd,CAAC;IAED,+CAA+C;IAC/C,IAAI,WAAW;QACb,OAAO,KAAK,CAAC;IACf,CAAC;IAED,yDAAyD;IACzD,0BAA0B;IAC1B,IAAc,YAAY;QACxB,OAAO,CAAC,CAAC;IACX,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,oBAAoB,CAAC,SAAgB,EAAE,IAAa;QAClD,MAAM,KAAK,GAAG,SAAS,CAAC,YAAY,EAAE,CAAC,SAAS,EAAE,CAAC;QACnD,IAAI,KAAK,KAAK,CAAC,EAAE;YACf,MAAM,KAAK,CAAC,0BAA0B,CAAC,CAAC;SACzC;QACD,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE;YACvC,MAAM,IAAA,kBAAU,EACd,iBAAiB,SAAS,oBAAoB,IAAI,CAAC,YAAY,YAAY,EAC3E,IAAI,CACL,CAAC;SACH;QACD,OAAO,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;OAKG;IACH,aAAa,CAAC,IAAa;QACzB,MAAM,IAAA,kBAAU,EAAC,GAAG,IAAI,mBAAmB,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IAED;;;;;OAKG;IACH,WAAW,CAAC,IAAa;QACvB,MAAM,IAAA,kBAAU,EAAC,GAAG,IAAI,iBAAiB,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;OAMG;IACH,cAAc,CAAC,IAAa;QAC1B,MAAM,IAAA,kBAAU,EAAC,GAAG,IAAI,8BAA8B,EAAE,IAAI,CAAC,CAAC;QAC9D,uDAAuD;IACzD,CAAC;IAED;;;;;OAKG;IACH,SAAS,CAAC,IAAa;QACrB,MAAM,IAAA,kBAAU,EAAC,GAAG,IAAI,eAAe,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAED;;;OAGG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;OAKG;IACH,YAAY,CAAC,IAAa;QACxB,MAAM,IAAA,kBAAU,EAAC,GAAG,IAAI,kBAAkB,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IAED;;;;;OAKG;IACH,YAAY,CAAC,IAAa;QACxB,MAAM,IAAA,kBAAU,EAAC,GAAG,IAAI,kBAAkB,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;CAUF;AA5ID,sBA4IC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/tool/utils.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Gets the Embedded Protocol.
|
|
3
|
-
*
|
|
4
|
-
* Can download the release `version`, check out and build the source from a Git
|
|
5
|
-
* `ref`, or build from the source at `path`.
|
|
6
|
-
*
|
|
7
|
-
* By default, downloads the release version specified in package.json. Throws
|
|
8
|
-
* if an error occurs.
|
|
9
|
-
*/
|
|
10
|
-
export declare function getEmbeddedProtocol(outPath: string, options?: {
|
|
11
|
-
version: string;
|
|
12
|
-
} | {
|
|
13
|
-
ref: string;
|
|
14
|
-
} | {
|
|
15
|
-
path: string;
|
|
16
|
-
}): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Gets the Dart Sass wrapper for the Embedded Compiler.
|
|
19
|
-
*
|
|
20
|
-
* Can download the release `version`, check out and build the source from a Git
|
|
21
|
-
* `ref`, or build from the source at `path`.
|
|
22
|
-
*
|
|
23
|
-
* By default, downloads the release version specified in package.json. Throws
|
|
24
|
-
* if an error occurs.
|
|
25
|
-
*/
|
|
26
|
-
export declare function getDartSassEmbedded(outPath: string, options?: {
|
|
27
|
-
version: string;
|
|
28
|
-
} | {
|
|
29
|
-
ref: string;
|
|
30
|
-
} | {
|
|
31
|
-
path: string;
|
|
32
|
-
}): Promise<void>;
|