dididy opened a new pull request, #5086:
URL: https://github.com/apache/zeppelin/pull/5086

   ### What is this PR for?
   Upgraded the Node.js version of zeppelin-web-angular from **16.20.2** to 
**18.18.0**
   
   #### 
[[zeppelin-web-angular/package.json](https://github.com/apache/zeppelin/compare/master...dididy:zeppelin:test/node18?expand=1#diff-c7de4df5c0afd29d2acd136879ab99f0fec5aeb696a4423885124e93bd1a986f)]
   OpenSSL legacy provider: Added NODE_OPTIONS='--openssl-legacy-provider' to 
maintain compatibility with libraries that rely on legacy cryptographic 
algorithms, which are no longer enabled by default in Node 18 (OpenSSL 3).
   
   I upgraded Husky from version 3 to version 9 and added `"prepare": "husky"` 
to the `package.json`. In Husky v9, the `prepare` script runs automatically 
when a user executes `npm install`, which ensures that Git hooks are installed 
without any additional manual steps. Unlike `postinstall`, which runs after 
package installation, `prepare` runs during the installation process, so the 
hooks are ready immediately after `npm install`.
   
   Husky's Git hook management has moved from `package.json` to the `.husky/` 
directory. All hook scripts that were previously defined in `package.json` have 
been migrated to individual files under `.husky/`, following the new Husky v9 
structure. This change ensures a clearer separation of configuration and hook 
scripts and aligns with the recommended setup for Husky v9.
   
   #### 
[[zeppelin-web-angular/proxy.conf.js](https://github.com/apache/zeppelin/compare/master...dididy:zeppelin:test/node18?expand=1#diff-2a24ea2db081bdc01ecadf2293530e5997cdd179f9dc47820627776fc1b5e591)]
   Updated the proxy target from `localhost` to `127.0.0.1` following the 
Node.js 18 upgrade.
   
   In Node.js 18, `localhost` may resolve to IPv6 (`::1`) first, which can 
cause connection issues with servers bound to IPv4 (`127.0.0.1`).  
   Using `127.0.0.1` ensures a consistent IPv4 connection and improves 
stability.
   
   
   ### What type of PR is it?
   Improvement
   
   ### Todos
   
   ### What is the Jira issue?
   ZEPPELIN-6233
   ### How should this be tested?
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the license files need to update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to