code-red
Advanced tools
Comparing version 0.0.28 to 0.0.29
# code-red changelog | ||
## 0.0.29 | ||
* Handle sigils in comments ([#21](https://github.com/Rich-Harris/code-red/issues/21)) | ||
## 0.0.28 | ||
@@ -4,0 +8,0 @@ |
@@ -1561,2 +1561,9 @@ (function (global, factory) { | ||
comment.value = comment.value.replace(re, (match, id, at, hash, value) => { | ||
if (hash) return `#${value}`; | ||
if (at) return `@${value}`; | ||
return match; | ||
}); | ||
const next = comments[0] || node; | ||
@@ -1563,0 +1570,0 @@ (comment ).has_trailing_newline = ( |
{ | ||
"name": "code-red", | ||
"description": "code-red", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"repository": "Rich-Harris/code-red", | ||
@@ -6,0 +6,0 @@ "main": "dist/code-red.js", |
Sorry, the diff of this file is not supported yet
81162
2822