This is an automated email from the ASF dual-hosted git repository.

jongyoul pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 855f977e8f [ZEPPELIN-6050] Upgrade node, npm, yarn version of helium 
(#4799)
855f977e8f is described below

commit 855f977e8f55536841e6d9e70a2962f33cad8e28
Author: pythonstrup <pythonst...@gmail.com>
AuthorDate: Tue Aug 20 10:58:34 2024 +0900

    [ZEPPELIN-6050] Upgrade node, npm, yarn version of helium (#4799)
---
 .../java/org/apache/zeppelin/helium/HeliumBundleFactory.java     | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/zeppelin-zengine/src/main/java/org/apache/zeppelin/helium/HeliumBundleFactory.java
 
b/zeppelin-zengine/src/main/java/org/apache/zeppelin/helium/HeliumBundleFactory.java
index f71e7562ec..f06d7c3e5a 100644
--- 
a/zeppelin-zengine/src/main/java/org/apache/zeppelin/helium/HeliumBundleFactory.java
+++ 
b/zeppelin-zengine/src/main/java/org/apache/zeppelin/helium/HeliumBundleFactory.java
@@ -70,9 +70,9 @@ import org.slf4j.LoggerFactory;
  */
 public class HeliumBundleFactory {
   private static final Logger LOGGER = 
LoggerFactory.getLogger(HeliumBundleFactory.class);
-  private static final String NODE_VERSION = "v6.9.1";
-  private static final String NPM_VERSION = "3.10.8";
-  private static final String YARN_VERSION = "v0.21.3";
+  private static final String NODE_VERSION = "v16.16.0";
+  private static final String NPM_VERSION = "8.11.0";
+  private static final String YARN_VERSION = "v1.22.0";
   private static final String NPM_PACKAGE_NAME = "npm";
   protected static final String HELIUM_LOCAL_REPO = "helium-bundle";
   private static final String HELIUM_BUNDLES_DIR = "bundles";
@@ -589,7 +589,8 @@ public class HeliumBundleFactory {
 
         if (!webpackRunDetected) {
           String trimed = line.trim();
-          if (trimed.contains("webpack") && trimed.endsWith("--json")) {
+          if (trimed.contains("webpack")
+              && trimed.endsWith("--json 
--registry=https://registry.npmjs.org/";)) {
             webpackRunDetected = true;
           }
           continue;

Reply via email to