Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

windows-build-tools

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

windows-build-tools - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

4

lib/download.js

@@ -5,3 +5,3 @@ 'use strict';

var utils = require('./utils'
var utils = require('./utils');

@@ -14,3 +14,3 @@ /**

*/
);function download(cb) {
function download(cb) {
downloadTools(utils.getBuildToolsInstallerPath()).then(function () {

@@ -17,0 +17,0 @@ return downloadTools(utils.getPythonInstallerPath());

'use strict';
var path = require('path');
var utils = require('./utils'
var utils = require('./utils');

@@ -14,3 +14,3 @@ /**

*/
);function setEnvironment(variables) {
function setEnvironment(variables) {
var pythonPath = path.join(variables.python.pythonPath);

@@ -17,0 +17,0 @@ var pythonExePath = path.join(pythonPath, 'python.exe');

@@ -13,7 +13,7 @@ 'use strict';

var install = require('./install');
var environment = require('./environment'
var environment = require('./environment');
// Here lie the bodies of promises, killed in
// the name of better garbage collection
);download(function () {
download(function () {
install(function (variables) {

@@ -20,0 +20,0 @@ environment(variables);

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

@@ -9,3 +9,3 @@ 'use strict';

var utils = require('../utils');
var installer = utils.getBuildToolsInstallerPath
var installer = utils.getBuildToolsInstallerPath();

@@ -17,3 +17,3 @@ /**

*/
();function launchInstaller() {
function launchInstaller() {
return new Promise(function (resolve, reject) {

@@ -56,6 +56,6 @@ var extraArgs = '';

utils.log('The build tools cannot be installed without administrative rights.');
utils.log('To fix, right-click on PowerShell and run "as Administrator".'
utils.log('To fix, right-click on PowerShell and run "as Administrator".');
// Bail out
);process.exit(1);
process.exit(1);
}

@@ -62,0 +62,0 @@ });

@@ -93,5 +93,4 @@ 'use strict';

if (data.includes('Variable: IsInstalled = 1') || data.includes('Variable: BuildTools_Core_Installed = ') || data.includes('WixBundleInstalled = 1')) {
this.stop('success'
this.stop('success');
// Success strings for python
);
} else if (data.includes('INSTALL. Return value 1') || data.includes('Installation completed successfully') || data.includes('Configuration completed successfully')) {

@@ -98,0 +97,0 @@ // Finding the python installation path from the log file

@@ -6,3 +6,3 @@ 'use strict';

var constants = require('./constants'
var constants = require('./constants');

@@ -15,3 +15,3 @@ /**

*/
);function getWorkDirectory() {
function getWorkDirectory() {
var homeDir = process.env.USERPROFILE || require('os').homedir();

@@ -18,0 +18,0 @@ var workDir = path.join(homeDir, '.windows-build-tools');

{
"name": "windows-build-tools",
"version": "1.3.1",
"version": "1.3.2",
"description": "Install C++ Build Tools for Windows using npm",

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

@@ -0,0 +0,0 @@ # Windows-Build-Tools

@@ -0,0 +0,0 @@ module.export = (function () {

@@ -0,0 +0,0 @@ var pythonMirror = process.env['npm_config_python_mirror'] || process.env.PYTHON_MIRROR || 'https://www.python.org/ftp/python/'

@@ -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'

@@ -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'

@@ -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'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc