sass-embedded 1.71.0 → 1.71.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3466041c73d4f5e8747b2657b29e0483187a6c8d17099b31d0c2bfb6c9ca008
4
- data.tar.gz: b0c79984d3e2915ffd3c1d8c46a5d71177fa1ea0993d6002daba2dfeb19f9b2d
3
+ metadata.gz: 3840aaedc1217afa93f684b5006d63172fce4064514df2075fef79b1f8b19f71
4
+ data.tar.gz: a33958f5eadd06673a19cfab547d771d2dafb177c237f5ff8bd3d5a1742f4e42
5
5
  SHA512:
6
- metadata.gz: 01250032610c87ac6c5f580ab9dc39059d73eb72a2cd8ae1e2dbae3023b422f8ba7fed33271677848a5d16b954c6e0b716dcf6ff968a0ec8d68ee8ff72a065e8
7
- data.tar.gz: 46bad4b3f39d1662945ee4b7afa27eb78fa879a1c0ef1afb436408f605ee517304420cfcbc73274e2348e54503aefd3925c09873fa3f9489c15a07aaf7661f9f
6
+ metadata.gz: d5374ff3768944d740c99602b2e4d27289ae984d7dafe1e74db9cedbaf988e982ff6cf58f313e574665375f5e7195c72e2334639556d4e69e3b0b03d58755a22
7
+ data.tar.gz: 2c388012a0c1acbd5b05383726edcf8d645ed2678cc6aaab7b397b73970761f869bf30477bc84c23416719cbe402cb829086cc428fc81b61b986a3fda81306a5
data/ext/sass/Rakefile CHANGED
@@ -292,7 +292,6 @@ module SassConfig
292
292
  when 'linux-android'
293
293
  'android'
294
294
  when 'linux-musl'
295
- repo = 'https://github.com/sass-contrib/dart-sass-musl'
296
295
  env = '-musl'
297
296
  'linux'
298
297
  when 'windows'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "dependencies": {
3
- "sass": "1.71.0"
3
+ "sass": "1.71.1"
4
4
  }
5
5
  }
@@ -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: ruby
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: rake
@@ -101,8 +101,8 @@ licenses:
101
101
  - MIT
102
102
  metadata:
103
103
  bug_tracker_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/issues
104
- documentation_uri: https://rubydoc.info/gems/sass-embedded/1.71.0
105
- source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.71.0
104
+ documentation_uri: https://rubydoc.info/gems/sass-embedded/1.71.1
105
+ source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.71.1
106
106
  funding_uri: https://github.com/sponsors/ntkme
107
107
  rubygems_mfa_required: 'true'
108
108
  post_install_message: