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.7 to 1.0.8

runner.js

10

index.js

@@ -1,2 +0,1 @@

#!/usr/bin/env node
var spawn = require('child_process').spawn;

@@ -44,10 +43,1 @@ var os = require('os');

module.exports.spawnClangFormat = spawnClangFormat;
if (require.main === module) {
try {
spawnClangFormat(process.argv.slice(2), process.exit, 'inherit');
} catch (e) {
process.stdout.write(e.message);
process.exit(1);
}
}
{
"name": "clang-format",
"version": "1.0.7",
"version": "1.0.8",
"description": "node wrapper around clang-format",

@@ -11,4 +11,5 @@ "repository": {

"bin": {
"clang-format": "index.js"
"clang-format": "runner.js"
},
"scripts": {"test": "./test.sh"},
"contributors": [

@@ -15,0 +16,0 @@ "Alex Eagle <alexeagle@google.com>",

@@ -12,1 +12,10 @@ # clang-format

(should be about 1.4MB as of mid-2015) and send a pull request to add it.
## Compiling clang-format
For Linux, compile a statically linked MinSizeRel build:
cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_BUILD_STATIC=true ..
ninja clang-format
For Mac OS X, static linking is not required.
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