Socket
Socket
Sign inDemoInstall

cmake-js

Package Overview
Dependencies
85
Maintainers
2
Versions
85
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.3.0 to 6.3.1

0

.eslintrc.json

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

6

lib/cMake.js

@@ -181,2 +181,8 @@ "use strict";

}
} else if (environment.isOSX) {
if (this.targetOptions.arch) {
let xcodeArch = this.targetOptions.arch
if (xcodeArch === 'x64') xcodeArch = 'x86_64'
D.push({CMAKE_OSX_ARCHITECTURES: xcodeArch})
}
}

@@ -183,0 +189,0 @@

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

2

lib/environment.js

@@ -14,3 +14,3 @@ "use strict";

arch: os.arch(),
isX86: os.arch() === "ia32",
isX86: os.arch() === "ia32" || os.arch() === "x86",
isX64: os.arch() === "x64",

@@ -17,0 +17,0 @@ isArm: os.arch() === "arm",

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -18,3 +18,3 @@ "use strict";

get: function () {
return this.arch === "ia32";
return this.arch === "ia32" || this.arch === "x86";
}

@@ -21,0 +21,0 @@ },

@@ -175,8 +175,16 @@ "use strict";

let ver = 0;
let found = /^visual studio (\d+)/i.exec(topVS);
if (found) {
ver = parseInt(found[1]);
}
const isAboveVS16 = ver >= 16;
// The CMake Visual Studio Generator does not support the Win64 or ARM suffix on
// the generator name. Instead the generator platform must be set explicitly via
// the platform parameter
if (!this.platform && this.generator.startsWith("Visual Studio 16")) {
if (!this.platform && isAboveVS16) {
switch(this.targetOptions.arch) {
case "ia32":
case "x86":
this.platform = "Win32";

@@ -183,0 +191,0 @@ break;

@@ -0,0 +0,0 @@ "use strict";

@@ -19,3 +19,3 @@ {

"main": "lib",
"version": "6.3.0",
"version": "6.3.1",
"author": "Gábor Mező aka unbornchikken",

@@ -32,2 +32,3 @@ "repository": {

"axios": "^0.21.1",
"bluebird": "^3",
"debug": "^4",

@@ -34,0 +35,0 @@ "fs-extra": "^5.0.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc