cmake-js
Advanced tools
Comparing version 6.3.0 to 6.3.1
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -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"; |
@@ -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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
12
83705
16
23
1529
+ Addedbluebird@^3
+ Addedbluebird@3.7.2(transitive)