sass-embedded 1.71.0-x86_64-linux-musl → 1.71.1-x86_64-linux-musl

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: f738f3a94c93df685c0c814ed8b095870447afd1a6d9c1e87519f3dbd374ba6e
4
- data.tar.gz: d8447a7dd87429403f5d38726d6b4a6eec938da46bdbf429a6c50eae55aaf06e
3
+ metadata.gz: 88487d67a2bb427a0ba0fd09db31ef4936c0f31ca86cf51de4e4fd82652938bd
4
+ data.tar.gz: 3e82280886490ae2f432620c62d7a94def438f45517c1d900d9f0d5a4016694f
5
5
  SHA512:
6
- metadata.gz: 5df866739df89926ce4618159ef1ceb9a5c47d1fe7ad2bf95c13f21461dfff8e88a95891e302bf26fc31a393e7e6d7abd6b5536781fabe5e3600e8684b34025c
7
- data.tar.gz: 0bf137ef5dd0cd2a2c37f1f66b6e3c3d0220ff521f0931c22693acf1b8f09993a77f309ce790d3bf692e2409f3f607ec1890b058d39ae8146a8d858ee2be0eeb
6
+ metadata.gz: c7e001bd2f05f5094bc7e32448b5c3cb7d9f87305beb1aa343d905e87e0b7f348f6d3b841b31e52bc104929e1e4ad6d77e8ba0a9e9385e27165a0a1de93a43da
7
+ data.tar.gz: 1050617955a60fd98ed2b4449feed3f7bd8de20e271b760d45ef5b75384979f8132d04c028b7b73fb9372b7fc31cf97ca8e7f4798d8fbebe2a4c39f3990c3aa5
Binary file
@@ -8,7 +8,7 @@ module Sass
8
8
  class CalculationOperation
9
9
  include CalculationValue
10
10
 
11
- OPERATORS = ['+', '-', '*', '/'].freeze
11
+ OPERATORS = %w[+ - * /].freeze
12
12
 
13
13
  private_constant :OPERATORS
14
14
 
@@ -4,7 +4,7 @@ module Sass
4
4
  class Compiler
5
5
  # The {Dispatcher} class.
6
6
  #
7
- # It dispatches messages between mutliple instances of {Host} and a single {Connection} to the compiler.
7
+ # It dispatches messages between multiple instances of {Host} and a single {Connection} to the compiler.
8
8
  class Dispatcher
9
9
  def initialize
10
10
  @id = 1
@@ -80,13 +80,13 @@ module Sass
80
80
  result.formatted == '' ? nil : result.formatted,
81
81
  result.stack_trace == '' ? nil : result.stack_trace,
82
82
  result.span.nil? ? nil : Logger::SourceSpan.new(result.span),
83
- compile_response.loaded_urls
83
+ compile_response.loaded_urls.to_a
84
84
  )
85
85
  when :success
86
86
  CompileResult.new(
87
87
  result.css,
88
88
  result.source_map == '' ? nil : result.source_map,
89
- compile_response.loaded_urls
89
+ compile_response.loaded_urls.to_a
90
90
  )
91
91
  else
92
92
  raise ArgumentError, "Unknown CompileResponse.result #{result}"
@@ -204,12 +204,12 @@ module Sass
204
204
 
205
205
  def send_message0(...)
206
206
  inbound_message = EmbeddedProtocol::InboundMessage.new(...)
207
- @stream.send_proto(0, inbound_message.to_proto)
207
+ @stream.send_proto(0, EmbeddedProtocol::InboundMessage.encode(inbound_message))
208
208
  end
209
209
 
210
210
  def send_message(...)
211
211
  inbound_message = EmbeddedProtocol::InboundMessage.new(...)
212
- @stream.send_proto(id, inbound_message.to_proto)
212
+ @stream.send_proto(id, EmbeddedProtocol::InboundMessage.encode(inbound_message))
213
213
  end
214
214
  end
215
215
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  module Embedded
5
- VERSION = '1.71.0'
5
+ VERSION = '1.71.1'
6
6
  end
7
7
  end
@@ -4,6 +4,8 @@ module Sass
4
4
  # The built-in Node.js package importer. This loads pkg: URLs from node_modules
5
5
  # according to the standard Node.js resolution algorithm.
6
6
  #
7
+ # @param entry_point_directory [String] The directory where the {NodePackageImporter} should start when resolving
8
+ # `pkg:` URLs in sources other than files on disk.
7
9
  # @see https://sass-lang.com/documentation/js-api/classes/nodepackageimporter/
8
10
  class NodePackageImporter
9
11
  def initialize(entry_point_directory)
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.71.0
4
+ version: 1.71.1
5
5
  platform: x86_64-linux-musl
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-16 00:00:00.000000000 Z
11
+ date: 2024-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -88,8 +88,8 @@ licenses:
88
88
  - MIT
89
89
  metadata:
90
90
  bug_tracker_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/issues
91
- documentation_uri: https://rubydoc.info/gems/sass-embedded/1.71.0
92
- source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.71.0
91
+ documentation_uri: https://rubydoc.info/gems/sass-embedded/1.71.1
92
+ source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.71.1
93
93
  funding_uri: https://github.com/sponsors/ntkme
94
94
  rubygems_mfa_required: 'true'
95
95
  post_install_message: