@markuplint/smarty-parser 3.3.0 → 3.4.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/lib/parse.js +5 -0
- package/package.json +4 -4
package/lib/parse.js
CHANGED
|
@@ -5,6 +5,11 @@ const html_parser_1 = require("@markuplint/html-parser");
|
|
|
5
5
|
const parser_utils_1 = require("@markuplint/parser-utils");
|
|
6
6
|
const parse = rawCode => {
|
|
7
7
|
const blocks = (0, parser_utils_1.ignoreBlock)(rawCode, [
|
|
8
|
+
{
|
|
9
|
+
type: 'smarty-literal',
|
|
10
|
+
start: /{literal}/,
|
|
11
|
+
end: /{\/literal}/,
|
|
12
|
+
},
|
|
8
13
|
{
|
|
9
14
|
type: 'smarty-comment',
|
|
10
15
|
start: /{\*/,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/smarty-parser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Smarty parser for markuplint",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"clean": "tsc --build --clean"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@markuplint/html-parser": "3.
|
|
19
|
+
"@markuplint/html-parser": "3.4.0",
|
|
20
20
|
"@markuplint/ml-ast": "3.0.0",
|
|
21
|
-
"@markuplint/parser-utils": "3.
|
|
21
|
+
"@markuplint/parser-utils": "3.4.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "a83e0f5f214a9bbcc0286b9e269074ddca6189e7"
|
|
24
24
|
}
|