tailwind_merge 0.13.3 → 0.14.0

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: 9839900b581be86f928af66f7b081bfe34276c14924fa15eaffd7fccd5d8861e
4
- data.tar.gz: 122d28edd580fcc3b2ab8b3c8be7853e65828e441e541286fb2c30c78cc57c30
3
+ metadata.gz: 4f932b04e38ec154f34a89704e726add6cc04f1e3b574dc8abe6aba954133dc8
4
+ data.tar.gz: af5ef994eaeaf7f71c22394938cb53d5ea6f7d145400d302f24720103bbf2008
5
5
  SHA512:
6
- metadata.gz: 854d6c975bbfbf542fffbe0f40d71deef75c1a82aa7f86b9da0762f830bb1f169c7501a7d269321ec9f316e06a31ee330627845261b441c4367bff32f27e73d2
7
- data.tar.gz: 34738382fe57ed955c7f11d915cfb51567f7e6b308cecb8e0c7377e8774cfd1252eb86a2e4d484d0144aa2099ab2dbdf71a0971fc9491271d9a1cc932e411da0
6
+ metadata.gz: a11810739f13d68934146eac75e27f777417d886c7da28782f22a5e221f9222a9033a6c13927d3a7bbc19bd7f24c776984dcd76ac1f5d9d4f17f434fa1ff112d
7
+ data.tar.gz: 01a2ca26ae565752c183e711972a1d77bdf4bacdb0672c3f1e38da62da1095d4e8e33f91cc253ce0413fa5e11d26b51b0691f2b99b29e1eb9de970386c669a87
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # [v0.14.0] - 19-12-2024
2
+ ## What's Changed
3
+ * Prevent cache tampering by freezing cached value by @david-uhlig in https://github.com/gjtorikian/tailwind_merge/pull/39
4
+
5
+ The results of the `merge` class is now a frozen string. This may unexpectedly break your app if you are expecting the string of classes to be mutable.
6
+
7
+
8
+ ## New Contributors
9
+ * @david-uhlig made their first contribution in https://github.com/gjtorikian/tailwind_merge/pull/39
10
+
11
+ **Full Changelog**: https://github.com/gjtorikian/tailwind_merge/compare/v0.13.3...v0.14.0
1
12
  # [v0.13.3] - 25-11-2024
2
13
  ## What's Changed
3
14
  * [skip test] Release v0.13.2 by @github-actions in https://github.com/gjtorikian/tailwind_merge/pull/37
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TailwindMerge
4
- VERSION = "0.13.3"
4
+ VERSION = "0.14.0"
5
5
  end
@@ -35,7 +35,7 @@ module TailwindMerge
35
35
  end
36
36
 
37
37
  @cache.getset(classes) do
38
- merge_class_list(classes)
38
+ merge_class_list(classes).freeze
39
39
  end
40
40
  end
41
41
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwind_merge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.3
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-25 00:00:00.000000000 Z
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lru_redux
@@ -53,7 +53,7 @@ dependencies:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '1.1'
56
- description:
56
+ description:
57
57
  email:
58
58
  - gjtorikian@gmail.com
59
59
  executables: []
@@ -81,7 +81,7 @@ metadata:
81
81
  funding_uri: https://github.com/sponsors/gjtorikian/
82
82
  rubygems_mfa_required: 'true'
83
83
  homepage_uri: https://www.github.com/gjtorikian/tailwind_merge
84
- post_install_message:
84
+ post_install_message:
85
85
  rdoc_options: []
86
86
  require_paths:
87
87
  - lib
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  requirements: []
102
102
  rubygems_version: 3.4.6
103
- signing_key:
103
+ signing_key:
104
104
  specification_version: 4
105
105
  summary: Utility function to efficiently merge Tailwind CSS classes without style
106
106
  conflicts.