alchemrest 3.2.3 → 3.4.0
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 +4 -4
- data/Appraisals +12 -0
- data/Gemfile.lock +33 -33
- data/alchemrest.gemspec +1 -1
- data/gemfiles/faraday_2.gemfile.lock +4 -4
- data/gemfiles/faraday_2_rails_8_1.gemfile +9 -0
- data/gemfiles/faraday_2_rails_8_1.gemfile.lock +365 -0
- data/gemfiles/rails_7_2.gemfile.lock +4 -4
- data/gemfiles/rails_8_0.gemfile.lock +4 -4
- data/gemfiles/rails_8_1.gemfile +9 -0
- data/gemfiles/rails_8_1.gemfile.lock +387 -0
- data/lib/alchemrest/request_definition.rb +1 -1
- data/lib/alchemrest/version.rb +1 -1
- data/lib/tapioca/dsl/compilers/alchemrest_root.rb +79 -7
- data/sorbet/rbi/gems/{actionpack@8.0.4.1.rbi → actionpack@8.1.4.1.rbi} +2356 -1884
- data/sorbet/rbi/gems/{actionview@8.0.4.1.rbi → actionview@8.1.4.1.rbi} +1197 -989
- data/sorbet/rbi/gems/{activemodel@8.0.4.1.rbi → activemodel@8.1.4.1.rbi} +416 -274
- data/sorbet/rbi/gems/{activesupport@8.0.4.1.rbi → activesupport@8.1.4.1.rbi} +1677 -1153
- data/sorbet/rbi/gems/{crass@1.0.6.rbi → crass@1.0.7.rbi} +63 -57
- data/sorbet/rbi/gems/json@2.19.9.rbi +335 -0
- data/sorbet/rbi/gems/{loofah@2.24.0.rbi → loofah@2.25.3.rbi} +127 -83
- data/sorbet/rbi/gems/{nokogiri@1.19.4.rbi → nokogiri@1.19.7.rbi} +249 -212
- data/sorbet/rbi/gems/{rack@3.1.21.rbi → rack@3.1.23.rbi} +86 -83
- data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.2.rbi → rails-html-sanitizer@1.7.2.rbi} +122 -110
- data/sorbet/rbi/gems/{railties@8.0.4.1.rbi → railties@8.1.4.1.rbi} +449 -328
- data/sorbet/rbi/gems/{yard@0.9.42.rbi → yard@0.9.44.rbi} +246 -195
- data/sorbet/rbi/shims/json.rbi +5 -0
- metadata +29 -21
- data/sorbet/rbi/gems/json@2.9.1.rbi +0 -282
|
@@ -8,58 +8,58 @@
|
|
|
8
8
|
# source://loofah//lib/loofah.rb#5
|
|
9
9
|
module Loofah
|
|
10
10
|
class << self
|
|
11
|
-
# source://loofah//lib/loofah.rb#
|
|
11
|
+
# source://loofah//lib/loofah.rb#70
|
|
12
12
|
def document(*args, &block); end
|
|
13
13
|
|
|
14
|
-
# source://loofah//lib/loofah.rb#
|
|
14
|
+
# source://loofah//lib/loofah.rb#77
|
|
15
15
|
def fragment(*args, &block); end
|
|
16
16
|
|
|
17
|
-
# source://loofah//lib/loofah.rb#
|
|
17
|
+
# source://loofah//lib/loofah.rb#70
|
|
18
18
|
def html4_document(*args, &block); end
|
|
19
19
|
|
|
20
|
-
# source://loofah//lib/loofah.rb#
|
|
20
|
+
# source://loofah//lib/loofah.rb#77
|
|
21
21
|
def html4_fragment(*args, &block); end
|
|
22
22
|
|
|
23
|
-
# source://loofah//lib/loofah.rb#
|
|
23
|
+
# source://loofah//lib/loofah.rb#95
|
|
24
24
|
def html5_document(*args, &block); end
|
|
25
25
|
|
|
26
|
-
# source://loofah//lib/loofah.rb#
|
|
26
|
+
# source://loofah//lib/loofah.rb#102
|
|
27
27
|
def html5_fragment(*args, &block); end
|
|
28
28
|
|
|
29
29
|
# source://loofah//lib/loofah.rb#7
|
|
30
30
|
def html5_support?; end
|
|
31
31
|
|
|
32
|
-
# source://loofah//lib/loofah.rb#
|
|
32
|
+
# source://loofah//lib/loofah.rb#163
|
|
33
33
|
def remove_extraneous_whitespace(string); end
|
|
34
34
|
|
|
35
|
-
# source://loofah//lib/loofah.rb#
|
|
35
|
+
# source://loofah//lib/loofah.rb#82
|
|
36
36
|
def scrub_document(string_or_io, method); end
|
|
37
37
|
|
|
38
|
-
# source://loofah//lib/loofah.rb#
|
|
38
|
+
# source://loofah//lib/loofah.rb#87
|
|
39
39
|
def scrub_fragment(string_or_io, method); end
|
|
40
40
|
|
|
41
|
-
# source://loofah//lib/loofah.rb#
|
|
41
|
+
# source://loofah//lib/loofah.rb#82
|
|
42
42
|
def scrub_html4_document(string_or_io, method); end
|
|
43
43
|
|
|
44
|
-
# source://loofah//lib/loofah.rb#
|
|
44
|
+
# source://loofah//lib/loofah.rb#87
|
|
45
45
|
def scrub_html4_fragment(string_or_io, method); end
|
|
46
46
|
|
|
47
|
-
# source://loofah//lib/loofah.rb#
|
|
47
|
+
# source://loofah//lib/loofah.rb#107
|
|
48
48
|
def scrub_html5_document(string_or_io, method); end
|
|
49
49
|
|
|
50
|
-
# source://loofah//lib/loofah.rb#
|
|
50
|
+
# source://loofah//lib/loofah.rb#112
|
|
51
51
|
def scrub_html5_fragment(string_or_io, method); end
|
|
52
52
|
|
|
53
|
-
# source://loofah//lib/loofah.rb#
|
|
53
|
+
# source://loofah//lib/loofah.rb#158
|
|
54
54
|
def scrub_xml_document(string_or_io, method); end
|
|
55
55
|
|
|
56
|
-
# source://loofah//lib/loofah.rb#
|
|
56
|
+
# source://loofah//lib/loofah.rb#153
|
|
57
57
|
def scrub_xml_fragment(string_or_io, method); end
|
|
58
58
|
|
|
59
|
-
# source://loofah//lib/loofah.rb#
|
|
59
|
+
# source://loofah//lib/loofah.rb#141
|
|
60
60
|
def xml_document(*args, &block); end
|
|
61
61
|
|
|
62
|
-
# source://loofah//lib/loofah.rb#
|
|
62
|
+
# source://loofah//lib/loofah.rb#148
|
|
63
63
|
def xml_fragment(*args, &block); end
|
|
64
64
|
end
|
|
65
65
|
end
|
|
@@ -94,7 +94,7 @@ Loofah::Elements::STRICT_BLOCK_LEVEL_HTML4 = T.let(T.unsafe(nil), Set)
|
|
|
94
94
|
# source://loofah//lib/loofah/elements.rb#35
|
|
95
95
|
Loofah::Elements::STRICT_BLOCK_LEVEL_HTML5 = T.let(T.unsafe(nil), Set)
|
|
96
96
|
|
|
97
|
-
# source://loofah//lib/loofah.rb#
|
|
97
|
+
# source://loofah//lib/loofah.rb#64
|
|
98
98
|
Loofah::HTML = Loofah::HTML4
|
|
99
99
|
|
|
100
100
|
# source://loofah//lib/loofah/html4/document.rb#4
|
|
@@ -141,58 +141,58 @@ module Loofah::HTML5::SafeList; end
|
|
|
141
141
|
# source://loofah//lib/loofah/html5/safelist.rb#232
|
|
142
142
|
Loofah::HTML5::SafeList::ACCEPTABLE_ATTRIBUTES = T.let(T.unsafe(nil), Set)
|
|
143
143
|
|
|
144
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
144
|
+
# source://loofah//lib/loofah/html5/safelist.rb#744
|
|
145
145
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_COLORS = T.let(T.unsafe(nil), Set)
|
|
146
146
|
|
|
147
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
147
|
+
# source://loofah//lib/loofah/html5/safelist.rb#764
|
|
148
148
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_EXTENDED_COLORS = T.let(T.unsafe(nil), Set)
|
|
149
149
|
|
|
150
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
150
|
+
# source://loofah//lib/loofah/html5/safelist.rb#916
|
|
151
151
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_FUNCTIONS = T.let(T.unsafe(nil), Set)
|
|
152
152
|
|
|
153
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
153
|
+
# source://loofah//lib/loofah/html5/safelist.rb#705
|
|
154
154
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_KEYWORDS = T.let(T.unsafe(nil), Set)
|
|
155
155
|
|
|
156
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
156
|
+
# source://loofah//lib/loofah/html5/safelist.rb#632
|
|
157
157
|
Loofah::HTML5::SafeList::ACCEPTABLE_CSS_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
158
158
|
|
|
159
159
|
# source://loofah//lib/loofah/html5/safelist.rb#50
|
|
160
160
|
Loofah::HTML5::SafeList::ACCEPTABLE_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
161
161
|
|
|
162
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
162
|
+
# source://loofah//lib/loofah/html5/safelist.rb#989
|
|
163
163
|
Loofah::HTML5::SafeList::ACCEPTABLE_PROTOCOLS = T.let(T.unsafe(nil), Set)
|
|
164
164
|
|
|
165
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
165
|
+
# source://loofah//lib/loofah/html5/safelist.rb#976
|
|
166
166
|
Loofah::HTML5::SafeList::ACCEPTABLE_SVG_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
167
167
|
|
|
168
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
168
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1019
|
|
169
169
|
Loofah::HTML5::SafeList::ACCEPTABLE_URI_DATA_MEDIATYPES = T.let(T.unsafe(nil), Set)
|
|
170
170
|
|
|
171
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
171
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1029
|
|
172
172
|
Loofah::HTML5::SafeList::ALLOWED_ATTRIBUTES = T.let(T.unsafe(nil), Set)
|
|
173
173
|
|
|
174
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
174
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1032
|
|
175
175
|
Loofah::HTML5::SafeList::ALLOWED_CSS_FUNCTIONS = T.let(T.unsafe(nil), Set)
|
|
176
176
|
|
|
177
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
177
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1031
|
|
178
178
|
Loofah::HTML5::SafeList::ALLOWED_CSS_KEYWORDS = T.let(T.unsafe(nil), Set)
|
|
179
179
|
|
|
180
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
180
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1030
|
|
181
181
|
Loofah::HTML5::SafeList::ALLOWED_CSS_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
182
182
|
|
|
183
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
183
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1028
|
|
184
184
|
Loofah::HTML5::SafeList::ALLOWED_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
185
185
|
|
|
186
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
186
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1053
|
|
187
187
|
Loofah::HTML5::SafeList::ALLOWED_ELEMENTS_WITH_LIBXML2 = T.let(T.unsafe(nil), Set)
|
|
188
188
|
|
|
189
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
189
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1034
|
|
190
190
|
Loofah::HTML5::SafeList::ALLOWED_PROTOCOLS = T.let(T.unsafe(nil), Set)
|
|
191
191
|
|
|
192
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
192
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1033
|
|
193
193
|
Loofah::HTML5::SafeList::ALLOWED_SVG_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
194
194
|
|
|
195
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
195
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1035
|
|
196
196
|
Loofah::HTML5::SafeList::ALLOWED_URI_DATA_MEDIATYPES = T.let(T.unsafe(nil), Set)
|
|
197
197
|
|
|
198
198
|
# source://loofah//lib/loofah/html5/safelist.rb#526
|
|
@@ -207,13 +207,13 @@ Loofah::HTML5::SafeList::MATHML_ATTRIBUTES = T.let(T.unsafe(nil), Set)
|
|
|
207
207
|
# source://loofah//lib/loofah/html5/safelist.rb#147
|
|
208
208
|
Loofah::HTML5::SafeList::MATHML_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
209
209
|
|
|
210
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
210
|
+
# source://loofah//lib/loofah/html5/safelist.rb#987
|
|
211
211
|
Loofah::HTML5::SafeList::PROTOCOL_SEPARATOR = T.let(T.unsafe(nil), Regexp)
|
|
212
212
|
|
|
213
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
213
|
+
# source://loofah//lib/loofah/html5/safelist.rb#969
|
|
214
214
|
Loofah::HTML5::SafeList::SHORTHAND_CSS_PROPERTIES = T.let(T.unsafe(nil), Set)
|
|
215
215
|
|
|
216
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
216
|
+
# source://loofah//lib/loofah/html5/safelist.rb#613
|
|
217
217
|
Loofah::HTML5::SafeList::SVG_ALLOW_LOCAL_HREF = T.let(T.unsafe(nil), Set)
|
|
218
218
|
|
|
219
219
|
# source://loofah//lib/loofah/html5/safelist.rb#367
|
|
@@ -225,69 +225,113 @@ Loofah::HTML5::SafeList::SVG_ATTR_VAL_ALLOWS_REF = T.let(T.unsafe(nil), Set)
|
|
|
225
225
|
# source://loofah//lib/loofah/html5/safelist.rb#183
|
|
226
226
|
Loofah::HTML5::SafeList::SVG_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
227
227
|
|
|
228
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
228
|
+
# source://loofah//lib/loofah/html5/safelist.rb#608
|
|
229
|
+
Loofah::HTML5::SafeList::SVG_HREF_ATTRIBUTES = T.let(T.unsafe(nil), Set)
|
|
230
|
+
|
|
231
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1048
|
|
229
232
|
Loofah::HTML5::SafeList::TAGS_SAFE_WITH_LIBXML2 = T.let(T.unsafe(nil), Set)
|
|
230
233
|
|
|
231
|
-
# source://loofah//lib/loofah/html5/safelist.rb#
|
|
234
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1039
|
|
232
235
|
Loofah::HTML5::SafeList::VOID_ELEMENTS = T.let(T.unsafe(nil), Set)
|
|
233
236
|
|
|
234
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
237
|
+
# source://loofah//lib/loofah/html5/scrub.rb#9
|
|
235
238
|
module Loofah::HTML5::Scrub
|
|
236
239
|
class << self
|
|
237
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
240
|
+
# source://loofah//lib/loofah/html5/scrub.rb#66
|
|
238
241
|
def allowed_element?(element_name); end
|
|
239
242
|
|
|
240
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
243
|
+
# source://loofah//lib/loofah/html5/scrub.rb#230
|
|
244
|
+
def allowed_uri?(uri_string); end
|
|
245
|
+
|
|
246
|
+
# source://loofah//lib/loofah/html5/scrub.rb#325
|
|
241
247
|
def cdata_escape(node); end
|
|
242
248
|
|
|
243
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
249
|
+
# source://loofah//lib/loofah/html5/scrub.rb#320
|
|
244
250
|
def cdata_needs_escaping?(node); end
|
|
245
251
|
|
|
246
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
252
|
+
# source://loofah//lib/loofah/html5/scrub.rb#194
|
|
253
|
+
def css_property_unsafe?(node); end
|
|
254
|
+
|
|
255
|
+
# source://loofah//lib/loofah/html5/scrub.rb#265
|
|
256
|
+
def decode_numeric_character_references(string); end
|
|
257
|
+
|
|
258
|
+
# source://loofah//lib/loofah/html5/scrub.rb#340
|
|
247
259
|
def escape_tags(string); end
|
|
248
260
|
|
|
249
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
261
|
+
# source://loofah//lib/loofah/html5/scrub.rb#299
|
|
250
262
|
def force_correct_attribute_escaping!(node); end
|
|
251
263
|
|
|
252
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
264
|
+
# source://loofah//lib/loofah/html5/scrub.rb#99
|
|
265
|
+
def prefixed_attribute_name(attr_node); end
|
|
266
|
+
|
|
267
|
+
# source://loofah//lib/loofah/html5/scrub.rb#209
|
|
253
268
|
def scrub_attribute_that_allows_local_ref(attr_node); end
|
|
254
269
|
|
|
255
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
270
|
+
# source://loofah//lib/loofah/html5/scrub.rb#110
|
|
271
|
+
def scrub_attribute_value(node, attr_node, attr_name = T.unsafe(nil)); end
|
|
272
|
+
|
|
273
|
+
# source://loofah//lib/loofah/html5/scrub.rb#71
|
|
256
274
|
def scrub_attributes(node); end
|
|
257
275
|
|
|
258
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
276
|
+
# source://loofah//lib/loofah/html5/scrub.rb#136
|
|
259
277
|
def scrub_css(style); end
|
|
260
278
|
|
|
261
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
279
|
+
# source://loofah//lib/loofah/html5/scrub.rb#131
|
|
262
280
|
def scrub_css_attribute(node); end
|
|
263
281
|
|
|
264
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
282
|
+
# source://loofah//lib/loofah/html5/scrub.rb#285
|
|
265
283
|
def scrub_uri_attribute(attr_node); end
|
|
284
|
+
|
|
285
|
+
private
|
|
286
|
+
|
|
287
|
+
# source://loofah//lib/loofah/html5/scrub.rb#366
|
|
288
|
+
def data_uri_mediatype(uri_string); end
|
|
266
289
|
end
|
|
267
290
|
end
|
|
268
291
|
|
|
269
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
292
|
+
# source://loofah//lib/loofah/html5/scrub.rb#10
|
|
270
293
|
Loofah::HTML5::Scrub::CONTROL_CHARACTERS = T.let(T.unsafe(nil), Regexp)
|
|
271
294
|
|
|
272
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
295
|
+
# source://loofah//lib/loofah/html5/scrub.rb#12
|
|
273
296
|
Loofah::HTML5::Scrub::CRASS_SEMICOLON = T.let(T.unsafe(nil), Hash)
|
|
274
297
|
|
|
275
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
298
|
+
# source://loofah//lib/loofah/html5/scrub.rb#13
|
|
276
299
|
Loofah::HTML5::Scrub::CSS_IMPORTANT = T.let(T.unsafe(nil), String)
|
|
277
300
|
|
|
278
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
301
|
+
# source://loofah//lib/loofah/html5/scrub.rb#11
|
|
279
302
|
Loofah::HTML5::Scrub::CSS_KEYWORDISH = T.let(T.unsafe(nil), Regexp)
|
|
280
303
|
|
|
281
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
304
|
+
# source://loofah//lib/loofah/html5/scrub.rb#15
|
|
282
305
|
Loofah::HTML5::Scrub::CSS_PROPERTY_STRING_WITHOUT_EMBEDDED_QUOTES = T.let(T.unsafe(nil), Regexp)
|
|
283
306
|
|
|
284
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
307
|
+
# source://loofah//lib/loofah/html5/scrub.rb#16
|
|
308
|
+
Loofah::HTML5::Scrub::CSS_URLISH_NODES = T.let(T.unsafe(nil), Array)
|
|
309
|
+
|
|
310
|
+
# source://loofah//lib/loofah/html5/scrub.rb#14
|
|
285
311
|
Loofah::HTML5::Scrub::CSS_WHITESPACE = T.let(T.unsafe(nil), String)
|
|
286
312
|
|
|
287
|
-
# source://loofah//lib/loofah/html5/scrub.rb#
|
|
313
|
+
# source://loofah//lib/loofah/html5/scrub.rb#17
|
|
288
314
|
Loofah::HTML5::Scrub::DATA_ATTRIBUTE_NAME = T.let(T.unsafe(nil), Regexp)
|
|
289
315
|
|
|
290
|
-
# source://loofah//lib/loofah/html5/
|
|
316
|
+
# source://loofah//lib/loofah/html5/scrub.rb#44
|
|
317
|
+
Loofah::HTML5::Scrub::DATA_URI_MEDIATYPE = T.let(T.unsafe(nil), Regexp)
|
|
318
|
+
|
|
319
|
+
# source://loofah//lib/loofah/html5/scrub.rb#63
|
|
320
|
+
Loofah::HTML5::Scrub::DELIMITER_CHARACTER_REFERENCE = T.let(T.unsafe(nil), Regexp)
|
|
321
|
+
|
|
322
|
+
# source://loofah//lib/loofah/html5/scrub.rb#62
|
|
323
|
+
Loofah::HTML5::Scrub::DELIMITER_CHARACTER_REFERENCES = T.let(T.unsafe(nil), Hash)
|
|
324
|
+
|
|
325
|
+
# source://loofah//lib/loofah/html5/scrub.rb#21
|
|
326
|
+
Loofah::HTML5::Scrub::NUMERIC_CHARACTER_REFERENCE = T.let(T.unsafe(nil), Regexp)
|
|
327
|
+
|
|
328
|
+
# source://loofah//lib/loofah/html5/scrub.rb#27
|
|
329
|
+
Loofah::HTML5::Scrub::URI_PROTOCOL_REGEX = T.let(T.unsafe(nil), Regexp)
|
|
330
|
+
|
|
331
|
+
# source://loofah//lib/loofah/html5/scrub.rb#54
|
|
332
|
+
Loofah::HTML5::Scrub::WHITESPACE_CHARACTER_REFERENCES = T.let(T.unsafe(nil), Regexp)
|
|
333
|
+
|
|
334
|
+
# source://loofah//lib/loofah/html5/safelist.rb#1056
|
|
291
335
|
Loofah::HTML5::WhiteList = Loofah::HTML5::SafeList
|
|
292
336
|
|
|
293
337
|
# source://loofah//lib/loofah/concerns.rb#133
|
|
@@ -423,22 +467,22 @@ class Loofah::ScrubberNotFound < ::RuntimeError; end
|
|
|
423
467
|
# source://loofah//lib/loofah/scrubbers.rb#104
|
|
424
468
|
module Loofah::Scrubbers
|
|
425
469
|
class << self
|
|
426
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
470
|
+
# source://loofah//lib/loofah/scrubbers.rb#426
|
|
427
471
|
def scrubber_symbols; end
|
|
428
472
|
end
|
|
429
473
|
end
|
|
430
474
|
|
|
431
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
475
|
+
# source://loofah//lib/loofah/scrubbers.rb#366
|
|
432
476
|
class Loofah::Scrubbers::DoubleBreakpoint < ::Loofah::Scrubber
|
|
433
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
477
|
+
# source://loofah//lib/loofah/scrubbers.rb#367
|
|
434
478
|
def initialize; end
|
|
435
479
|
|
|
436
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
480
|
+
# source://loofah//lib/loofah/scrubbers.rb#372
|
|
437
481
|
def scrub(node); end
|
|
438
482
|
|
|
439
483
|
private
|
|
440
484
|
|
|
441
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
485
|
+
# source://loofah//lib/loofah/scrubbers.rb#401
|
|
442
486
|
def remove_blank_text_nodes(node); end
|
|
443
487
|
end
|
|
444
488
|
|
|
@@ -451,42 +495,42 @@ class Loofah::Scrubbers::Escape < ::Loofah::Scrubber
|
|
|
451
495
|
def scrub(node); end
|
|
452
496
|
end
|
|
453
497
|
|
|
454
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
498
|
+
# source://loofah//lib/loofah/scrubbers.rb#408
|
|
455
499
|
Loofah::Scrubbers::MAP = T.let(T.unsafe(nil), Hash)
|
|
456
500
|
|
|
457
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
501
|
+
# source://loofah//lib/loofah/scrubbers.rb#311
|
|
458
502
|
class Loofah::Scrubbers::NewlineBlockElements < ::Loofah::Scrubber
|
|
459
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
503
|
+
# source://loofah//lib/loofah/scrubbers.rb#312
|
|
460
504
|
def initialize; end
|
|
461
505
|
|
|
462
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
506
|
+
# source://loofah//lib/loofah/scrubbers.rb#316
|
|
463
507
|
def scrub(node); end
|
|
464
508
|
end
|
|
465
509
|
|
|
466
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
510
|
+
# source://loofah//lib/loofah/scrubbers.rb#224
|
|
467
511
|
class Loofah::Scrubbers::NoFollow < ::Loofah::Scrubber
|
|
468
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
512
|
+
# source://loofah//lib/loofah/scrubbers.rb#225
|
|
469
513
|
def initialize; end
|
|
470
514
|
|
|
471
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
515
|
+
# source://loofah//lib/loofah/scrubbers.rb#229
|
|
472
516
|
def scrub(node); end
|
|
473
517
|
end
|
|
474
518
|
|
|
475
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
519
|
+
# source://loofah//lib/loofah/scrubbers.rb#275
|
|
476
520
|
class Loofah::Scrubbers::NoOpener < ::Loofah::Scrubber
|
|
477
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
521
|
+
# source://loofah//lib/loofah/scrubbers.rb#276
|
|
478
522
|
def initialize; end
|
|
479
523
|
|
|
480
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
524
|
+
# source://loofah//lib/loofah/scrubbers.rb#280
|
|
481
525
|
def scrub(node); end
|
|
482
526
|
end
|
|
483
527
|
|
|
484
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
528
|
+
# source://loofah//lib/loofah/scrubbers.rb#297
|
|
485
529
|
class Loofah::Scrubbers::NoReferrer < ::Loofah::Scrubber
|
|
486
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
530
|
+
# source://loofah//lib/loofah/scrubbers.rb#298
|
|
487
531
|
def initialize; end
|
|
488
532
|
|
|
489
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
533
|
+
# source://loofah//lib/loofah/scrubbers.rb#302
|
|
490
534
|
def scrub(node); end
|
|
491
535
|
end
|
|
492
536
|
|
|
@@ -508,21 +552,21 @@ class Loofah::Scrubbers::Strip < ::Loofah::Scrubber
|
|
|
508
552
|
def scrub(node); end
|
|
509
553
|
end
|
|
510
554
|
|
|
511
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
555
|
+
# source://loofah//lib/loofah/scrubbers.rb#250
|
|
512
556
|
class Loofah::Scrubbers::TargetBlank < ::Loofah::Scrubber
|
|
513
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
557
|
+
# source://loofah//lib/loofah/scrubbers.rb#251
|
|
514
558
|
def initialize; end
|
|
515
559
|
|
|
516
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
560
|
+
# source://loofah//lib/loofah/scrubbers.rb#255
|
|
517
561
|
def scrub(node); end
|
|
518
562
|
end
|
|
519
563
|
|
|
520
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
564
|
+
# source://loofah//lib/loofah/scrubbers.rb#344
|
|
521
565
|
class Loofah::Scrubbers::Unprintable < ::Loofah::Scrubber
|
|
522
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
566
|
+
# source://loofah//lib/loofah/scrubbers.rb#345
|
|
523
567
|
def initialize; end
|
|
524
568
|
|
|
525
|
-
# source://loofah//lib/loofah/scrubbers.rb#
|
|
569
|
+
# source://loofah//lib/loofah/scrubbers.rb#349
|
|
526
570
|
def scrub(node); end
|
|
527
571
|
end
|
|
528
572
|
|