Commit 8f89317278143b65fcfec22069cc8f2d78c1f93f

Michael Crumm 2021-11-03T16:24:21

Update Sass to 1.43.4

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e512d00..b95f3ad 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
 
 ## v0.3.1
 
+  * Update Sass version to `1.43.4`
   * Allow `config :dart_sass, :sass_path, path` to configure the path to the Sass snapshot (or executable)
   * Allow `config :dart_sass, :dart_path, path` to configure the path to the Dart executable
   * Support OTP 24 on Apple M1 architectures (via Rosetta2)
diff --git a/README.md b/README.md
index 7ce0187..d5dd5f9 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ Once installed, change your `config/config.exs` to pick your
 dart_sass version of choice:
 
 ```elixir
-config :dart_sass, version: "1.39.0"
+config :dart_sass, version: "1.43.4"
 ```
 
 Now you can install dart-sass by running:
@@ -67,7 +67,7 @@ directory, the OS environment, and default arguments to the
 
 ```elixir
 config :dart_sass,
-  version: "1.39.0",
+  version: "1.43.4",
   default: [
     args: ~w(css/app.scss ../priv/static/assets/app.css),
     cd: Path.expand("../assets", __DIR__)
@@ -99,7 +99,7 @@ compile CSS to the output location `priv/static/assets/app.css`:
 
 ```elixir
 config :dart_sass,
-  version: "1.39.0",
+  version: "1.43.4",
   default: [
     args: ~w(css/app.scss ../priv/static/assets/app.css),
     cd: Path.expand("../assets", __DIR__)
diff --git a/config/config.exs b/config/config.exs
index 08d4f82..eb70d09 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -1,7 +1,7 @@
 import Config
 
 config :dart_sass,
-  version: "1.39.0",
+  version: "1.43.4",
   another: [
     args: ["--version"]
   ]
diff --git a/lib/dart_sass.ex b/lib/dart_sass.ex
index db8932c..7e317f3 100644
--- a/lib/dart_sass.ex
+++ b/lib/dart_sass.ex
@@ -9,7 +9,7 @@ defmodule DartSass do
   directory and environment:
 
       config :dart_sass,
-        version: "1.39.0",
+        version: "1.43.4",
         default: [
           args: ~w(css/app.scss ../priv/static/assets/app.css),
           cd: Path.expand("../assets", __DIR__)
@@ -79,7 +79,7 @@ defmodule DartSass do
   @doc false
   # Latest known version at the time of publishing.
   def latest_version do
-    "1.39.0"
+    "1.43.4"
   end
 
   @doc """
diff --git a/test/dart_sass_test.exs b/test/dart_sass_test.exs
index 89cace3..9ddfbae 100644
--- a/test/dart_sass_test.exs
+++ b/test/dart_sass_test.exs
@@ -1,7 +1,7 @@
 defmodule DartSassTest do
   use ExUnit.Case, async: true
 
-  @version "1.39.0"
+  @version "1.43.4"
 
   test "run on default" do
     assert ExUnit.CaptureIO.capture_io(fn ->
@@ -16,13 +16,13 @@ defmodule DartSassTest do
   end
 
   test "updates on install" do
-    Application.put_env(:dart_sass, :version, "1.36.0")
+    Application.put_env(:dart_sass, :version, "1.43.3")
 
     Mix.Task.rerun("sass.install", ["--if-missing"])
 
     assert ExUnit.CaptureIO.capture_io(fn ->
              assert DartSass.run(:default, ["--version"]) == 0
-           end) =~ "1.36.0"
+           end) =~ "1.43.3"
 
     Application.delete_env(:dart_sass, :version)