stimulus_reflex 3.5.2 → 3.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a9a5b356c268a3d40c93c3fba2ea7b2eda8be364ebe60de7ca8c4142bbdecbc
4
- data.tar.gz: 28fed91305d65d9b27e8ca887542f242c413168e9554f968ab351dbc2fc49edd
3
+ metadata.gz: f416f48e3b847fe581185068a449279a07f41dbf681a4e4a0a9ac1ffe7be3f63
4
+ data.tar.gz: 6292e00d9e9c6b9d2f9b9aeb275c020c87c673a659e041e685b5f6ad6acec234
5
5
  SHA512:
6
- metadata.gz: d04da9c1ed3472caf667408d2119b81e2a6fdaa4678db9754536141dc8c51d35206b397e1a540f78b511e2336909b3449b33680cef6d3b6e77fa00ded22ecdc7
7
- data.tar.gz: b2349d34257ec55c63edeb43e41607516f4992c14a5565152d1364e19f74cbaae80a915f62e64c6aa0b2f1dc957c40d45e386e2e79de0006b915cb861d4e600d
6
+ metadata.gz: c50ba14f346b50dc50d1df74821d0e48fe2b39a403b82478351b12e4cb2f0b3c541ce70707c6c2b718be64ba3435fcd8d1af27bb26809c81b6f26d72942fe1c0
7
+ data.tar.gz: 996bc6321eab53ba8f297567c75f79d6457c69147ff5040fbc36850c9baec1306c29603bc7141505287661902417c5ecbffb8981c1644795a50241a90f05dfb2
data/Gemfile.lock CHANGED
@@ -1,107 +1,129 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stimulus_reflex (3.5.2)
5
- actioncable (>= 5.2, < 8)
6
- actionpack (>= 5.2, < 8)
7
- actionview (>= 5.2, < 8)
8
- activesupport (>= 5.2, < 8)
4
+ stimulus_reflex (3.5.4)
5
+ actioncable (>= 5.2)
6
+ actionpack (>= 5.2)
7
+ actionview (>= 5.2)
8
+ activesupport (>= 5.2)
9
9
  cable_ready (~> 5.0)
10
10
  nokogiri (~> 1.0)
11
11
  nokogiri-html5-inference (~> 0.3)
12
+ ostruct (~> 0.6)
12
13
  rack (>= 2, < 4)
13
- railties (>= 5.2, < 8)
14
+ railties (>= 5.2)
14
15
  redis (>= 4.0, < 6.0)
15
16
 
16
17
  GEM
17
18
  remote: https://rubygems.org/
18
19
  specs:
19
- actioncable (7.0.4.2)
20
- actionpack (= 7.0.4.2)
21
- activesupport (= 7.0.4.2)
20
+ actioncable (7.1.5.1)
21
+ actionpack (= 7.1.5.1)
22
+ activesupport (= 7.1.5.1)
22
23
  nio4r (~> 2.0)
23
24
  websocket-driver (>= 0.6.1)
24
- actionmailbox (7.0.4.2)
25
- actionpack (= 7.0.4.2)
26
- activejob (= 7.0.4.2)
27
- activerecord (= 7.0.4.2)
28
- activestorage (= 7.0.4.2)
29
- activesupport (= 7.0.4.2)
25
+ zeitwerk (~> 2.6)
26
+ actionmailbox (7.1.5.1)
27
+ actionpack (= 7.1.5.1)
28
+ activejob (= 7.1.5.1)
29
+ activerecord (= 7.1.5.1)
30
+ activestorage (= 7.1.5.1)
31
+ activesupport (= 7.1.5.1)
30
32
  mail (>= 2.7.1)
31
33
  net-imap
32
34
  net-pop
33
35
  net-smtp
34
- actionmailer (7.0.4.2)
35
- actionpack (= 7.0.4.2)
36
- actionview (= 7.0.4.2)
37
- activejob (= 7.0.4.2)
38
- activesupport (= 7.0.4.2)
36
+ actionmailer (7.1.5.1)
37
+ actionpack (= 7.1.5.1)
38
+ actionview (= 7.1.5.1)
39
+ activejob (= 7.1.5.1)
40
+ activesupport (= 7.1.5.1)
39
41
  mail (~> 2.5, >= 2.5.4)
40
42
  net-imap
41
43
  net-pop
42
44
  net-smtp
43
- rails-dom-testing (~> 2.0)
44
- actionpack (7.0.4.2)
45
- actionview (= 7.0.4.2)
46
- activesupport (= 7.0.4.2)
47
- rack (~> 2.0, >= 2.2.0)
45
+ rails-dom-testing (~> 2.2)
46
+ actionpack (7.1.5.1)
47
+ actionview (= 7.1.5.1)
48
+ activesupport (= 7.1.5.1)
49
+ nokogiri (>= 1.8.5)
50
+ racc
51
+ rack (>= 2.2.4)
52
+ rack-session (>= 1.0.1)
48
53
  rack-test (>= 0.6.3)
49
- rails-dom-testing (~> 2.0)
50
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
51
- actiontext (7.0.4.2)
52
- actionpack (= 7.0.4.2)
53
- activerecord (= 7.0.4.2)
54
- activestorage (= 7.0.4.2)
55
- activesupport (= 7.0.4.2)
54
+ rails-dom-testing (~> 2.2)
55
+ rails-html-sanitizer (~> 1.6)
56
+ actiontext (7.1.5.1)
57
+ actionpack (= 7.1.5.1)
58
+ activerecord (= 7.1.5.1)
59
+ activestorage (= 7.1.5.1)
60
+ activesupport (= 7.1.5.1)
56
61
  globalid (>= 0.6.0)
57
62
  nokogiri (>= 1.8.5)
58
- actionview (7.0.4.2)
59
- activesupport (= 7.0.4.2)
63
+ actionview (7.1.5.1)
64
+ activesupport (= 7.1.5.1)
60
65
  builder (~> 3.1)
61
- erubi (~> 1.4)
62
- rails-dom-testing (~> 2.0)
63
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
64
- activejob (7.0.4.2)
65
- activesupport (= 7.0.4.2)
66
+ erubi (~> 1.11)
67
+ rails-dom-testing (~> 2.2)
68
+ rails-html-sanitizer (~> 1.6)
69
+ activejob (7.1.5.1)
70
+ activesupport (= 7.1.5.1)
66
71
  globalid (>= 0.3.6)
67
- activemodel (7.0.4.2)
68
- activesupport (= 7.0.4.2)
69
- activerecord (7.0.4.2)
70
- activemodel (= 7.0.4.2)
71
- activesupport (= 7.0.4.2)
72
- activestorage (7.0.4.2)
73
- actionpack (= 7.0.4.2)
74
- activejob (= 7.0.4.2)
75
- activerecord (= 7.0.4.2)
76
- activesupport (= 7.0.4.2)
72
+ activemodel (7.1.5.1)
73
+ activesupport (= 7.1.5.1)
74
+ activerecord (7.1.5.1)
75
+ activemodel (= 7.1.5.1)
76
+ activesupport (= 7.1.5.1)
77
+ timeout (>= 0.4.0)
78
+ activestorage (7.1.5.1)
79
+ actionpack (= 7.1.5.1)
80
+ activejob (= 7.1.5.1)
81
+ activerecord (= 7.1.5.1)
82
+ activesupport (= 7.1.5.1)
77
83
  marcel (~> 1.0)
78
- mini_mime (>= 1.1.0)
79
- activesupport (7.0.4.2)
84
+ activesupport (7.1.5.1)
85
+ base64
86
+ benchmark (>= 0.3)
87
+ bigdecimal
80
88
  concurrent-ruby (~> 1.0, >= 1.0.2)
89
+ connection_pool (>= 2.2.5)
90
+ drb
81
91
  i18n (>= 1.6, < 2)
92
+ logger (>= 1.4.2)
82
93
  minitest (>= 5.1)
94
+ mutex_m
95
+ securerandom (>= 0.3)
83
96
  tzinfo (~> 2.0)
84
97
  ast (2.4.2)
85
- builder (3.2.4)
86
- cable_ready (5.0.5)
98
+ base64 (0.2.0)
99
+ benchmark (0.4.0)
100
+ bigdecimal (3.1.8)
101
+ builder (3.3.0)
102
+ cable_ready (5.0.6)
87
103
  actionpack (>= 5.2)
88
104
  actionview (>= 5.2)
89
105
  activesupport (>= 5.2)
90
106
  observer (~> 0.1)
91
107
  railties (>= 5.2)
92
108
  thread-local (>= 1.1.0)
93
- concurrent-ruby (1.2.3)
94
- connection_pool (2.4.0)
109
+ concurrent-ruby (1.3.4)
110
+ connection_pool (2.4.1)
95
111
  crass (1.0.6)
96
- date (3.3.3)
97
- erubi (1.12.0)
98
- globalid (1.1.0)
99
- activesupport (>= 5.0)
100
- i18n (1.14.5)
112
+ date (3.3.4)
113
+ drb (2.2.1)
114
+ erubi (1.13.0)
115
+ globalid (1.2.1)
116
+ activesupport (>= 6.1)
117
+ i18n (1.14.6)
101
118
  concurrent-ruby (~> 1.0)
119
+ io-console (0.7.2)
120
+ irb (1.14.0)
121
+ rdoc (>= 4.0.0)
122
+ reline (>= 0.4.2)
102
123
  json (2.6.3)
103
124
  language_server-protocol (3.17.0.3)
104
- loofah (2.22.0)
125
+ logger (1.6.2)
126
+ loofah (2.23.1)
105
127
  crass (~> 1.0.2)
106
128
  nokogiri (>= 1.12.0)
107
129
  magic_frozen_string_literal (1.2.0)
@@ -110,72 +132,86 @@ GEM
110
132
  net-imap
111
133
  net-pop
112
134
  net-smtp
113
- marcel (1.0.2)
114
- method_source (1.1.0)
115
- mini_mime (1.1.2)
135
+ marcel (1.0.4)
136
+ mini_mime (1.1.5)
116
137
  minitest (5.18.1)
117
138
  mocha (1.13.0)
118
- net-imap (0.3.4)
139
+ mutex_m (0.3.0)
140
+ net-imap (0.4.17)
119
141
  date
120
142
  net-protocol
121
143
  net-pop (0.1.2)
122
144
  net-protocol
123
- net-protocol (0.2.1)
145
+ net-protocol (0.2.2)
124
146
  timeout
125
- net-smtp (0.3.3)
147
+ net-smtp (0.5.0)
126
148
  net-protocol
127
- nio4r (2.5.8)
128
- nokogiri (1.16.5-x86_64-darwin)
149
+ nio4r (2.7.3)
150
+ nokogiri (1.17.2-arm64-darwin)
151
+ racc (~> 1.4)
152
+ nokogiri (1.17.2-x86_64-darwin)
129
153
  racc (~> 1.4)
130
- nokogiri (1.16.5-x86_64-linux)
154
+ nokogiri (1.17.2-x86_64-linux)
131
155
  racc (~> 1.4)
132
156
  nokogiri-html5-inference (0.3.0)
133
157
  nokogiri (~> 1.14)
134
158
  observer (0.1.2)
159
+ ostruct (0.6.1)
135
160
  parallel (1.22.1)
136
161
  parser (3.2.1.0)
137
162
  ast (~> 2.4.1)
138
- racc (1.7.3)
139
- rack (2.2.9)
163
+ psych (5.1.2)
164
+ stringio
165
+ racc (1.8.1)
166
+ rack (3.1.8)
167
+ rack-session (2.0.0)
168
+ rack (>= 3.0.0)
140
169
  rack-test (2.1.0)
141
170
  rack (>= 1.3)
142
- rails (7.0.4.2)
143
- actioncable (= 7.0.4.2)
144
- actionmailbox (= 7.0.4.2)
145
- actionmailer (= 7.0.4.2)
146
- actionpack (= 7.0.4.2)
147
- actiontext (= 7.0.4.2)
148
- actionview (= 7.0.4.2)
149
- activejob (= 7.0.4.2)
150
- activemodel (= 7.0.4.2)
151
- activerecord (= 7.0.4.2)
152
- activestorage (= 7.0.4.2)
153
- activesupport (= 7.0.4.2)
171
+ rackup (2.1.0)
172
+ rack (>= 3)
173
+ webrick (~> 1.8)
174
+ rails (7.1.5.1)
175
+ actioncable (= 7.1.5.1)
176
+ actionmailbox (= 7.1.5.1)
177
+ actionmailer (= 7.1.5.1)
178
+ actionpack (= 7.1.5.1)
179
+ actiontext (= 7.1.5.1)
180
+ actionview (= 7.1.5.1)
181
+ activejob (= 7.1.5.1)
182
+ activemodel (= 7.1.5.1)
183
+ activerecord (= 7.1.5.1)
184
+ activestorage (= 7.1.5.1)
185
+ activesupport (= 7.1.5.1)
154
186
  bundler (>= 1.15.0)
155
- railties (= 7.0.4.2)
187
+ railties (= 7.1.5.1)
156
188
  rails-dom-testing (2.2.0)
157
189
  activesupport (>= 5.0.0)
158
190
  minitest
159
191
  nokogiri (>= 1.6)
160
- rails-html-sanitizer (1.6.0)
192
+ rails-html-sanitizer (1.6.2)
161
193
  loofah (~> 2.21)
162
- nokogiri (~> 1.14)
163
- railties (7.0.4.2)
164
- actionpack (= 7.0.4.2)
165
- activesupport (= 7.0.4.2)
166
- method_source
194
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
195
+ railties (7.1.5.1)
196
+ actionpack (= 7.1.5.1)
197
+ activesupport (= 7.1.5.1)
198
+ irb
199
+ rackup (>= 1.0.0)
167
200
  rake (>= 12.2)
168
- thor (~> 1.0)
169
- zeitwerk (~> 2.5)
201
+ thor (~> 1.0, >= 1.2.2)
202
+ zeitwerk (~> 2.6)
170
203
  rainbow (3.1.1)
171
204
  rake (13.2.1)
205
+ rdoc (6.7.0)
206
+ psych (>= 4.0.0)
172
207
  redis (5.0.6)
173
208
  redis-client (>= 0.9.0)
174
209
  redis-client (0.14.0)
175
210
  connection_pool
176
211
  regexp_parser (2.7.0)
177
- rexml (3.2.8)
178
- strscan (>= 3.0.9)
212
+ reline (0.5.10)
213
+ io-console (~> 0.5)
214
+ rexml (3.3.9)
179
215
  rubocop (1.44.1)
180
216
  json (~> 2.3)
181
217
  parallel (~> 1.10)
@@ -192,23 +228,27 @@ GEM
192
228
  rubocop (>= 1.7.0, < 2.0)
193
229
  rubocop-ast (>= 0.4.0)
194
230
  ruby-progressbar (1.11.0)
231
+ securerandom (0.3.2)
195
232
  standard (1.24.3)
196
233
  language_server-protocol (~> 3.17.0.2)
197
234
  rubocop (= 1.44.1)
198
235
  rubocop-performance (= 1.15.2)
199
- strscan (3.1.0)
200
- thor (1.3.1)
236
+ stringio (3.1.1)
237
+ thor (1.3.2)
201
238
  thread-local (1.1.0)
202
- timeout (0.3.2)
239
+ timeout (0.4.1)
203
240
  tzinfo (2.0.6)
204
241
  concurrent-ruby (~> 1.0)
205
242
  unicode-display_width (2.4.2)
206
- websocket-driver (0.7.5)
243
+ webrick (1.8.2)
244
+ websocket-driver (0.7.6)
207
245
  websocket-extensions (>= 0.1.0)
208
246
  websocket-extensions (0.1.5)
209
- zeitwerk (2.6.13)
247
+ zeitwerk (2.6.18)
210
248
 
211
249
  PLATFORMS
250
+ arm64-darwin-23
251
+ arm64-darwin-24
212
252
  x86_64-darwin-19
213
253
  x86_64-darwin-22
214
254
  x86_64-darwin-23
@@ -219,7 +259,7 @@ DEPENDENCIES
219
259
  magic_frozen_string_literal (~> 1.2)
220
260
  minitest (= 5.18.1)
221
261
  mocha (~> 1.13)
222
- rails (>= 5.2, < 8)
262
+ rails (>= 5.2)
223
263
  rake (~> 13.0)
224
264
  standard (~> 1.24)
225
265
  stimulus_reflex!
@@ -945,7 +945,7 @@ const extractDataAttributes = element => {
945
945
 
946
946
  var name = "stimulus_reflex";
947
947
 
948
- var version = "3.5.2";
948
+ var version = "3.5.3";
949
949
 
950
950
  var description = "Build reactive applications with the Rails tooling you already know and love.";
951
951
 
@@ -994,20 +994,20 @@ var peerDependencies = {
994
994
 
995
995
  var dependencies = {
996
996
  "@hotwired/stimulus": "^3",
997
- "@rails/actioncable": "^6 || ^7",
998
- cable_ready: "^5.0.5"
997
+ "@rails/actioncable": "^6 || ^7 || ^8",
998
+ cable_ready: "^5.0.6"
999
999
  };
1000
1000
 
1001
1001
  var devDependencies = {
1002
- "@open-wc/testing": "^3.1.7",
1003
- "@rollup/plugin-json": "^6.0.0",
1004
- "@rollup/plugin-node-resolve": "^15.0.1",
1005
- "@rollup/plugin-terser": "^0.4.0",
1006
- "@web/dev-server-esbuild": "^0.3.3",
1007
- "@web/dev-server-rollup": "^0.3.21",
1008
- "@web/test-runner": "^0.15.1",
1002
+ "@open-wc/testing": "^4.0.0",
1003
+ "@rollup/plugin-json": "^6.1.0",
1004
+ "@rollup/plugin-node-resolve": "^15.3.0",
1005
+ "@rollup/plugin-terser": "^0.4.4",
1006
+ "@web/dev-server-esbuild": "^1.0.2",
1007
+ "@web/dev-server-rollup": "^0.6.4",
1008
+ "@web/test-runner": "^0.19.0",
1009
1009
  "prettier-standard": "^16.4.1",
1010
- rollup: "^3.19.1",
1010
+ rollup: "^4.22.4",
1011
1011
  "toastify-js": "^1.12.0",
1012
1012
  vitepress: "^1.0.0-beta.1"
1013
1013
  };
@@ -869,7 +869,7 @@
869
869
  return attrs;
870
870
  };
871
871
  var name = "stimulus_reflex";
872
- var version = "3.5.2";
872
+ var version = "3.5.3";
873
873
  var description = "Build reactive applications with the Rails tooling you already know and love.";
874
874
  var keywords = [ "ruby", "rails", "websockets", "actioncable", "turbolinks", "reactive", "cable", "ujs", "ssr", "stimulus", "reflex", "stimulus_reflex", "dom", "morphdom" ];
875
875
  var homepage = "https://docs.stimulusreflex.com";
@@ -901,19 +901,19 @@
901
901
  };
902
902
  var dependencies = {
903
903
  "@hotwired/stimulus": "^3",
904
- "@rails/actioncable": "^6 || ^7",
905
- cable_ready: "^5.0.5"
904
+ "@rails/actioncable": "^6 || ^7 || ^8",
905
+ cable_ready: "^5.0.6"
906
906
  };
907
907
  var devDependencies = {
908
- "@open-wc/testing": "^3.1.7",
909
- "@rollup/plugin-json": "^6.0.0",
910
- "@rollup/plugin-node-resolve": "^15.0.1",
911
- "@rollup/plugin-terser": "^0.4.0",
912
- "@web/dev-server-esbuild": "^0.3.3",
913
- "@web/dev-server-rollup": "^0.3.21",
914
- "@web/test-runner": "^0.15.1",
908
+ "@open-wc/testing": "^4.0.0",
909
+ "@rollup/plugin-json": "^6.1.0",
910
+ "@rollup/plugin-node-resolve": "^15.3.0",
911
+ "@rollup/plugin-terser": "^0.4.4",
912
+ "@web/dev-server-esbuild": "^1.0.2",
913
+ "@web/dev-server-rollup": "^0.6.4",
914
+ "@web/test-runner": "^0.19.0",
915
915
  "prettier-standard": "^16.4.1",
916
- rollup: "^3.19.1",
916
+ rollup: "^4.22.4",
917
917
  "toastify-js": "^1.12.0",
918
918
  vitepress: "^1.0.0-beta.1"
919
919
  };
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StimulusReflex
4
- VERSION = "3.5.2"
4
+ VERSION = "3.5.4"
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stimulus_reflex",
3
- "version": "3.5.2",
3
+ "version": "3.5.3",
4
4
  "description": "Build reactive applications with the Rails tooling you already know and love.",
5
5
  "keywords": [
6
6
  "ruby",
@@ -56,19 +56,19 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@hotwired/stimulus": "^3",
59
- "@rails/actioncable": "^6 || ^7",
60
- "cable_ready": "^5.0.5"
59
+ "@rails/actioncable": "^6 || ^7 || ^8",
60
+ "cable_ready": "^5.0.6"
61
61
  },
62
62
  "devDependencies": {
63
- "@open-wc/testing": "^3.1.7",
64
- "@rollup/plugin-json": "^6.0.0",
65
- "@rollup/plugin-node-resolve": "^15.0.1",
66
- "@rollup/plugin-terser": "^0.4.0",
67
- "@web/dev-server-esbuild": "^0.3.3",
68
- "@web/dev-server-rollup": "^0.3.21",
69
- "@web/test-runner": "^0.15.1",
63
+ "@open-wc/testing": "^4.0.0",
64
+ "@rollup/plugin-json": "^6.1.0",
65
+ "@rollup/plugin-node-resolve": "^15.3.0",
66
+ "@rollup/plugin-terser": "^0.4.4",
67
+ "@web/dev-server-esbuild": "^1.0.2",
68
+ "@web/dev-server-rollup": "^0.6.4",
69
+ "@web/test-runner": "^0.19.0",
70
70
  "prettier-standard": "^16.4.1",
71
- "rollup": "^3.19.1",
71
+ "rollup": "^4.22.4",
72
72
  "toastify-js": "^1.12.0",
73
73
  "vitepress": "^1.0.0-beta.1"
74
74
  }
data/package.json~ ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "stimulus_reflex",
3
+ "version": "3.5.3",
4
+ "description": "Build reactive applications with the Rails tooling you already know and love.",
5
+ "keywords": [
6
+ "ruby",
7
+ "rails",
8
+ "websockets",
9
+ "actioncable",
10
+ "turbolinks",
11
+ "reactive",
12
+ "cable",
13
+ "ujs",
14
+ "ssr",
15
+ "stimulus",
16
+ "reflex",
17
+ "stimulus_reflex",
18
+ "dom",
19
+ "morphdom"
20
+ ],
21
+ "homepage": "https://docs.stimulusreflex.com",
22
+ "bugs": "https://github.com/stimulusreflex/stimulus_reflex/issues",
23
+ "repository": "https://github.com/stimulusreflex/stimulus_reflex",
24
+ "license": "MIT",
25
+ "author": "Nathan Hopkins <natehop@gmail.com>",
26
+ "contributors": [
27
+ "Andrew Mason <andrewmcodes@protonmail.com>",
28
+ "Julian Rubisch <julian@julianrubisch.at>",
29
+ "Marco Roth <marco.roth@intergga.ch>",
30
+ "Nathan Hopkins <natehop@gmail.com>"
31
+ ],
32
+ "main": "./dist/stimulus_reflex.js",
33
+ "module": "./dist/stimulus_reflex.js",
34
+ "browser": "./dist/stimulus_reflex.js",
35
+ "import": "./dist/stimulus_reflex.js",
36
+ "unpkg": "./dist/stimulus_reflex.umd.js",
37
+ "umd": "./dist/stimulus_reflex.umd.js",
38
+ "files": [
39
+ "dist/*",
40
+ "javascript/*"
41
+ ],
42
+ "scripts": {
43
+ "lint": "yarn run format --check",
44
+ "format": "yarn run prettier-standard ./javascript/**/*.js rollup.config.mjs",
45
+ "build": "yarn rollup -c",
46
+ "build:watch": "yarn rollup -wc",
47
+ "watch": "yarn build:watch",
48
+ "test": "web-test-runner javascript/test/**/*.test.js",
49
+ "test:watch": "yarn test --watch",
50
+ "docs:dev": "vitepress dev docs",
51
+ "docs:build": "vitepress build docs && cp docs/_redirects docs/.vitepress/dist",
52
+ "docs:preview": "vitepress preview docs"
53
+ },
54
+ "peerDependencies": {
55
+ "@hotwired/stimulus": ">= 3.0"
56
+ },
57
+ "dependencies": {
58
+ "@hotwired/stimulus": "^3",
59
+ "@rails/actioncable": "^6 || ^7",
60
+ "cable_ready": "^5.0.6"
61
+ },
62
+ "devDependencies": {
63
+ "@open-wc/testing": "^4.0.0",
64
+ "@rollup/plugin-json": "^6.1.0",
65
+ "@rollup/plugin-node-resolve": "^15.3.0",
66
+ "@rollup/plugin-terser": "^0.4.4",
67
+ "@web/dev-server-esbuild": "^1.0.2",
68
+ "@web/dev-server-rollup": "^0.6.4",
69
+ "@web/test-runner": "^0.19.0",
70
+ "prettier-standard": "^16.4.1",
71
+ "rollup": "^4.22.4",
72
+ "toastify-js": "^1.12.0",
73
+ "vitepress": "^1.0.0-beta.1"
74
+ }
75
+ }
@@ -39,23 +39,24 @@ Gem::Specification.new do |gem|
39
39
 
40
40
  gem.required_ruby_version = ">= 3.0.0"
41
41
 
42
- rails_version = [">= 5.2", "< 8"]
43
- gem.add_dependency "actioncable", *rails_version
44
- gem.add_dependency "actionpack", *rails_version
45
- gem.add_dependency "actionview", *rails_version
46
- gem.add_dependency "activesupport", *rails_version
47
- gem.add_dependency "railties", *rails_version
42
+ rails_version = ">= 5.2"
43
+ gem.add_dependency "actioncable", rails_version
44
+ gem.add_dependency "actionpack", rails_version
45
+ gem.add_dependency "actionview", rails_version
46
+ gem.add_dependency "activesupport", rails_version
47
+ gem.add_dependency "railties", rails_version
48
48
 
49
49
  gem.add_dependency "cable_ready", "~> 5.0"
50
50
  gem.add_dependency "nokogiri", "~> 1.0"
51
51
  gem.add_dependency "rack", ">= 2", "< 4"
52
52
  gem.add_dependency "redis", ">= 4.0", "< 6.0"
53
53
  gem.add_dependency "nokogiri-html5-inference", "~> 0.3"
54
+ gem.add_dependency "ostruct", "~> 0.6"
54
55
 
55
56
  gem.add_development_dependency "bundler", "~> 2.0"
56
57
  gem.add_development_dependency "magic_frozen_string_literal", "~> 1.2"
57
58
  gem.add_development_dependency "mocha", "~> 1.13"
58
- gem.add_development_dependency "rails", *rails_version
59
+ gem.add_development_dependency "rails", rails_version
59
60
  gem.add_development_dependency "rake", "~> 13.0"
60
61
  gem.add_development_dependency "standard", "~> 1.24"
61
62
  gem.add_development_dependency "minitest", "5.18.1"
@@ -3,8 +3,22 @@ import { fromRollup } from '@web/dev-server-rollup'
3
3
 
4
4
  const json = fromRollup(rollupJson)
5
5
 
6
+ const filteredLogs = [
7
+ 'Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information.'
8
+ ]
9
+
10
+ const filterBrowserLogs = (log) => {
11
+ for (const arg of log.args) {
12
+ if (typeof arg === 'string' && filteredLogs.some(l => arg.includes(l))) {
13
+ return false
14
+ }
15
+ }
16
+ return true
17
+ }
18
+
6
19
  export default {
7
20
  nodeResolve: true,
21
+ filterBrowserLogs,
8
22
  mimeTypes: {
9
23
  '**/*.json': 'js'
10
24
  },