Skip to content

Commit 29eec79

Browse files
authored
Merge pull request #35 from Guria/depr
fix deprecation warnings
2 parents a11610e + f08c972 commit 29eec79

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

sketch/manifest.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# You typically do not need to edit this file
33

44
packages = [
5-
{ name = "gleam_erlang", version = "0.25.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "054D571A7092D2A9727B3E5D183B7507DAB0DA41556EC9133606F09C15497373" },
6-
{ name = "gleam_otp", version = "0.10.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "0B04FE915ACECE539B317F9652CAADBBC0F000184D586AAAF2D94C100945D72B" },
7-
{ name = "gleam_stdlib", version = "0.39.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "2D7DE885A6EA7F1D5015D1698920C9BAF7241102836CE0C3837A4F160128A9C4" },
5+
{ name = "gleam_erlang", version = "0.28.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "BE551521F708DCE5CB954AFBBDF08519C1C44986521FD40753608825F48FFA9E" },
6+
{ name = "gleam_otp", version = "0.13.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "F7EA44C81679B2A6032FF1B3851F0EFB43F4F1F1CAC616CB7F4A18497F39FAB9" },
7+
{ name = "gleam_stdlib", version = "0.41.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "1B2F80CB1B66B027E3198A2FF71EF3F2F31DF89ED97AD606F25FD387A4C3C1EF" },
88
{ name = "gleeunit", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "F7A7228925D3EE7D0813C922E062BFD6D7E9310F0BEE585D3A42F3307E3CFD13" },
99
]
1010

sketch/src/sketch/internals/class.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub fn rules(class: Content) {
4040
pub fn definitions(class: Content) {
4141
let Definitions(medias, selectors, class) = class.definitions
4242
[[class], selectors, medias]
43-
|> list.concat()
43+
|> list.flatten()
4444
}
4545

4646
pub fn set_rules(class: Content, rules: List(Int)) {

sketch/src/sketch/internals/style.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ pub fn compute_classes(
198198
let selectors_def = wrap_pseudo_selectors(class_name, 2, pseudo_selectors)
199199
[query <> " {", sketch_string.wrap_class(class_name, properties, 2, None)]
200200
|> list.prepend([selectors_def, ["}"]], _)
201-
|> list.concat()
201+
|> list.flatten()
202202
|> string.join("\n")
203203
}
204204
let selectors_def = wrap_pseudo_selectors(class_name, 0, pseudo_selectors)

0 commit comments

Comments
 (0)