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

clang-format

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clang-format - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

bin/win32/clang-format.exe

8

index.js

@@ -23,4 +23,8 @@ #!/usr/bin/env node

function spawnClangFormat(args, done, stdio) {
var extension = os.platform()=='win32' ? '.exe' : ''
var nativeBinary = __dirname + '/bin/' + os.platform() + "_" + os.arch() + '/clang-format' + extension;
var nativeBinary;
if (os.platform() === 'win32') {
nativeBinary = __dirname + '/bin/win32/clang-format.exe';
} else {
nativeBinary = __dirname + '/bin/' + os.platform() + "_" + os.arch() + '/clang-format';
}
if (!fs.existsSync(nativeBinary)) {

@@ -27,0 +31,0 @@ message = "FATAL: This module doesn't bundle the clang-format executable for your platform. " +

{
"name": "clang-format",
"version": "1.0.12",
"version": "1.0.13",
"description": "node wrapper around clang-format",

@@ -5,0 +5,0 @@ "repository": {

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