FreeBSD Bugzilla – Attachment 213641 Details for
Bug 245761
textproc/kibana7 broken | incompatible with node10.20
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
files/patch-src_setup__node__env_validator.js
file_245761.txt (text/plain), 1.29 KB, created by
Sven Ruediger
on 2020-04-21 16:27:10 UTC
(
hide
)
Description:
files/patch-src_setup__node__env_validator.js
Filename:
MIME Type:
Creator:
Sven Ruediger
Created:
2020-04-21 16:27:10 UTC
Size:
1.29 KB
patch
obsolete
>--- src/setup_node_env/node_version_validator.js.orig 2020-02-29 00:51:37.000000000 +0000 >+++ src/setup_node_env/node_version_validator.js 2020-04-21 15:43:05.023206000 +0000 >@@ -25,11 +25,11 @@ > var currentVersion = process && process.version || null; > var rawRequiredVersion = pkg && pkg.engines && pkg.engines.node || null; > var requiredVersion = rawRequiredVersion ? 'v' + rawRequiredVersion : rawRequiredVersion; >-var isVersionValid = !!currentVersion && !!requiredVersion && currentVersion === requiredVersion; // Validates current the NodeJS version compatibility when Kibana starts. >+var isVersionValid = !!currentVersion && !!requiredVersion && currentVersion >= requiredVersion; // Validates current the NodeJS version compatibility when Kibana starts. > > if (!isVersionValid) { >- var errorMessage = 'Kibana does not support the current Node.js version ' + currentVersion + '. Please use Node.js ' + requiredVersion + '.'; // Actions to apply when validation fails: error report + exit. >+ var errorMessage = 'Kibana does not support the current Node.js version ' + currentVersion + '. Please use Node.js >=' + requiredVersion + '.'; // Actions to apply when validation fails: error report + exit. > > console.error(errorMessage); > process.exit(1); >-} >\ No newline at end of file >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 245761
: 213641 |
213642
|
213643