Skip to content

Commit

Permalink
update rules and libs
Browse files Browse the repository at this point in the history
  • Loading branch information
le0pard committed May 17, 2024
1 parent 2b057e9 commit 371b27e
Show file tree
Hide file tree
Showing 5 changed files with 1,788 additions and 1,736 deletions.
35 changes: 17 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.3)
activesupport (7.1.3.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -15,11 +15,10 @@ GEM
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.6)
bigdecimal (3.1.8)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
drb (2.2.0)
ruby2_keywords
drb (2.2.1)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
Expand All @@ -45,14 +44,14 @@ GEM
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
i18n (1.14.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.1)
json (2.7.2)
language_server-protocol (3.17.0.3)
mini_portile2 (2.8.6)
minitest (5.21.2)
minitest (5.23.0)
multi_json (1.15.0)
multipart-post (2.3.0)
multipart-post (2.4.1)
mutex_m (0.2.0)
nokogiri (1.16.5)
mini_portile2 (~> 2.8.2)
Expand All @@ -64,32 +63,32 @@ GEM
oj (3.16.3)
bigdecimal (>= 3.0)
parallel (1.24.0)
parser (3.3.0.5)
parser (3.3.1.0)
ast (~> 2.4.1)
racc
public_suffix (5.0.4)
public_suffix (5.0.5)
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
regexp_parser (2.9.0)
rake (13.2.1)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
rubocop (1.60.2)
rubocop (1.63.5)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-performance (1.20.2)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-performance (1.21.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
ruby-progressbar (1.13.0)
Expand Down
23 changes: 23 additions & 0 deletions lib/tasks/caniemail.rake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class CaniuseGenerator # rubocop:disable Metrics/ClassLength
HTML_TAGS_MAPS = {
'amp' => [['html', '⚡4email'], %w[html amp4email]],
'html-abbr' => [['abbr', '']],
'html-acronym' => [['acronym', '']],
'html-address' => [['address', '']],
'html-audio' => [['audio', '']],
'html-base' => [['base', '']],
Expand All @@ -30,6 +31,7 @@ class CaniuseGenerator # rubocop:disable Metrics/ClassLength
'html-dialog' => [['dialog', '']],
'html-dir' => [['dir', '']],
'html-div' => [['div', '']],
'html-img' => [['img', '']],
'html-form' => [['form', '']],
'html-hr' => [['hr', '']],
'html-h1-h6' => [['h1', ''], ['h2', ''], ['h3', ''], ['h4', ''], ['h5', ''], ['h6', '']],
Expand All @@ -43,6 +45,7 @@ class CaniuseGenerator # rubocop:disable Metrics/ClassLength
'html-link' => [['link', '']],
'html-lists' => [['ul', ''], ['ol', ''], ['dl', '']],
'html-marquee' => [['marquee', '']],
'html-meta-color-scheme' => [['meta', 'name||theme-color']],
'html-meter' => [['meter', '']],
'html-object' => [['object', '']],
'html-p' => [['p', '']],
Expand Down Expand Up @@ -86,8 +89,10 @@ class CaniuseGenerator # rubocop:disable Metrics/ClassLength
'html-aria-live' => [['aria-live', '']],
'html-background' => [['background', '']],
'html-height' => [['height', '']],
'html-hidden' => [['hidden', '']],
'html-lang' => [['lang', '']],
'html-loading-attribute' => [['loading', '']],
'html-popover' => [['popover', ''], ['popovertarget', '']],
'html-required' => [['required', '']],
'html-role' => [['role', '']],
'html-valign' => [['valign', '']],
Expand Down Expand Up @@ -122,11 +127,14 @@ class CaniuseGenerator # rubocop:disable Metrics/ClassLength
'css-background-repeat' => [['background-repeat', '']],
'css-background-size' => [['background-size', '']],
'css-background' => [['background', '']],
'css-backdrop-filter' => [['backdrop-filter', '']],
'css-conic-gradient' => [%w[background conic-gradient]],
'css-border-collapse' => [['border-collapse', '']],
'css-border-radius-logical' => [['border-start-start-radius', ''], ['border-start-end-radius', ''],
['border-end-start-radius', ''], ['border-end-end-radius', '']],
'css-border-image' => [['border-image', '']],
'css-border-radius' => [['border-radius', '']],
'css-border-spacing' => [['border-spacing', '']],
'css-border' => [['border', '']],
'css-box-shadow' => [['box-shadow', '']],
'css-box-sizing' => [['box-sizing', '']],
Expand All @@ -137,6 +145,7 @@ class CaniuseGenerator # rubocop:disable Metrics/ClassLength
'css-border-inline-block' => [['border-inline', ''], ['border-block', '']],
'css-caption-side' => [['caption-side', '']],
'css-clip-path' => [['clip-path', '']],
'css-color-scheme' => [['color-scheme', '']],
'css-column-layout-properties' => [['columns', ''], ['column-fill', ''], ['column-rule', ''], ['column-gap', ''],
['column-span', '']],
'css-column-count' => [['column-count', '']],
Expand All @@ -149,6 +158,8 @@ class CaniuseGenerator # rubocop:disable Metrics/ClassLength
'css-flex-direction' => [['flex-direction', '']],
'css-flex-wrap' => [['flex-wrap', '']],
'css-float' => [['float', '']],
'css-font-size' => [['font-size', '']],
'css-font-stretch' => [['font-stretch', '']],
'css-font-weight' => [['font-weight', '']],
'css-font' => [['font', '']],
'css-sytem-ui' => [
Expand Down Expand Up @@ -205,6 +216,9 @@ class CaniuseGenerator # rubocop:disable Metrics/ClassLength
'css-padding-inline-block' => [['padding-block', ''], ['padding-inline', '']],
'css-padding-inline-start-end' => [['padding-inline-start', ''], ['padding-inline-end', '']],
'css-position' => [['position', '']],
'css-resize' => [['resize', '']],
'css-shape-margin' => [['shape-margin', '']],
'css-shape-outside' => [['shape-outside', '']],
'css-scroll-snap' => [['scroll-snap-type', '']],
'css-tab-size' => [['tab-size', '']],
'css-table-layout' => [['table-layout', '']],
Expand All @@ -213,18 +227,27 @@ class CaniuseGenerator # rubocop:disable Metrics/ClassLength
'css-text-decoration-color' => [['text-decoration-color', '']],
'css-text-decoration-thickness' => [['text-decoration-thickness', '']],
'css-text-decoration' => [['text-decoration', '']],
'css-text-decoration-line' => [['text-decoration-line', '']],
'css-text-decoration-skip-ink' => [['text-decoration-skip-ink', '']],
'css-text-decoration-style' => [['text-decoration-style', '']],
'css-text-emphasis-position' => [['text-emphasis-position', '']],
'css-text-emphasis' => [['text-emphasis', '']],
'css-text-indent' => [['text-indent', '']],
'css-text-orientation' => [['text-orientation', '']],
'css-text-overflow' => [['text-overflow', '']],
'css-text-shadow' => [['text-shadow', '']],
'css-text-transform' => [['text-transform', '']],
'css-text-underline-offset' => [['text-underline-offset', '']],
'css-text-underline-position' => [['text-underline-position', '']],
'css-text-wrap' => [['text-wrap', '']],
'css-transition' => [['transition', '']],
'css-transform' => [['transform', '']],
'css-user-select' => [['user-select', '']],
'css-vertical-align' => [['vertical-align', '']],
'css-visibility' => [['visibility', '']],
'css-white-space' => [['white-space', '']],
'css-word-break' => [['word-break', '']],
'css-word-spacing' => [['word-spacing', '']],
'css-width' => [['width', '']],
'css-writing-mode' => [['writing-mode', '']],
'css-z-index' => [['z-index', '']]
Expand Down
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,50 +16,50 @@
"format": "pnpify run prettier --plugin prettier-plugin-svelte --write src"
},
"dependencies": {
"@astrojs/svelte": "^5.3.0",
"@codemirror/commands": "^6.3.3",
"@codemirror/lang-html": "6.4.8",
"@astrojs/svelte": "^5.4.0",
"@codemirror/commands": "^6.5.0",
"@codemirror/lang-html": "6.4.9",
"@codemirror/language": "6.10.1",
"@codemirror/state": "6.4.1",
"@codemirror/view": "^6.26.1",
"@codemirror/view": "^6.26.3",
"@hotwired/turbo": "8.0.4",
"@iconify-json/mdi": "^1.1.64",
"@iconify-json/mdi": "^1.1.66",
"@lezer/common": "^1.2.1",
"@lezer/highlight": "^1.2.0",
"@rollup/plugin-yaml": "^4.1.2",
"@vite-pwa/astro": "^0.3.1",
"astro": "^4.5.15",
"@vite-pwa/astro": "^0.4.0",
"astro": "^4.8.6",
"astro-icon": "1.1.0",
"comlink": "^4.4.1",
"lodash": "4.17.21",
"normalize.css": "8.0.1",
"postcss": "8.4.38",
"postcss-import": "16.1.0",
"postcss-load-config": "^5.0.3",
"postcss-load-config": "^5.1.0",
"postcss-loader": "8.1.1",
"postcss-preset-env": "9.5.4",
"postcss-preset-env": "9.5.13",
"postcss-reporter": "7.1.0",
"rehype-external-links": "^3.0.0",
"svelte": "4.2.12",
"vite": "^5.2.8",
"vite-plugin-pwa": "^0.19.7",
"workbox-background-sync": "^7.0.0",
"workbox-core": "^7.0.0",
"workbox-expiration": "^7.0.0",
"workbox-precaching": "^7.0.0",
"workbox-routing": "^7.0.0",
"workbox-strategies": "^7.0.0",
"workbox-webpack-plugin": "7.0.0",
"workbox-window": "7.0.0"
"svelte": "4.2.17",
"vite": "^5.2.11",
"vite-plugin-pwa": "^0.20.0",
"workbox-background-sync": "^7.1.0",
"workbox-core": "^7.1.0",
"workbox-expiration": "^7.1.0",
"workbox-precaching": "^7.1.0",
"workbox-routing": "^7.1.0",
"workbox-strategies": "^7.1.0",
"workbox-webpack-plugin": "7.1.0",
"workbox-window": "7.1.0"
},
"devDependencies": {
"@yarnpkg/pnpify": "^4.0.1",
"astro-eslint-parser": "^0.16.3",
"@yarnpkg/pnpify": "^4.1.0",
"astro-eslint-parser": "^1.0.2",
"eslint": "8.57.0",
"eslint-plugin-astro": "^0.33.1",
"eslint-plugin-svelte3": "^4.0.0",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"prettier-plugin-svelte": "^3.2.3",
"shikiji-core": "^0.10.2"
},
"packageManager": "yarn@4.0.2"
Expand Down
2 changes: 1 addition & 1 deletion wasm_parser/parser/caniuse.json

Large diffs are not rendered by default.

0 comments on commit 371b27e

Please sign in to comment.