Skip to content

Commit cf921de

Browse files
committed
opensearch-dashboards 3.0.0
1 parent 85fd869 commit cf921de

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Formula/o/opensearch-dashboards.rb

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ class OpensearchDashboards < Formula
22
desc "Open source visualization dashboards for OpenSearch"
33
homepage "https://opensearch.org/docs/dashboards/index/"
44
url "https://github.com/opensearch-project/OpenSearch-Dashboards.git",
5-
tag: "2.19.1",
6-
revision: "782801008fa7d872292e48caca1aca74be5304a6"
5+
tag: "3.0.0",
6+
revision: "c378e1f95a58498ad41c4c99f39e2072b2629085"
77
license "Apache-2.0"
88

99
livecheck do
@@ -21,13 +21,9 @@ class OpensearchDashboards < Formula
2121
sha256 cellar: :any_skip_relocation, x86_64_linux: "5dadc59e74bce5e73e3a3b628b96186912e52bd9f32998d8437441ebeef72258"
2222
end
2323

24-
# Match deprecation date of `node@18`.
25-
# disable! date: "2025-04-30", because: "uses deprecated `node@18`"
26-
deprecate! date: "2024-10-29", because: "uses deprecated `node@18`"
27-
2824
depends_on "yarn" => :build
2925
depends_on "opensearch" => :test
30-
depends_on "node@18" # https://github.com/opensearch-project/OpenSearch-Dashboards/issues/9459
26+
depends_on "node@20"
3127

3228
# - Do not download node and discard all actions related to this node
3329
patch :DATA
@@ -41,7 +37,7 @@ def install
4137
cd "build/opensearch-dashboards-#{version}-#{os}-#{arch}" do
4238
inreplace "bin/use_node",
4339
/NODE=".+"/,
44-
"NODE=\"#{Formula["node@18"].opt_bin/"node"}\""
40+
"NODE=\"#{Formula["node@20"].opt_bin/"node"}\""
4541

4642
inreplace "config/opensearch_dashboards.yml",
4743
/#\s*pid\.file: .+$/,

0 commit comments

Comments
 (0)