actiontext 6.1.7.7 → 6.1.7.9

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: 7098b4160a9f67ccadd80211bb458313f4c9ddeecb2200a73328770069c9f59b
4
- data.tar.gz: 3e7c793dbb364ece4b7506833a0994c6f919e970981d6989d5a279e8cb3ba7eb
3
+ metadata.gz: e242e4dbf0b95791c07ed12c9a78d566bcb5ff02829943a9126a282b81bce57b
4
+ data.tar.gz: 41c09d4735e64c21297c0607db082c5d1456b29da02a3558db1ea80499a51f3e
5
5
  SHA512:
6
- metadata.gz: 544006ae7215cffd14ffdba6f57969ae193f0d07b58e458e5cb33e066dcc7792b0b7ce7cd2936ac96141b0b9d71411531aa566a6b732b793445f3a49ed0e9f34
7
- data.tar.gz: b00d42a000a5414d9946a6250f284db1db0c230edb42dcf1d344b858ef6d1c4b046b05347fdf40cd0a53aa4722b1a811aa1c90abed197176825fd083f13f0fcc
6
+ metadata.gz: c55c11da7f8209e12a98b3965296fa80def359dce7fa698c62558b5dbeccbc2049824e7e5a622c2f6a3fa2d9f8afac6ddb54906e799d1708798c812a3aef4bed
7
+ data.tar.gz: e8168f6394e028d1b814ac4a6052da8215844f8e48530a4f2d23aecd76ce31e8f8909053caafce92e204dd44226de17cf150c296658fd5980a18aa505f89a229
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## Rails 6.1.7.9 (October 15, 2024) ##
2
+
3
+ * Avoid backtracing in plain_text_for_blockquote_node
4
+
5
+ [CVE-2024-47888]
6
+
7
+
8
+ ## Rails 6.1.7.8 (June 04, 2024) ##
9
+
10
+ * No changes.
11
+
12
+
1
13
  ## Rails 6.1.7.7 (February 21, 2024) ##
2
14
 
3
15
  * No changes.
@@ -10,7 +10,7 @@ module ActionText
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
12
  TINY = 7
13
- PRE = "7"
13
+ PRE = "9"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -55,7 +55,12 @@ module ActionText
55
55
 
56
56
  def plain_text_for_blockquote_node(node, index)
57
57
  text = plain_text_for_block(node)
58
- text.sub(/\A(\s*)(.+?)(\s*)\Z/m, '\1“\2”\3')
58
+ return "“”" if text.blank?
59
+
60
+ text = text.dup
61
+ text.insert(text.rindex(/\S/) + 1, "”")
62
+ text.insert(text.index(/\S/), "“")
63
+ text
59
64
  end
60
65
 
61
66
  def plain_text_for_li_node(node, index)
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/actiontext",
3
- "version": "6.1.7-7",
3
+ "version": "6.1.709",
4
4
  "description": "Edit and display rich text in Rails applications",
5
5
  "main": "app/javascript/actiontext/index.js",
6
6
  "files": [
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actiontext
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.7.7
4
+ version: 6.1.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javan Makhmali
8
8
  - Sam Stephenson
9
9
  - David Heinemeier Hansson
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-02-21 00:00:00.000000000 Z
13
+ date: 2024-10-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -18,56 +18,56 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 6.1.7.7
21
+ version: 6.1.7.9
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 6.1.7.7
28
+ version: 6.1.7.9
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: activerecord
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 6.1.7.7
35
+ version: 6.1.7.9
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 6.1.7.7
42
+ version: 6.1.7.9
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: activestorage
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 6.1.7.7
49
+ version: 6.1.7.9
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 6.1.7.7
56
+ version: 6.1.7.9
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: actionpack
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 6.1.7.7
63
+ version: 6.1.7.9
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 6.1.7.7
70
+ version: 6.1.7.9
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: nokogiri
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -140,12 +140,12 @@ licenses:
140
140
  - MIT
141
141
  metadata:
142
142
  bug_tracker_uri: https://github.com/rails/rails/issues
143
- changelog_uri: https://github.com/rails/rails/blob/v6.1.7.7/actiontext/CHANGELOG.md
144
- documentation_uri: https://api.rubyonrails.org/v6.1.7.7/
143
+ changelog_uri: https://github.com/rails/rails/blob/v6.1.7.9/actiontext/CHANGELOG.md
144
+ documentation_uri: https://api.rubyonrails.org/v6.1.7.9/
145
145
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
146
- source_code_uri: https://github.com/rails/rails/tree/v6.1.7.7/actiontext
146
+ source_code_uri: https://github.com/rails/rails/tree/v6.1.7.9/actiontext
147
147
  rubygems_mfa_required: 'true'
148
- post_install_message:
148
+ post_install_message:
149
149
  rdoc_options: []
150
150
  require_paths:
151
151
  - lib
@@ -160,8 +160,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.2.22
164
- signing_key:
163
+ rubygems_version: 3.5.16
164
+ signing_key:
165
165
  specification_version: 4
166
166
  summary: Rich text framework.
167
167
  test_files: []