This repository was archived by the owner on Aug 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -207,9 +207,10 @@ function parseStyle(value, tagName) {
207207
208208 try {
209209 style ( value , iterator )
210- } catch ( err ) {
211- err . message = tagName + '[style]' + err . message . slice ( 'undefined' . length )
212- throw err
210+ } catch ( error ) {
211+ error . message =
212+ tagName + '[style]' + error . message . slice ( 'undefined' . length )
213+ throw error
213214 }
214215
215216 return result
Original file line number Diff line number Diff line change 2626 ],
2727 "dependencies" : {
2828 "comma-separated-tokens" : " ^1.0.0" ,
29- "property-information" : " ^4 .0.0" ,
29+ "property-information" : " ^5 .0.0" ,
3030 "space-separated-tokens" : " ^1.0.0" ,
3131 "style-to-object" : " ^0.2.1" ,
3232 "unist-util-is" : " ^2.0.0" ,
5252 "scripts" : {
5353 "format" : " remark . -qfo && prettier --write '**/*.js' && xo --fix" ,
5454 "build-bundle" : " browserify index.js -s hastToHyperscript > hast-to-hyperscript.js" ,
55- "build-mangle" : " browserify index.js -p tinyify -s hastToHyperscript > hast-to-hyperscript.min.js" ,
55+ "build-mangle" : " browserify index.js -s hastToHyperscript -p tinyify > hast-to-hyperscript.min.js" ,
5656 "build" : " npm run build-bundle && npm run build-mangle" ,
5757 "test-api" : " node test" ,
5858 "test-coverage" : " nyc --reporter lcov tape test.js" ,
You can’t perform that action at this time.
0 commit comments