tailwind_merge 0.13.2 → 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: c41045412c1f6ba02a929c362f726216f483d0ab360749784c16f262c26dca70
4
- data.tar.gz: 869342bb1db1891d03ab117fbf486aa8355ffbd171d03ef2d73af2cadc845e05
3
+ metadata.gz: 4f932b04e38ec154f34a89704e726add6cc04f1e3b574dc8abe6aba954133dc8
4
+ data.tar.gz: af5ef994eaeaf7f71c22394938cb53d5ea6f7d145400d302f24720103bbf2008
5
5
  SHA512:
6
- metadata.gz: b1ea678bd235c72337ba1b88f91b82aab59c57a21edec8831afe6379abe9d7ca12fd00368a97812c98d7af4151839f4d6f596efb038a2bd4355a088ac1a6cbc2
7
- data.tar.gz: 6618d8e1c65b581beb82df6f0707688f71047d9bff41c9955a6531460609d6abb86ef5adde446d569f916d074e20ab837f2d9392c148baafc66ecc53f9f77388
6
+ metadata.gz: a11810739f13d68934146eac75e27f777417d886c7da28782f22a5e221f9222a9033a6c13927d3a7bbc19bd7f24c776984dcd76ac1f5d9d4f17f434fa1ff112d
7
+ data.tar.gz: 01a2ca26ae565752c183e711972a1d77bdf4bacdb0672c3f1e38da62da1095d4e8e33f91cc253ce0413fa5e11d26b51b0691f2b99b29e1eb9de970386c669a87
data/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
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
12
+ # [v0.13.3] - 25-11-2024
13
+ ## What's Changed
14
+ * [skip test] Release v0.13.2 by @github-actions in https://github.com/gjtorikian/tailwind_merge/pull/37
15
+
16
+
17
+ **Full Changelog**: https://github.com/gjtorikian/tailwind_merge/compare/v0.13.2...v0.13.3
18
+ # [v0.13.2] - 18-10-2024
19
+ ## What's Changed
20
+ * Remove erroneous debug statement by @gjtorikian in https://github.com/gjtorikian/tailwind_merge/pull/36
21
+
22
+
23
+ **Full Changelog**: https://github.com/gjtorikian/tailwind_merge/compare/v0.13.1...v0.13.2
1
24
  # [v0.13.1] - 03-10-2024
2
25
  ## What's Changed
3
26
  * Add missing logical border color properties by @gjtorikian in https://github.com/gjtorikian/tailwind_merge/pull/34
@@ -717,7 +717,7 @@ module TailwindMerge
717
717
  # Font Variant Numeric
718
718
  # @see https://tailwindcss.com/docs/font-variant-numeric
719
719
  ##
720
- "fvn-fraction" => ["diagonal-fractions", "stacked-fractons"],
720
+ "fvn-fraction" => ["diagonal-fractions", "stacked-fractions"],
721
721
  ##
722
722
  # Letter Spacing
723
723
  # @see https://tailwindcss.com/docs/letter-spacing
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TailwindMerge
4
- VERSION = "0.13.2"
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.2
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-10-18 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.