Skip to content

Commit b186456

Browse files
committed
feat: upgrade default vite version to 4.3
1 parent fcf453c commit b186456

File tree

4 files changed

+29
-68
lines changed

4 files changed

+29
-68
lines changed

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ GEM
9494
erubi (1.12.0)
9595
globalid (0.4.2)
9696
activesupport (>= 4.2.0)
97-
i18n (1.12.0)
97+
i18n (1.13.0)
9898
concurrent-ruby (~> 1.0)
9999
json (2.5.1)
100-
loofah (2.19.1)
100+
loofah (2.20.0)
101101
crass (~> 1.0.2)
102102
nokogiri (>= 1.5.9)
103103
m (1.5.1)
@@ -117,7 +117,7 @@ GEM
117117
ruby-progressbar
118118
minitest-stub_any_instance (1.0.2)
119119
nio4r (2.5.7)
120-
nokogiri (1.14.2)
120+
nokogiri (1.14.3)
121121
mini_portile2 (~> 2.8.0)
122122
racc (~> 1.4)
123123
parallel (1.21.0)
@@ -130,7 +130,7 @@ GEM
130130
byebug (~> 11.0)
131131
pry (~> 0.13.0)
132132
racc (1.6.2)
133-
rack (2.2.6.4)
133+
rack (2.2.7)
134134
rack-proxy (0.7.6)
135135
rack
136136
rack-test (2.1.0)
@@ -202,7 +202,7 @@ GEM
202202
websocket-driver (0.7.3)
203203
websocket-extensions (>= 0.1.0)
204204
websocket-extensions (0.1.5)
205-
zeitwerk (2.6.7)
205+
zeitwerk (2.6.8)
206206

207207
PLATFORMS
208208
ruby

test/mounted_app/test/dummy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"devDependencies": {
55
"ci": "^2.0.0",
66
"ni": "^0.0.2",
7-
"vite": "^4.2.0",
7+
"vite": "^4.3.0",
88
"vite-plugin-ruby": "^3.2.0"
99
}
1010
}

test/mounted_app/test/dummy/yarn.lock

Lines changed: 22 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,6 @@ fsevents@~2.3.2:
340340
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
341341
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
342342

343-
function-bind@^1.1.1:
344-
version "1.1.1"
345-
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
346-
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
347-
348343
glob-parent@^5.1.2:
349344
version "5.1.2"
350345
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
@@ -360,13 +355,6 @@ glob@~3.2.1:
360355
inherits "2"
361356
minimatch "0.3"
362357

363-
has@^1.0.3:
364-
version "1.0.3"
365-
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
366-
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
367-
dependencies:
368-
function-bind "^1.1.1"
369-
370358
headless@~0.1.3:
371359
version "0.1.7"
372360
resolved "https://registry.yarnpkg.com/headless/-/headless-0.1.7.tgz#6e62fae668947f88184d5c156ede7c5695a7e9c8"
@@ -382,13 +370,6 @@ ini@~1.1.0:
382370
resolved "https://registry.yarnpkg.com/ini/-/ini-1.1.0.tgz#4e808c2ce144c6c1788918e034d6797bc6cf6281"
383371
integrity sha1-ToCMLOFExsF4iRjgNNZ5e8bPYoE=
384372

385-
is-core-module@^2.9.0:
386-
version "2.9.0"
387-
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69"
388-
integrity sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==
389-
dependencies:
390-
has "^1.0.3"
391-
392373
is-extglob@^2.1.1:
393374
version "2.1.1"
394375
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
@@ -500,10 +481,10 @@ nan@~1.0.0:
500481
resolved "https://registry.yarnpkg.com/nan/-/nan-1.0.0.tgz#ae24f8850818d662fcab5acf7f3b95bfaa2ccf38"
501482
integrity sha1-riT4hQgY1mL8q1rPfzuVv6oszzg=
502483

503-
nanoid@^3.3.4:
504-
version "3.3.4"
505-
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
506-
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
484+
nanoid@^3.3.6:
485+
version "3.3.6"
486+
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c"
487+
integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==
507488

508489
509490
version "0.3.0"
@@ -537,11 +518,6 @@ options@>=0.0.5:
537518
resolved "https://registry.yarnpkg.com/options/-/options-0.0.6.tgz#ec22d312806bb53e731773e7cdaefcf1c643128f"
538519
integrity sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=
539520

540-
path-parse@^1.0.7:
541-
version "1.0.7"
542-
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
543-
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
544-
545521
546522
version "0.0.1"
547523
resolved "https://registry.yarnpkg.com/pause/-/pause-0.0.1.tgz#1d408b3fdb76923b9543d96fb4c9dfd535d9cb5d"
@@ -569,12 +545,12 @@ [email protected]:
569545
resolved "https://registry.yarnpkg.com/policyfile/-/policyfile-0.0.4.tgz#d6b82ead98ae79ebe228e2daf5903311ec982e4d"
570546
integrity sha1-1rgurZiueeviKOLa9ZAzEeyYLk0=
571547

572-
postcss@^8.4.21:
573-
version "8.4.21"
574-
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.21.tgz#c639b719a57efc3187b13a1d765675485f4134f4"
575-
integrity sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==
548+
postcss@^8.4.23:
549+
version "8.4.23"
550+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.23.tgz#df0aee9ac7c5e53e1075c24a3613496f9e6552ab"
551+
integrity sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==
576552
dependencies:
577-
nanoid "^3.3.4"
553+
nanoid "^3.3.6"
578554
picocolors "^1.0.0"
579555
source-map-js "^1.0.2"
580556

@@ -624,24 +600,15 @@ [email protected]:
624600
resolved "https://registry.yarnpkg.com/redis/-/redis-0.7.3.tgz#ee57b7a44d25ec1594e44365d8165fa7d1d4811a"
625601
integrity sha1-7le3pE0l7BWU5ENl2BZfp9HUgRo=
626602

627-
resolve@^1.22.1:
628-
version "1.22.1"
629-
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177"
630-
integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==
631-
dependencies:
632-
is-core-module "^2.9.0"
633-
path-parse "^1.0.7"
634-
supports-preserve-symlinks-flag "^1.0.0"
635-
636603
reusify@^1.0.4:
637604
version "1.0.4"
638605
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
639606
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
640607

641-
rollup@^3.18.0:
642-
version "3.19.1"
643-
resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.19.1.tgz#2b3a31ac1ff9f3afab2e523fa687fef5b0ee20fc"
644-
integrity sha512-lAbrdN7neYCg/8WaoWn/ckzCtz+jr70GFfYdlf50OF7387HTg+wiuiqJRFYawwSPpqfqDNYqK7smY/ks2iAudg==
608+
rollup@^3.21.0:
609+
version "3.21.0"
610+
resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.21.0.tgz#0a71517db56e150222670f88e5e7acfa4fede7c8"
611+
integrity sha512-ANPhVcyeHvYdQMUyCbczy33nbLzI7RzrBje4uvNiTDJGIMtlKoOStmympwr9OtS1LZxiDmE2wvxHyVhoLtf1KQ==
645612
optionalDependencies:
646613
fsevents "~2.3.2"
647614

@@ -717,11 +684,6 @@ strong-data-uri@~0.1.0:
717684
dependencies:
718685
truncate "~1.0.2"
719686

720-
supports-preserve-symlinks-flag@^1.0.0:
721-
version "1.0.0"
722-
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
723-
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
724-
725687
726688
version "0.0.1"
727689
resolved "https://registry.yarnpkg.com/tinycolor/-/tinycolor-0.0.1.tgz#320b5a52d83abb5978d81a3e887d4aefb15a6164"
@@ -750,22 +712,21 @@ [email protected]:
750712
integrity sha1-SDEm4Rd03y9xuLY53NeZw3YWK4I=
751713

752714
vite-plugin-ruby@^3.2.0:
753-
version "3.2.0"
754-
resolved "https://registry.yarnpkg.com/vite-plugin-ruby/-/vite-plugin-ruby-3.2.0.tgz#623d7aaedb97d81fb86731f78bc218fb32ca0003"
755-
integrity sha512-FUCDpH2q+LtyYseeRFTAd08xxREbbBSzXKBvWXOrbF0PhJZ8D2ov2ipeb+rL80Hu44rWmDh8JxpcYFrKDY6o2A==
715+
version "3.2.1"
716+
resolved "https://registry.yarnpkg.com/vite-plugin-ruby/-/vite-plugin-ruby-3.2.1.tgz#fe2e2572c450a74d9342d64d183985f32583c0ce"
717+
integrity sha512-GBSplgICiQb/pweEZzXtWrJhvOo33ljE7taAVbxDOXCbm4X3w0mFUmowxFf4I7oePtLPIZRU8N+JHCcBYzNIng==
756718
dependencies:
757719
debug "^4.3.4"
758720
fast-glob "^3.2.12"
759721

760-
vite@^4.2.0:
761-
version "4.2.0"
762-
resolved "https://registry.yarnpkg.com/vite/-/vite-4.2.0.tgz#d4e6eafbc034f3faf0ab376bd5b76ac15775eb99"
763-
integrity sha512-AbDTyzzwuKoRtMIRLGNxhLRuv1FpRgdIw+1y6AQG73Q5+vtecmvzKo/yk8X/vrHDpETRTx01ABijqUHIzBXi0g==
722+
vite@^4.3.0:
723+
version "4.3.3"
724+
resolved "https://registry.yarnpkg.com/vite/-/vite-4.3.3.tgz#26adb4aa01439fc4546c480ea547674d87289396"
725+
integrity sha512-MwFlLBO4udZXd+VBcezo3u8mC77YQk+ik+fbc0GZWGgzfbPP+8Kf0fldhARqvSYmtIWoAJ5BXPClUbMTlqFxrA==
764726
dependencies:
765727
esbuild "^0.17.5"
766-
postcss "^8.4.21"
767-
resolve "^1.22.1"
768-
rollup "^3.18.0"
728+
postcss "^8.4.23"
729+
rollup "^3.21.0"
769730
optionalDependencies:
770731
fsevents "~2.3.2"
771732

vite_ruby/lib/vite_ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ class ViteRuby
44
VERSION = '3.3.0'
55

66
# Internal: Versions used by default when running `vite install`.
7-
DEFAULT_VITE_VERSION = '^4.2.0'
7+
DEFAULT_VITE_VERSION = '^4.3.0'
88
DEFAULT_PLUGIN_VERSION = '^3.2.0'
99
end

0 commit comments

Comments
 (0)