New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

java-portable

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

java-portable - npm Package Compare versions

Comparing version
1.0.0-snapshot.4
to
1.0.0-snapshot.5
+7
-6
lib/compareVersions.js

@@ -40,8 +40,9 @@

}
if ( lhs.nodeJava.version !== rhs.nodeJava.version ) {
same = false;
if ( reasons ) {
reasons.push( 'Invalid node-java version: Installed: ' + lhs.nodeJava.version + ', expected: ' + rhs.nodeJava.version );
}
}
// As node-java was installed at same time as java-portable, it's version shouldn't need to be checked
// if ( lhs.nodeJava.version !== rhs.nodeJava.version ) {
// same = false;
// if ( reasons ) {
// reasons.push( 'Invalid node-java version: Installed: ' + lhs.nodeJava.version + ', expected: ' + rhs.nodeJava.version );
// }
// }
return same;

@@ -48,0 +49,0 @@ }

{
"name": "java-portable",
"version": "1.0.0-snapshot.4",
"version": "1.0.0-snapshot.5",
"description": "Wrapper for the node-java npm package that improves locating the JRE on the target machine and can support multiple prebuilt platform builds",

@@ -5,0 +5,0 @@ "main": "index.js",