turbo-rails 0.5.1 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -23
  3. data/app/assets/javascripts/turbo.js +272 -145
  4. data/app/helpers/turbo/frames_helper.rb +9 -4
  5. data/app/helpers/turbo/includes_helper.rb +2 -0
  6. data/app/helpers/turbo/streams/action_helper.rb +1 -1
  7. data/app/helpers/turbo/streams_helper.rb +25 -2
  8. data/app/javascript/turbo/cable_stream_source_element.js +1 -1
  9. data/app/javascript/turbo/index.js +6 -2
  10. data/app/models/concerns/turbo/broadcastable.rb +15 -11
  11. data/app/models/turbo/streams/tag_builder.rb +2 -2
  12. data/lib/install/turbo_with_asset_pipeline.rb +36 -0
  13. data/lib/install/turbo_with_webpacker.rb +23 -0
  14. data/lib/tasks/turbo_tasks.rake +19 -1
  15. data/lib/turbo/engine.rb +10 -1
  16. data/lib/turbo/version.rb +1 -1
  17. metadata +10 -175
  18. data/.github/workflows/ci.yml +0 -24
  19. data/.gitignore +0 -2
  20. data/Gemfile +0 -6
  21. data/Gemfile.lock +0 -147
  22. data/lib/install/turbo.rb +0 -11
  23. data/package.json +0 -45
  24. data/rollup.config.js +0 -23
  25. data/test/drive/drive_helper_test.rb +0 -8
  26. data/test/dummy/.babelrc +0 -18
  27. data/test/dummy/.gitignore +0 -3
  28. data/test/dummy/.postcssrc.yml +0 -3
  29. data/test/dummy/Rakefile +0 -6
  30. data/test/dummy/app/assets/config/manifest.js +0 -2
  31. data/test/dummy/app/assets/images/.keep +0 -0
  32. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  33. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -80
  34. data/test/dummy/app/channels/application_cable/channel.rb +0 -4
  35. data/test/dummy/app/channels/application_cable/connection.rb +0 -4
  36. data/test/dummy/app/controllers/application_controller.rb +0 -2
  37. data/test/dummy/app/controllers/concerns/.keep +0 -0
  38. data/test/dummy/app/controllers/messages_controller.rb +0 -12
  39. data/test/dummy/app/controllers/trays_controller.rb +0 -17
  40. data/test/dummy/app/helpers/application_helper.rb +0 -2
  41. data/test/dummy/app/javascript/packs/application.js +0 -0
  42. data/test/dummy/app/jobs/application_job.rb +0 -2
  43. data/test/dummy/app/mailboxes/application_mailbox.rb +0 -2
  44. data/test/dummy/app/mailboxes/messages_mailbox.rb +0 -4
  45. data/test/dummy/app/mailers/application_mailer.rb +0 -4
  46. data/test/dummy/app/models/application_record.rb +0 -3
  47. data/test/dummy/app/models/concerns/.keep +0 -0
  48. data/test/dummy/app/models/message.rb +0 -29
  49. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  50. data/test/dummy/app/views/layouts/mailer.html.erb +0 -13
  51. data/test/dummy/app/views/layouts/mailer.text.erb +0 -1
  52. data/test/dummy/app/views/messages/_message.html.erb +0 -1
  53. data/test/dummy/app/views/messages/_message.turbo_stream.erb +0 -1
  54. data/test/dummy/app/views/messages/show.turbo_stream.erb +0 -9
  55. data/test/dummy/app/views/trays/index.html.erb +0 -3
  56. data/test/dummy/app/views/trays/show.html.erb +0 -3
  57. data/test/dummy/bin/bundle +0 -3
  58. data/test/dummy/bin/rails +0 -4
  59. data/test/dummy/bin/rake +0 -4
  60. data/test/dummy/bin/setup +0 -36
  61. data/test/dummy/bin/update +0 -31
  62. data/test/dummy/bin/yarn +0 -11
  63. data/test/dummy/config.ru +0 -5
  64. data/test/dummy/config/application.rb +0 -22
  65. data/test/dummy/config/boot.rb +0 -5
  66. data/test/dummy/config/cable.yml +0 -10
  67. data/test/dummy/config/environment.rb +0 -5
  68. data/test/dummy/config/environments/development.rb +0 -34
  69. data/test/dummy/config/environments/production.rb +0 -96
  70. data/test/dummy/config/environments/test.rb +0 -38
  71. data/test/dummy/config/initializers/application_controller_renderer.rb +0 -8
  72. data/test/dummy/config/initializers/assets.rb +0 -14
  73. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  74. data/test/dummy/config/initializers/content_security_policy.rb +0 -22
  75. data/test/dummy/config/initializers/cookies_serializer.rb +0 -5
  76. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  77. data/test/dummy/config/initializers/inflections.rb +0 -16
  78. data/test/dummy/config/initializers/mime_types.rb +0 -4
  79. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  80. data/test/dummy/config/locales/en.yml +0 -33
  81. data/test/dummy/config/puma.rb +0 -34
  82. data/test/dummy/config/routes.rb +0 -4
  83. data/test/dummy/config/spring.rb +0 -6
  84. data/test/dummy/config/webpack/development.js +0 -3
  85. data/test/dummy/config/webpack/environment.js +0 -3
  86. data/test/dummy/config/webpack/production.js +0 -3
  87. data/test/dummy/config/webpack/test.js +0 -3
  88. data/test/dummy/config/webpacker.yml +0 -65
  89. data/test/dummy/lib/assets/.keep +0 -0
  90. data/test/dummy/log/.keep +0 -0
  91. data/test/dummy/public/404.html +0 -67
  92. data/test/dummy/public/422.html +0 -67
  93. data/test/dummy/public/500.html +0 -66
  94. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  95. data/test/dummy/public/apple-touch-icon.png +0 -0
  96. data/test/dummy/public/favicon.ico +0 -0
  97. data/test/frames/frame_request_controller_test.rb +0 -21
  98. data/test/frames/frames_helper_test.rb +0 -15
  99. data/test/native/navigation_controller_test.rb +0 -42
  100. data/test/streams/broadcastable_test.rb +0 -80
  101. data/test/streams/streams_channel_test.rb +0 -105
  102. data/test/streams/streams_controller_test.rb +0 -29
  103. data/test/turbo_test.rb +0 -10
  104. data/turbo-rails.gemspec +0 -16
  105. data/yarn.lock +0 -283
File without changes
File without changes
@@ -1,21 +0,0 @@
1
- require "turbo_test"
2
-
3
- class Turbo::FrameRequestControllerTest < ActionDispatch::IntegrationTest
4
- test "frame requests are rendered without a layout" do
5
- get tray_path(id: 1)
6
- assert_select "title", count: 1
7
-
8
- get tray_path(id: 1), headers: { "Turbo-Frame" => "true" }
9
- assert_select "title", count: 0
10
- end
11
-
12
- test "frame requests get a unique etag" do
13
- get tray_path(id: 1)
14
- etag_without_frame = @response.headers["ETag"]
15
-
16
- get tray_path(id: 1), headers: { "Turbo-Frame" => "true" }
17
- etag_with_frame = @response.headers["ETag"]
18
-
19
- assert_not_equal etag_with_frame, etag_without_frame
20
- end
21
- end
@@ -1,15 +0,0 @@
1
- require "turbo_test"
2
-
3
- class Turbo::FramesHelperTest < ActionView::TestCase
4
- test "frame with src" do
5
- assert_dom_equal %(<turbo-frame src="/trays/1" id="tray"></turbo-frame>), turbo_frame_tag("tray", src: "/trays/1")
6
- end
7
-
8
- test "frame with src and target" do
9
- assert_dom_equal %(<turbo-frame src="/trays/1" id="tray" target="_top"></turbo-frame>), turbo_frame_tag("tray", src: "/trays/1", target: "_top")
10
- end
11
-
12
- test "block style" do
13
- assert_dom_equal(%(<turbo-frame id="tray"><p>tray!</p></turbo-frame>), turbo_frame_tag("tray") { tag.p("tray!") })
14
- end
15
- end
@@ -1,42 +0,0 @@
1
- require "turbo_test"
2
-
3
- class Turbo::Native::NavigationControllerTest < ActionDispatch::IntegrationTest
4
- test "recede, resume, or refresh when native or redirect when not" do
5
- %w[ recede resume refresh ].each do |action|
6
- post trays_path, params: { return_to: "#{action}_or_redirect" }
7
- assert_redirected_to tray_path(id: 1)
8
-
9
- post trays_path, params: { return_to: "#{action}_or_redirect" }, headers: header_for_turbo_native_app
10
- assert_redirected_to send("turbo_#{action}_historical_location_url")
11
- end
12
- end
13
-
14
- test "recede, resume, or refresh when native or redirect back when not" do
15
- %w[ recede resume refresh ].each do |action|
16
- post trays_path, params: { return_to: "#{action}_or_redirect_back" }
17
- assert_redirected_to tray_path(id: 5)
18
-
19
- post trays_path, params: { return_to: "#{action}_or_redirect_back" }, headers: header_for_referer
20
- assert_redirected_to "/past_place"
21
-
22
- post trays_path, params: { return_to: "#{action}_or_redirect_back" }, headers: header_for_turbo_native_app.merge(header_for_referer)
23
- assert_redirected_to send("turbo_#{action}_historical_location_url")
24
- end
25
- end
26
-
27
- test "historical location url sends text/html" do
28
- get turbo_refresh_historical_location_url
29
-
30
- assert_response :ok
31
- assert_equal "text/html; charset=utf-8", response.content_type
32
- end
33
-
34
- private
35
- def header_for_turbo_native_app
36
- { "HTTP_USER_AGENT" => "MyApp iOS/3.0 Turbo Native (build 13; iPad Air 2); iOS 9.3" }
37
- end
38
-
39
- def header_for_referer
40
- { "HTTP_REFERER" => "/past_place" }
41
- end
42
- end
@@ -1,80 +0,0 @@
1
- require "turbo_test"
2
- require "action_cable"
3
-
4
- class Turbo::BroadcastableTest < ActionCable::Channel::TestCase
5
- include ActiveJob::TestHelper, Turbo::Streams::ActionHelper
6
-
7
- setup { @message = Message.new(record_id: 1, content: "Hello!") }
8
-
9
- test "broadcasting remove to stream now" do
10
- assert_broadcast_on "stream", turbo_stream_action_tag("remove", target: "message_1") do
11
- @message.broadcast_remove_to "stream"
12
- end
13
- end
14
-
15
- test "broadcasting remove now" do
16
- assert_broadcast_on @message.to_param, turbo_stream_action_tag("remove", target: "message_1") do
17
- @message.broadcast_remove
18
- end
19
- end
20
-
21
- test "broadcasting replace to stream now" do
22
- assert_broadcast_on "stream", turbo_stream_action_tag("replace", target: "message_1", template: "<p>Hello!</p>") do
23
- @message.broadcast_replace_to "stream"
24
- end
25
- end
26
-
27
- test "broadcasting replace now" do
28
- assert_broadcast_on @message.to_param, turbo_stream_action_tag("replace", target: "message_1", template: "<p>Hello!</p>") do
29
- @message.broadcast_replace
30
- end
31
- end
32
-
33
- test "broadcasting append to stream now" do
34
- assert_broadcast_on "stream", turbo_stream_action_tag("append", target: "messages", template: "<p>Hello!</p>") do
35
- @message.broadcast_append_to "stream"
36
- end
37
- end
38
-
39
- test "broadcasting append to stream with custom target now" do
40
- assert_broadcast_on "stream", turbo_stream_action_tag("append", target: "board_messages", template: "<p>Hello!</p>") do
41
- @message.broadcast_append_to "stream", target: "board_messages"
42
- end
43
- end
44
-
45
- test "broadcasting append now" do
46
- assert_broadcast_on @message.to_param, turbo_stream_action_tag("append", target: "messages", template: "<p>Hello!</p>") do
47
- @message.broadcast_append
48
- end
49
- end
50
-
51
- test "broadcasting prepend to stream now" do
52
- assert_broadcast_on "stream", turbo_stream_action_tag("prepend", target: "messages", template: "<p>Hello!</p>") do
53
- @message.broadcast_prepend_to "stream"
54
- end
55
- end
56
-
57
- test "broadcasting prepend to stream with custom target now" do
58
- assert_broadcast_on "stream", turbo_stream_action_tag("prepend", target: "board_messages", template: "<p>Hello!</p>") do
59
- @message.broadcast_prepend_to "stream", target: "board_messages"
60
- end
61
- end
62
-
63
- test "broadcasting prepend now" do
64
- assert_broadcast_on @message.to_param, turbo_stream_action_tag("prepend", target: "messages", template: "<p>Hello!</p>") do
65
- @message.broadcast_prepend
66
- end
67
- end
68
-
69
- test "broadcasting action to stream now" do
70
- assert_broadcast_on "stream", turbo_stream_action_tag("prepend", target: "messages", template: "<p>Hello!</p>") do
71
- @message.broadcast_action_to "stream", action: "prepend"
72
- end
73
- end
74
-
75
- test "broadcasting action now" do
76
- assert_broadcast_on @message.to_param, turbo_stream_action_tag("prepend", target: "messages", template: "<p>Hello!</p>") do
77
- @message.broadcast_action "prepend"
78
- end
79
- end
80
- end
@@ -1,105 +0,0 @@
1
- require "turbo_test"
2
- require "action_cable"
3
-
4
- class Turbo::StreamsChannelTest < ActionCable::Channel::TestCase
5
- include ActiveJob::TestHelper, Turbo::Streams::ActionHelper
6
-
7
- test "verified stream name" do
8
- assert_equal "stream", Turbo::StreamsChannel.verified_stream_name(Turbo::StreamsChannel.signed_stream_name("stream"))
9
- end
10
-
11
-
12
- test "broadcasting remove now" do
13
- assert_broadcast_on "stream", turbo_stream_action_tag("remove", target: "message_1") do
14
- Turbo::StreamsChannel.broadcast_remove_to "stream", target: "message_1"
15
- end
16
- end
17
-
18
- test "broadcasting remove now with record" do
19
- assert_broadcast_on "stream", turbo_stream_action_tag("remove", target: "message_1") do
20
- Turbo::StreamsChannel.broadcast_remove_to "stream", target: Message.new(record_id: 1, content: "hello!")
21
- end
22
- end
23
-
24
- test "broadcasting replace now" do
25
- assert_broadcast_on "stream", turbo_stream_action_tag("replace", target: "message_1", template: "<p>hello!</p>") do
26
- Turbo::StreamsChannel.broadcast_replace_to "stream", target: "message_1", partial: "messages/message", locals: { message: "hello!" }
27
- end
28
- end
29
-
30
- test "broadcasting append now" do
31
- assert_broadcast_on "stream", turbo_stream_action_tag("append", target: "messages", template: "<p>hello!</p>") do
32
- Turbo::StreamsChannel.broadcast_append_to "stream", target: "messages", partial: "messages/message", locals: { message: "hello!" }
33
- end
34
- end
35
-
36
- test "broadcasting prepend now" do
37
- assert_broadcast_on "stream", turbo_stream_action_tag("prepend", target: "messages", template: "<p>hello!</p>") do
38
- Turbo::StreamsChannel.broadcast_prepend_to "stream", target: "messages", partial: "messages/message", locals: { message: "hello!" }
39
- end
40
- end
41
-
42
- test "broadcasting action now" do
43
- assert_broadcast_on "stream", turbo_stream_action_tag("prepend", target: "messages", template: "<p>hello!</p>") do
44
- Turbo::StreamsChannel.broadcast_action_to "stream", action: "prepend", target: "messages", partial: "messages/message", locals: { message: "hello!" }
45
- end
46
- end
47
-
48
-
49
- test "broadcasting replace later" do
50
- assert_broadcast_on "stream", turbo_stream_action_tag("replace", target: "message_1", template: "<p>hello!</p>") do
51
- perform_enqueued_jobs do
52
- Turbo::StreamsChannel.broadcast_replace_later_to \
53
- "stream", target: "message_1", partial: "messages/message", locals: { message: "hello!" }
54
- end
55
- end
56
- end
57
-
58
- test "broadcasting append later" do
59
- assert_broadcast_on "stream", turbo_stream_action_tag("append", target: "messages", template: "<p>hello!</p>") do
60
- perform_enqueued_jobs do
61
- Turbo::StreamsChannel.broadcast_append_later_to \
62
- "stream", target: "messages", partial: "messages/message", locals: { message: "hello!" }
63
- end
64
- end
65
- end
66
-
67
- test "broadcasting prepend later" do
68
- assert_broadcast_on "stream", turbo_stream_action_tag("prepend", target: "messages", template: "<p>hello!</p>") do
69
- perform_enqueued_jobs do
70
- Turbo::StreamsChannel.broadcast_prepend_later_to \
71
- "stream", target: "messages", partial: "messages/message", locals: { message: "hello!" }
72
- end
73
- end
74
- end
75
-
76
- test "broadcasting action later" do
77
- assert_broadcast_on "stream", turbo_stream_action_tag("prepend", target: "messages", template: "<p>hello!</p>") do
78
- perform_enqueued_jobs do
79
- Turbo::StreamsChannel.broadcast_action_later_to \
80
- "stream", action: "prepend", target: "messages", partial: "messages/message", locals: { message: "hello!" }
81
- end
82
- end
83
- end
84
-
85
-
86
- test "broadcasting render now" do
87
- assert_broadcast_on "stream", turbo_stream_action_tag("replace", target: "message_1", template: "Goodbye!") do
88
- Turbo::StreamsChannel.broadcast_render_to "stream", partial: "messages/message"
89
- end
90
- end
91
-
92
- test "broadcasting render later" do
93
- assert_broadcast_on "stream", turbo_stream_action_tag("replace", target: "message_1", template: "Goodbye!") do
94
- perform_enqueued_jobs do
95
- Turbo::StreamsChannel.broadcast_render_later_to "stream", partial: "messages/message"
96
- end
97
- end
98
- end
99
-
100
- test "broadcasting update now" do
101
- assert_broadcast_on "stream", %(direct) do
102
- Turbo::StreamsChannel.broadcast_stream_to "stream", content: "direct"
103
- end
104
- end
105
- end
@@ -1,29 +0,0 @@
1
- require "turbo_test"
2
-
3
- class Turbo::StreamsControllerTest < ActionDispatch::IntegrationTest
4
- test "create with respond to" do
5
- post messages_path
6
- assert_redirected_to message_path(id: 1)
7
-
8
- post messages_path, as: :turbo_stream
9
- assert_response :ok
10
- assert_turbo_stream action: :append, target: "messages" do |selected|
11
- assert_equal "<template>message_1</template>", selected.children.to_html
12
- end
13
- end
14
-
15
- test "show all turbo actions" do
16
- get message_path(id: 1), as: :turbo_stream
17
- assert_equal <<-STREAM, @response.body
18
- <turbo-stream action="remove" target="message_1"></turbo-stream>
19
- <turbo-stream action="replace" target="message_1"><template><p>My message</p></template></turbo-stream>
20
- <turbo-stream action="replace" target="message_1"><template>Something else</template></turbo-stream>
21
- <turbo-stream action="replace" target="message_5"><template>Something fifth</template></turbo-stream>
22
- <turbo-stream action="replace" target="message_5"><template><p>OLLA!</p></template></turbo-stream>
23
- <turbo-stream action="append" target="messages"><template><p>My message</p></template></turbo-stream>
24
- <turbo-stream action="append" target="messages"><template><p>OLLA!</p></template></turbo-stream>
25
- <turbo-stream action="prepend" target="messages"><template><p>My message</p></template></turbo-stream>
26
- <turbo-stream action="prepend" target="messages"><template><p>OLLA!</p></template></turbo-stream>
27
- STREAM
28
- end
29
- end
@@ -1,10 +0,0 @@
1
- ENV["RAILS_ENV"] = "test"
2
-
3
- require "minitest/autorun"
4
- require "rails"
5
- require "rails/test_help"
6
- require "byebug"
7
-
8
- require_relative "dummy/config/environment"
9
-
10
- ActionCable.server.config.logger = Logger.new(STDOUT) if ENV["VERBOSE"]
@@ -1,16 +0,0 @@
1
- require_relative "lib/turbo/version"
2
-
3
- Gem::Specification.new do |s|
4
- s.name = "turbo-rails"
5
- s.version = Turbo::VERSION
6
- s.authors = [ "Sam Stephenson", "Javan Mahkmali", "David Heinemeier Hansson" ]
7
- s.email = "david@loudthinking.com"
8
- s.summary = "The speed of a single-page web application without having to write any JavaScript."
9
- s.homepage = "https://github.com/hotwired/turbo-rails"
10
- s.license = "MIT"
11
-
12
- s.add_dependency "rails", ">= 6.0.0"
13
-
14
- s.files = `git ls-files`.split("\n")
15
- s.test_files = `git ls-files -- test/*`.split("\n")
16
- end
data/yarn.lock DELETED
@@ -1,283 +0,0 @@
1
- # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
- # yarn lockfile v1
3
-
4
-
5
- "@babel/code-frame@^7.10.4":
6
- version "7.12.11"
7
- resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"
8
- integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==
9
- dependencies:
10
- "@babel/highlight" "^7.10.4"
11
-
12
- "@babel/helper-validator-identifier@^7.10.4":
13
- version "7.12.11"
14
- resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed"
15
- integrity sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==
16
-
17
- "@babel/highlight@^7.10.4":
18
- version "7.10.4"
19
- resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143"
20
- integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==
21
- dependencies:
22
- "@babel/helper-validator-identifier" "^7.10.4"
23
- chalk "^2.0.0"
24
- js-tokens "^4.0.0"
25
-
26
- "@hotwired/turbo@^7.0.0-beta.1":
27
- version "7.0.0-beta.1"
28
- resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-7.0.0-beta.1.tgz#0111db8a80a7bb308c4cfdd2720112d06bf25c33"
29
- integrity sha512-V7hhELbDkYUGaHw/Yw4tu9pDUT1WE4t3A7tRs7Zh0Uwtk2vaJnmykNZ2uq20BnLjofufA1+MLJZ6AXJ3B/Il5A==
30
-
31
- "@rails/actioncable@^6.1.0":
32
- version "6.1.0"
33
- resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-6.1.0.tgz#f336f25450b1bc43b99bc60557a70b6e6bb1d3d2"
34
- integrity sha512-eDgy+vcKN9RIzxmMBfSAe77rTj2cp6kJALiVQyKrW2O9EK2MdostOmP+99At/Dit3ur5+77NVnruxD7y14ZYFA==
35
-
36
- "@rollup/plugin-node-resolve@^11.0.1":
37
- version "11.0.1"
38
- resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.0.1.tgz#d3765eec4bccf960801439a999382aed2dca959b"
39
- integrity sha512-ltlsj/4Bhwwhb+Nb5xCz/6vieuEj2/BAkkqVIKmZwC7pIdl8srmgmglE4S0jFlZa32K4qvdQ6NHdmpRKD/LwoQ==
40
- dependencies:
41
- "@rollup/pluginutils" "^3.1.0"
42
- "@types/resolve" "1.17.1"
43
- builtin-modules "^3.1.0"
44
- deepmerge "^4.2.2"
45
- is-module "^1.0.0"
46
- resolve "^1.19.0"
47
-
48
- "@rollup/pluginutils@^3.1.0":
49
- version "3.1.0"
50
- resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b"
51
- integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==
52
- dependencies:
53
- "@types/estree" "0.0.39"
54
- estree-walker "^1.0.1"
55
- picomatch "^2.2.2"
56
-
57
- "@types/estree@0.0.39":
58
- version "0.0.39"
59
- resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
60
- integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
61
-
62
- "@types/node@*":
63
- version "14.14.14"
64
- resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.14.tgz#f7fd5f3cc8521301119f63910f0fb965c7d761ae"
65
- integrity sha512-UHnOPWVWV1z+VV8k6L1HhG7UbGBgIdghqF3l9Ny9ApPghbjICXkUJSd/b9gOgQfjM1r+37cipdw/HJ3F6ICEnQ==
66
-
67
- "@types/resolve@1.17.1":
68
- version "1.17.1"
69
- resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6"
70
- integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==
71
- dependencies:
72
- "@types/node" "*"
73
-
74
- ansi-styles@^3.2.1:
75
- version "3.2.1"
76
- resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
77
- integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
78
- dependencies:
79
- color-convert "^1.9.0"
80
-
81
- buffer-from@^1.0.0:
82
- version "1.1.1"
83
- resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
84
- integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
85
-
86
- builtin-modules@^3.1.0:
87
- version "3.1.0"
88
- resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484"
89
- integrity sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==
90
-
91
- chalk@^2.0.0:
92
- version "2.4.2"
93
- resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
94
- integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
95
- dependencies:
96
- ansi-styles "^3.2.1"
97
- escape-string-regexp "^1.0.5"
98
- supports-color "^5.3.0"
99
-
100
- color-convert@^1.9.0:
101
- version "1.9.3"
102
- resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
103
- integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
104
- dependencies:
105
- color-name "1.1.3"
106
-
107
- color-name@1.1.3:
108
- version "1.1.3"
109
- resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
110
- integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
111
-
112
- commander@^2.20.0:
113
- version "2.20.3"
114
- resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
115
- integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
116
-
117
- deepmerge@^4.2.2:
118
- version "4.2.2"
119
- resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955"
120
- integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==
121
-
122
- escape-string-regexp@^1.0.5:
123
- version "1.0.5"
124
- resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
125
- integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
126
-
127
- estree-walker@^1.0.1:
128
- version "1.0.1"
129
- resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700"
130
- integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==
131
-
132
- fsevents@~2.1.2:
133
- version "2.1.3"
134
- resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
135
- integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==
136
-
137
- function-bind@^1.1.1:
138
- version "1.1.1"
139
- resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
140
- integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
141
-
142
- has-flag@^3.0.0:
143
- version "3.0.0"
144
- resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
145
- integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
146
-
147
- has-flag@^4.0.0:
148
- version "4.0.0"
149
- resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
150
- integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
151
-
152
- has@^1.0.3:
153
- version "1.0.3"
154
- resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
155
- integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
156
- dependencies:
157
- function-bind "^1.1.1"
158
-
159
- is-core-module@^2.1.0:
160
- version "2.2.0"
161
- resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a"
162
- integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==
163
- dependencies:
164
- has "^1.0.3"
165
-
166
- is-module@^1.0.0:
167
- version "1.0.0"
168
- resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591"
169
- integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=
170
-
171
- jest-worker@^26.2.1:
172
- version "26.6.2"
173
- resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed"
174
- integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==
175
- dependencies:
176
- "@types/node" "*"
177
- merge-stream "^2.0.0"
178
- supports-color "^7.0.0"
179
-
180
- js-tokens@^4.0.0:
181
- version "4.0.0"
182
- resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
183
- integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
184
-
185
- merge-stream@^2.0.0:
186
- version "2.0.0"
187
- resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
188
- integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
189
-
190
- path-parse@^1.0.6:
191
- version "1.0.6"
192
- resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
193
- integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
194
-
195
- picomatch@^2.2.2:
196
- version "2.2.2"
197
- resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
198
- integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
199
-
200
- randombytes@^2.1.0:
201
- version "2.1.0"
202
- resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
203
- integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==
204
- dependencies:
205
- safe-buffer "^5.1.0"
206
-
207
- resolve@^1.19.0:
208
- version "1.19.0"
209
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c"
210
- integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==
211
- dependencies:
212
- is-core-module "^2.1.0"
213
- path-parse "^1.0.6"
214
-
215
- rollup-plugin-terser@^7.0.2:
216
- version "7.0.2"
217
- resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d"
218
- integrity sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==
219
- dependencies:
220
- "@babel/code-frame" "^7.10.4"
221
- jest-worker "^26.2.1"
222
- serialize-javascript "^4.0.0"
223
- terser "^5.0.0"
224
-
225
- rollup@^2.35.1:
226
- version "2.35.1"
227
- resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.35.1.tgz#e6bc8d10893556a638066f89e8c97f422d03968c"
228
- integrity sha512-q5KxEyWpprAIcainhVy6HfRttD9kutQpHbeqDTWnqAFNJotiojetK6uqmcydNMymBEtC4I8bCYR+J3mTMqeaUA==
229
- optionalDependencies:
230
- fsevents "~2.1.2"
231
-
232
- safe-buffer@^5.1.0:
233
- version "5.2.1"
234
- resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
235
- integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
236
-
237
- serialize-javascript@^4.0.0:
238
- version "4.0.0"
239
- resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa"
240
- integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==
241
- dependencies:
242
- randombytes "^2.1.0"
243
-
244
- source-map-support@~0.5.19:
245
- version "0.5.19"
246
- resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
247
- integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
248
- dependencies:
249
- buffer-from "^1.0.0"
250
- source-map "^0.6.0"
251
-
252
- source-map@^0.6.0:
253
- version "0.6.1"
254
- resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
255
- integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
256
-
257
- source-map@~0.7.2:
258
- version "0.7.3"
259
- resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
260
- integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
261
-
262
- supports-color@^5.3.0:
263
- version "5.5.0"
264
- resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
265
- integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
266
- dependencies:
267
- has-flag "^3.0.0"
268
-
269
- supports-color@^7.0.0:
270
- version "7.2.0"
271
- resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
272
- integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
273
- dependencies:
274
- has-flag "^4.0.0"
275
-
276
- terser@^5.0.0:
277
- version "5.5.1"
278
- resolved "https://registry.yarnpkg.com/terser/-/terser-5.5.1.tgz#540caa25139d6f496fdea056e414284886fb2289"
279
- integrity sha512-6VGWZNVP2KTUcltUQJ25TtNjx/XgdDsBDKGt8nN0MpydU36LmbPPcMBd2kmtZNNGVVDLg44k7GKeHHj+4zPIBQ==
280
- dependencies:
281
- commander "^2.20.0"
282
- source-map "~0.7.2"
283
- source-map-support "~0.5.19"