vite_plugin_legacy 3.0.0.beta.1 → 4.0.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7dd6f1d0354156f1823af94beea7e70ba1bb36da752762c85674a933a0f21ca0
4
- data.tar.gz: 17cf86d5ffe6b98952337eae99e6109c2c98b76960af3d91894d039924e48405
3
+ metadata.gz: 8a2b6232afcfab65d93d9b2cb63aba591e326ad7bcbe9678bb1c98601ab5e49b
4
+ data.tar.gz: c1f04be96d63aadf267ad2f4205df2270556aab2b961349457ba53f6d21ac4cf
5
5
  SHA512:
6
- metadata.gz: 5ef33684ef79f45e829610a0a26892cb5ac97e1380663470dc7871ca9ddd26a9981485cb19a9b61c03365b1b280b927abdde5200db583c5338ef237f8332ca45
7
- data.tar.gz: b58bb1687c54b5568a27e678f0405e4f96e555dd77efce945a843455a988b9fb987ff855cfd26ea6ea43d7f84c6258b5cbd61ef826dfb6da6e4ac27bf6adce9b
6
+ metadata.gz: 42211c049ba6934c6faa807d5fa9f9d23b3e8b593c0aa8ec0f096718f20535bcf4c922e8fc9231cbbf899eeeb1dd312c5ac90f6ef4dbe0a6412b1ee7308335c5
7
+ data.tar.gz: 62cad6dac36833cc05e8a62b9ebc29af3c7f387bfc445331b26f27e44d043c4b5f012b6d2dde688f35d03c37ff53807a53a4dd5d2f0599c66c6aff0018410cd9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ # [](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@3.0.2...vite_plugin_legacy@) (2022-01-18)
2
+
3
+
4
+
5
+ ## [3.0.2](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@3.0.1...vite_plugin_legacy@3.0.2) (2021-12-17)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * ensure vite_plugin_legacy is upgraded by the upgrade command ([2f9437d](https://github.com/ElMassimo/vite_ruby/commit/2f9437d248e27aa03b5b8a1df3e3d6a52c791cd1))
11
+
12
+
13
+
14
+ ## [3.0.1](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@3.0.0...vite_plugin_legacy@3.0.1) (2021-12-17)
15
+
16
+ - Support vite@2.7.0, which added a null character to the legacy polyfills entry name.
17
+
18
+ # [3.0.0](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@0.5.6...vite_plugin_legacy@3.0.0) (2021-08-16)
19
+
20
+ See https://github.com/ElMassimo/vite_ruby/pull/116 for features and breaking changes.
21
+
1
22
  ## [0.5.6](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@0.5.5...vite_plugin_legacy@0.5.6) (2021-07-19)
2
23
 
3
24
  ### Improvements
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'vite_plugin_legacy'
@@ -25,8 +25,6 @@ module VitePluginLegacy::TagHelpers
25
25
  def vite_legacy_polyfill_tag
26
26
  return if ViteRuby.instance.dev_server_running?
27
27
 
28
- name = vite_manifest.send(:manifest).keys.find { |file| file.include?('legacy-polyfills') } ||
29
- raise(ArgumentError, 'Vite legacy polyfill not found in manifest.json')
30
- content_tag(:script, nil, nomodule: true, src: vite_asset_path(name))
28
+ content_tag(:script, nil, nomodule: true, src: vite_asset_path('legacy-polyfills', type: :virtual))
31
29
  end
32
30
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VitePluginLegacy
4
- VERSION = '3.0.0.beta.1'
4
+ VERSION = '4.0.0.alpha1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_plugin_legacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta.1
4
+ version: 4.0.0.alpha1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-13 00:00:00.000000000 Z
11
+ date: 2022-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vite_ruby
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.beta.1
19
+ version: 4.0.0.alpha1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.beta.1
26
+ version: 4.0.0.alpha1
27
27
  description:
28
28
  email:
29
29
  - maximomussini@gmail.com
@@ -36,14 +36,15 @@ files:
36
36
  - README.md
37
37
  - lib/vite_plugin_legacy.rb
38
38
  - lib/vite_plugin_legacy/engine.rb
39
+ - lib/vite_plugin_legacy/installation.rb
39
40
  - lib/vite_plugin_legacy/tag_helpers.rb
40
41
  - lib/vite_plugin_legacy/version.rb
41
42
  homepage: https://github.com/ElMassimo/vite_ruby
42
43
  licenses:
43
44
  - MIT
44
45
  metadata:
45
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@3.0.0.beta.1/vite_plugin_legacy
46
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@3.0.0.beta.1/vite_plugin_legacy/CHANGELOG.md
46
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@4.0.0.alpha1/vite_plugin_legacy
47
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@4.0.0.alpha1/vite_plugin_legacy/CHANGELOG.md
47
48
  post_install_message:
48
49
  rdoc_options: []
49
50
  require_paths:
@@ -52,14 +53,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
53
  requirements:
53
54
  - - ">="
54
55
  - !ruby/object:Gem::Version
55
- version: '2.5'
56
+ version: '2.4'
56
57
  required_rubygems_version: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - ">"
59
60
  - !ruby/object:Gem::Version
60
61
  version: 1.3.1
61
62
  requirements: []
62
- rubygems_version: 3.1.4
63
+ rubygems_version: 3.2.32
63
64
  signing_key:
64
65
  specification_version: 4
65
66
  summary: Tag helpers for @vitejs/plugin-legacy to support legacy browsers