File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,8 @@ function wrap(tree, file) {
165
165
var start = pos . start ( node ) . offset ;
166
166
167
167
preprocessor . html = null ;
168
- preprocessor . lastCharPos = preprocessor . pos = - 1 ;
168
+ preprocessor . lastCharPos = - 1 ;
169
+ preprocessor . pos = - 1 ;
169
170
170
171
if ( start !== null ) {
171
172
preprocessor . droppedBufferSize = start ;
@@ -193,7 +194,8 @@ function run(p) {
193
194
p . _processInputToken ( token ) ;
194
195
}
195
196
196
- tokenizer . currentCharacterToken = tokenizer . currentToken = null ;
197
+ tokenizer . currentToken = null ;
198
+ tokenizer . currentCharacterToken = null ;
197
199
198
200
break ;
199
201
}
Original file line number Diff line number Diff line change 29
29
"zwitch" : " ^1.0.0"
30
30
},
31
31
"devDependencies" : {
32
- "browserify" : " ^13 .0.0" ,
32
+ "browserify" : " ^14 .0.0" ,
33
33
"esmangle" : " ^1.0.0" ,
34
34
"hastscript" : " ^3.0.1" ,
35
35
"nyc" : " ^8.3.1" ,
36
- "rehype-stringify" : " ^2 .0.0" ,
37
- "remark-cli" : " ^2 .0.0" ,
38
- "remark-parse" : " ^2 .0.2 " ,
39
- "remark-preset-wooorm" : " ^1 .0.0" ,
40
- "remark-rehype" : " ^1.1 .0" ,
36
+ "rehype-stringify" : " ^3 .0.0" ,
37
+ "remark-cli" : " ^3 .0.0" ,
38
+ "remark-parse" : " ^3 .0.1 " ,
39
+ "remark-preset-wooorm" : " ^2 .0.0" ,
40
+ "remark-rehype" : " ^2.0 .0" ,
41
41
"tape" : " ^4.0.0" ,
42
- "unified" : " ^5.1 .0" ,
42
+ "unified" : " ^6.0 .0" ,
43
43
"unist-builder" : " ^1.0.2" ,
44
- "xo" : " ^0.17 .0"
44
+ "xo" : " ^0.18 .0"
45
45
},
46
46
"scripts" : {
47
- "build-md" : " remark . --quiet --frail " ,
47
+ "build-md" : " remark . -qfo " ,
48
48
"build-bundle" : " browserify index.js --bare -s hastUtilRaw > hast-util-raw.js" ,
49
49
"build-mangle" : " esmangle hast-util-raw.js > hast-util-raw.min.js" ,
50
50
"build" : " npm run build-md && npm run build-bundle && npm run build-mangle" ,
61
61
},
62
62
"xo" : {
63
63
"space" : true ,
64
+ "esnext" : false ,
64
65
"ignores" : [
65
66
" hast-util-raw.js"
66
67
]
67
68
},
68
69
"remarkConfig" : {
69
- "output" : true ,
70
- "presets" : " wooorm"
70
+ "plugins" : [
71
+ " preset-wooorm"
72
+ ]
71
73
}
72
74
}
You can’t perform that action at this time.
0 commit comments