sass-embedded 1.80.1-x86-mingw-ucrt → 1.80.3-x86-mingw-ucrt
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e094ccef2d64a14da4aa143540eae9a3e51a726e4cfd437dfe4ce8f82015b7ea
|
4
|
+
data.tar.gz: 895bd60136ba150a25288f40739d2b6826fe996ff5855dda37014b56455be599
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e20dda8a35d53ad1c40e345b16e91cd07b16ee403cc108082fe049b5a7fd6543dc40faf698c8c0caf85c552e9362f06d8b5594f79046e4ef7a36c2efded89da
|
7
|
+
data.tar.gz: 209c92b2d0b81109ff39f41dee2c69415a94b9708050af48a34e20d18c58d23a81f9366904d3cd772fd47c4dceda518b8881f6909d31e49573b79cd8cd0296a1
|
Binary file
|
Binary file
|
@@ -39,7 +39,7 @@ module Sass
|
|
39
39
|
argument_list: EmbeddedProtocol::Value::ArgumentList.new(
|
40
40
|
id: obj.instance_eval { @id },
|
41
41
|
contents: obj.to_a.map { |element| to_proto(element) },
|
42
|
-
keywords: obj.keywords.
|
42
|
+
keywords: obj.keywords.each_with_object({}) { |(key, value), hash| hash[key.to_s] = to_proto(value) },
|
43
43
|
separator: ListSeparator.to_proto(obj.separator)
|
44
44
|
)
|
45
45
|
)
|
@@ -126,8 +126,8 @@ module Sass
|
|
126
126
|
obj.contents.map do |element|
|
127
127
|
from_proto(element)
|
128
128
|
end,
|
129
|
-
obj.keywords.
|
130
|
-
[key.to_sym
|
129
|
+
obj.keywords.to_enum.with_object({}) do |(key, value), hash|
|
130
|
+
hash[key.to_sym] = from_proto(value)
|
131
131
|
end,
|
132
132
|
ListSeparator.from_proto(obj.separator)
|
133
133
|
).instance_eval do
|
@@ -144,8 +144,8 @@ module Sass
|
|
144
144
|
)
|
145
145
|
when :map
|
146
146
|
Sass::Value::Map.new(
|
147
|
-
obj.entries.
|
148
|
-
[from_proto(entry.key)
|
147
|
+
obj.entries.to_enum.with_object({}) do |entry, hash|
|
148
|
+
hash[from_proto(entry.key)] = from_proto(entry.value)
|
149
149
|
end
|
150
150
|
)
|
151
151
|
when :compiler_function
|
data/lib/sass/serializer.rb
CHANGED
@@ -5,17 +5,11 @@ module Sass
|
|
5
5
|
module Serializer
|
6
6
|
module_function
|
7
7
|
|
8
|
-
CSS_ESCAPE =
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
**[*"\x01".."\x08", *"\x0A".."\x1F", "\x7F"].product(
|
14
|
-
[*'0'..'9', *'a'..'f', *'A'..'F', "\t", ' ', nil]
|
15
|
-
).to_h do |c, x|
|
16
|
-
["#{c}#{x}".freeze, "\\#{c.ord.to_s(16)}#{" #{x}" if x}".freeze]
|
17
|
-
end
|
18
|
-
}.freeze
|
8
|
+
CSS_ESCAPE = [*"\x01".."\x08", *"\x0A".."\x1F", "\x7F"]
|
9
|
+
.product([*'0'..'9', *'a'..'f', *'A'..'F', "\t", ' ', nil])
|
10
|
+
.each_with_object({ "\0" => "\uFFFD", '\\' => '\\\\', '"' => '\\"', "'" => "\\'" }) do |(c, x), h|
|
11
|
+
h["#{c}#{x}".freeze] = "\\#{c.ord.to_s(16)}#{" #{x}" if x}".freeze
|
12
|
+
end.freeze
|
19
13
|
|
20
14
|
private_constant :CSS_ESCAPE
|
21
15
|
|
@@ -141,10 +141,11 @@ module Sass
|
|
141
141
|
'pixel density': %w[dpi dpcm dppx]
|
142
142
|
}.freeze
|
143
143
|
|
144
|
-
TYPES_BY_UNIT = UNITS_BY_TYPE.
|
145
|
-
|
146
|
-
|
147
|
-
|
144
|
+
TYPES_BY_UNIT = UNITS_BY_TYPE.each_with_object({}) do |(key, values), hash|
|
145
|
+
values.each do |value|
|
146
|
+
hash[value] = key
|
147
|
+
end
|
148
|
+
end
|
148
149
|
|
149
150
|
module_function
|
150
151
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.80.
|
4
|
+
version: 1.80.3
|
5
5
|
platform: x86-mingw-ucrt
|
6
6
|
authors:
|
7
7
|
- なつき
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -112,8 +112,8 @@ licenses:
|
|
112
112
|
- MIT
|
113
113
|
metadata:
|
114
114
|
bug_tracker_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/issues
|
115
|
-
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.80.
|
116
|
-
source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.80.
|
115
|
+
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.80.3
|
116
|
+
source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.80.3
|
117
117
|
funding_uri: https://github.com/sponsors/ntkme
|
118
118
|
rubygems_mfa_required: 'true'
|
119
119
|
post_install_message:
|