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) {
207
207
208
208
try {
209
209
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
213
214
}
214
215
215
216
return result
Original file line number Diff line number Diff line change 26
26
],
27
27
"dependencies" : {
28
28
"comma-separated-tokens" : " ^1.0.0" ,
29
- "property-information" : " ^4 .0.0" ,
29
+ "property-information" : " ^5 .0.0" ,
30
30
"space-separated-tokens" : " ^1.0.0" ,
31
31
"style-to-object" : " ^0.2.1" ,
32
32
"unist-util-is" : " ^2.0.0" ,
52
52
"scripts" : {
53
53
"format" : " remark . -qfo && prettier --write '**/*.js' && xo --fix" ,
54
54
"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" ,
56
56
"build" : " npm run build-bundle && npm run build-mangle" ,
57
57
"test-api" : " node test" ,
58
58
"test-coverage" : " nyc --reporter lcov tape test.js" ,
You can’t perform that action at this time.
0 commit comments