sass-embedded 1.77.4-arm-linux-androideabi → 1.77.5-arm-linux-androideabi
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: d513a94bcbd5a447330feef09879425de9c8b6e9e8994e571303124bb09657f0
|
4
|
+
data.tar.gz: f85bacc3c6561340268e54479a0a5b0aed5e56a93e0b94da91daa708e67c5a34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d2367baa755e4e34130b7abc5d2c67a8206e7993b34c11810ce4edb8a226b1687b8eb456c0e802f611af1f472427ff3a696024e2a9103e1476e5132a2790e87
|
7
|
+
data.tar.gz: fc661d9c2d22c4cbfd122dcda4390ca25c4d3a57d6bb95f2687616ba0ae999a7dfdbda51c66fb3bc48e875277febbf1d77d0042e6159d68bf42a6d6225f009f0
|
data/ext/sass/dart-sass/src/dart
CHANGED
Binary file
|
Binary file
|
@@ -10,21 +10,11 @@ module Sass
|
|
10
10
|
def initialize(logger)
|
11
11
|
logger = Structifier.to_struct(logger, :debug, :warn)
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
logger.debug(event.message,
|
16
|
-
span: event.span.nil? ? nil : Logger::SourceSpan.new(event.span))
|
17
|
-
end
|
18
|
-
end
|
13
|
+
{ debug: DebugContext, warn: WarnContext }.each do |symbol, context_class|
|
14
|
+
next unless logger.respond_to?(symbol)
|
19
15
|
|
20
|
-
|
21
|
-
|
22
|
-
deprecation = event.type == :DEPRECATION_WARNING
|
23
|
-
logger.warn(event.message,
|
24
|
-
deprecation:,
|
25
|
-
deprecation_type: (event.deprecation_type if deprecation),
|
26
|
-
span: event.span.nil? ? nil : Logger::SourceSpan.new(event.span),
|
27
|
-
stack: event.stack_trace)
|
16
|
+
define_singleton_method(symbol) do |event|
|
17
|
+
logger.public_send(symbol, event.message, context_class.new(event))
|
28
18
|
end
|
29
19
|
end
|
30
20
|
end
|
@@ -49,6 +39,39 @@ module Sass
|
|
49
39
|
def warn(event)
|
50
40
|
Kernel.warn(event.formatted)
|
51
41
|
end
|
42
|
+
|
43
|
+
# Contextual information passed to `debug`.
|
44
|
+
class DebugContext
|
45
|
+
# @return [Logger::SourceSpan, nil]
|
46
|
+
attr_reader :span
|
47
|
+
|
48
|
+
def initialize(event)
|
49
|
+
@span = event.span.nil? ? nil : Logger::SourceSpan.new(event.span)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
private_constant :DebugContext
|
54
|
+
|
55
|
+
# Contextual information passed to `warn`.
|
56
|
+
class WarnContext < DebugContext
|
57
|
+
# @return [Boolean]
|
58
|
+
attr_reader :deprecation
|
59
|
+
|
60
|
+
# @return [String, nil]
|
61
|
+
attr_reader :deprecation_type
|
62
|
+
|
63
|
+
# @return [String]
|
64
|
+
attr_reader :stack
|
65
|
+
|
66
|
+
def initialize(event)
|
67
|
+
super
|
68
|
+
@deprecation = event.type == :DEPRECATION_WARNING
|
69
|
+
@deprecation_type = (event.deprecation_type if @deprecation)
|
70
|
+
@stack = event.stack_trace
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
private_constant :WarnContext
|
52
75
|
end
|
53
76
|
|
54
77
|
private_constant :LoggerRegistry
|
data/lib/sass/logger/silent.rb
CHANGED
@@ -18,9 +18,9 @@ module Sass
|
|
18
18
|
module Silent
|
19
19
|
module_function
|
20
20
|
|
21
|
-
def warn(message,
|
21
|
+
def warn(message, options); end
|
22
22
|
|
23
|
-
def debug(message,
|
23
|
+
def debug(message, options); end
|
24
24
|
end
|
25
25
|
|
26
26
|
private_constant :Silent
|
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.77.
|
4
|
+
version: 1.77.5
|
5
5
|
platform: arm-linux-androideabi
|
6
6
|
authors:
|
7
7
|
- なつき
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -94,8 +94,8 @@ licenses:
|
|
94
94
|
- MIT
|
95
95
|
metadata:
|
96
96
|
bug_tracker_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/issues
|
97
|
-
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.77.
|
98
|
-
source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.77.
|
97
|
+
documentation_uri: https://rubydoc.info/gems/sass-embedded/1.77.5
|
98
|
+
source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.77.5
|
99
99
|
funding_uri: https://github.com/sponsors/ntkme
|
100
100
|
rubygems_mfa_required: 'true'
|
101
101
|
post_install_message:
|