@terrazzo/parser 2.0.0-alpha.1 → 2.0.0-alpha.2
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/parse/token.ts +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @terrazzo/parser
|
|
2
2
|
|
|
3
|
+
## 2.0.0-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#568](https://github.com/terrazzoapp/terrazzo/pull/568) [`67c75be`](https://github.com/terrazzoapp/terrazzo/commit/67c75be78978cece52b61cf258ccc3a875e6af48) Thanks [@drwpow](https://github.com/drwpow)! - Fix border tokens not cascading correctly across modes
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`67c75be`](https://github.com/terrazzoapp/terrazzo/commit/67c75be78978cece52b61cf258ccc3a875e6af48)]:
|
|
10
|
+
- @terrazzo/token-tools@2.0.0-alpha.2
|
|
11
|
+
|
|
3
12
|
## 2.0.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -2773,7 +2773,7 @@ function graphAliases(refMap, { tokens, logger, sources }) {
|
|
|
2773
2773
|
else if (sourceNode.type === "Array") sourceNode = sourceNode.elements[key]?.value ?? sourceNode;
|
|
2774
2774
|
}
|
|
2775
2775
|
if (i === partial.length - 1) {
|
|
2776
|
-
const aliasedID = getTokenRef(refChain
|
|
2776
|
+
const aliasedID = getTokenRef(refChain[0]);
|
|
2777
2777
|
if (!(aliasedID in tokens)) {
|
|
2778
2778
|
logger.error({
|
|
2779
2779
|
group: "parser",
|