sass-embedded 1.50.1 → 1.51.0
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 +9 -0
- package/dist/package.json +2 -2
- package/dist/types/options.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 1.51.0
|
|
2
|
+
|
|
3
|
+
* **Potentially breaking change**: Change the order of maps returned by
|
|
4
|
+
`map.deep-merge()` to match those returned by `map.merge()`. All keys that
|
|
5
|
+
appeared in the first map will now be listed first in the same order they
|
|
6
|
+
appeared in that map, followed by any new keys added from the second map.
|
|
7
|
+
|
|
8
|
+
* Improve the string output of some AST nodes in error messages.
|
|
9
|
+
|
|
1
10
|
## 1.50.1
|
|
2
11
|
|
|
3
12
|
### Embedded Sass
|
package/dist/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sass-embedded",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"protocol-version": "1.0.0",
|
|
5
|
-
"compiler-version": "1.
|
|
5
|
+
"compiler-version": "1.51.0",
|
|
6
6
|
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",
|
|
7
7
|
"repository": "sass/embedded-host-node",
|
|
8
8
|
"author": "Google Inc.",
|
package/dist/types/options.d.ts
CHANGED
|
@@ -38,7 +38,8 @@ export type OutputStyle = 'expanded' | 'compressed';
|
|
|
38
38
|
* const result = sass.compile('style.scss', {
|
|
39
39
|
* functions: {
|
|
40
40
|
* "sum($arg1, $arg2)": (args) => {
|
|
41
|
-
* const
|
|
41
|
+
* const arg1 = args[0].assertNumber('arg1');
|
|
42
|
+
* const value1 = arg1.value;
|
|
42
43
|
* const value2 = args[1].assertNumber('arg2')
|
|
43
44
|
* .convertValueToMatch(arg1, 'arg2', 'arg1');
|
|
44
45
|
* return new sass.SassNumber(value1 + value2).coerceToMatch(arg1);
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sass-embedded",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"protocol-version": "1.0.0",
|
|
5
|
-
"compiler-version": "1.
|
|
5
|
+
"compiler-version": "1.51.0",
|
|
6
6
|
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",
|
|
7
7
|
"repository": "sass/embedded-host-node",
|
|
8
8
|
"author": "Google Inc.",
|