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) {
165165 var start = pos . start ( node ) . offset ;
166166
167167 preprocessor . html = null ;
168- preprocessor . lastCharPos = preprocessor . pos = - 1 ;
168+ preprocessor . lastCharPos = - 1 ;
169+ preprocessor . pos = - 1 ;
169170
170171 if ( start !== null ) {
171172 preprocessor . droppedBufferSize = start ;
@@ -193,7 +194,8 @@ function run(p) {
193194 p . _processInputToken ( token ) ;
194195 }
195196
196- tokenizer . currentCharacterToken = tokenizer . currentToken = null ;
197+ tokenizer . currentToken = null ;
198+ tokenizer . currentCharacterToken = null ;
197199
198200 break ;
199201 }
Original file line number Diff line number Diff line change 2929 "zwitch" : " ^1.0.0"
3030 },
3131 "devDependencies" : {
32- "browserify" : " ^13 .0.0" ,
32+ "browserify" : " ^14 .0.0" ,
3333 "esmangle" : " ^1.0.0" ,
3434 "hastscript" : " ^3.0.1" ,
3535 "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" ,
4141 "tape" : " ^4.0.0" ,
42- "unified" : " ^5.1 .0" ,
42+ "unified" : " ^6.0 .0" ,
4343 "unist-builder" : " ^1.0.2" ,
44- "xo" : " ^0.17 .0"
44+ "xo" : " ^0.18 .0"
4545 },
4646 "scripts" : {
47- "build-md" : " remark . --quiet --frail " ,
47+ "build-md" : " remark . -qfo " ,
4848 "build-bundle" : " browserify index.js --bare -s hastUtilRaw > hast-util-raw.js" ,
4949 "build-mangle" : " esmangle hast-util-raw.js > hast-util-raw.min.js" ,
5050 "build" : " npm run build-md && npm run build-bundle && npm run build-mangle" ,
6161 },
6262 "xo" : {
6363 "space" : true ,
64+ "esnext" : false ,
6465 "ignores" : [
6566 " hast-util-raw.js"
6667 ]
6768 },
6869 "remarkConfig" : {
69- "output" : true ,
70- "presets" : " wooorm"
70+ "plugins" : [
71+ " preset-wooorm"
72+ ]
7173 }
7274}
You can’t perform that action at this time.
0 commit comments