Empty JSON value
- 主要語言
- JavaScript
- 星號
- 96
- 分支
- 25
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I am not sure if this project is still being maintained?
Would you consider seeking a maintainer?
Anyway back to the problem at hand sending through an empty value the SCSS map is returning a none quoted SCSS map value. Which then breaks SCSS the compiler.
For example I am sending through:
`{
"some-key" : {
"value" : ""
}
}`
The SCSS Map is being output as:
`
(
some-key : (
value:
)
)
`
Ideally this would be output as:
`
(
some-key : (
value: ""
)
)
`
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
The issue reports a converter bug: an empty JSON string value is emitted as an unquoted SCSS map entry. No files or tests are named, so first locate the JSON-to-SCSS rendering path in the codebase, especially where map values are serialized and quoted. Reproduce with the provided JSON sample, inspect current output, then run the project’s test suite to validate a regression case for this example. Done means the output for `""` remains quoted and matches valid SCSS.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- tooling
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 48/100