Skip to content

Commit

Permalink
Bump mdn/data to 2.0.27 (fixes #180)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Feb 25, 2022
1 parent ce6a600 commit dbcd9cc
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 9 deletions.
18 changes: 18 additions & 0 deletions data/patch.json
Expand Up @@ -668,6 +668,10 @@
"comment": "missed; not sure we should add it, but no others except `shape` is using it so it's ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect",
"syntax": "<length> | auto"
},
"layer-name": {
"comment": "missed in mdn/data",
"syntax": "<ident> [ '.' <ident> ]*"
},
"mask-image": {
"comment": "missed; https://drafts.fxtf.org/css-masking-1/#the-mask-image",
"syntax": "<mask-reference>#"
Expand Down Expand Up @@ -711,6 +715,20 @@
],
"syntax": "lr-tb | rl-tb | tb-rl | lr | rl | tb"
},
"single-animation-timeline": {
"comment": "missed in mdn/data",
"references": [
"https://drafts.csswg.org/css-animations-2/#typedef-single-animation-timeline"
],
"syntax": "auto | none | <timeline-name>"
},
"timeline-name": {
"comment": "missed in mdn/data",
"references": [
"https://drafts.csswg.org/css-animations-2/#typedef-timeline-name"
],
"syntax": "<custom-ident> | <string>"
},
"top": {
"comment": "missed; not sure we should add it, but no others except `shape` is using it so it's ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect",
"syntax": "<length> | auto"
Expand Down
2 changes: 1 addition & 1 deletion lib/data.js
Expand Up @@ -24,7 +24,7 @@ function preprocessAtrules(dict) {
}

result[atruleName.substr(1)] = {
prelude: atrule.syntax.trim().match(/^@\S+\s+([^;\{]*)/)[1].trim() || null,
prelude: atrule.syntax.trim().replace(/\{(.|\s)+\}/, '').match(/^@\S+\s+([^;\{]*)/)[1].trim() || null,
descriptors
};
}
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -92,7 +92,7 @@
"hydrogen": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/parse --stat -o /dev/null"
},
"dependencies": {
"mdn-data": "2.0.23",
"mdn-data": "2.0.27",
"source-map-js": "^1.0.1"
},
"devDependencies": {
Expand Down

0 comments on commit dbcd9cc

Please sign in to comment.