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.23 to 1.0.24

13

index.js
#!/usr/bin/env node
'use strict';
var fs = require('fs');

@@ -8,2 +10,5 @@ var os = require('os');

var VERSION = require('./package.json').version;
var LOCATION = __filename;
/**

@@ -32,3 +37,3 @@ * Start a child process running the native clang-format binary.

// minimist & Co don't support single dash args, which we need to match binary clang-format.
console.log('clang-format NPM version', exports.version, 'at', exports.location);
console.log('clang-format NPM version', VERSION, 'at', LOCATION);
process.exit(0);

@@ -65,3 +70,3 @@ }

try {
exports.clangFormatLocation = resolve('clang-format', {basedir: basedir});
clangFormatLocation = resolve('clang-format', {basedir: basedir});
resolvedClangFormat = require(clangFormatLocation);

@@ -90,6 +95,6 @@ } catch (e) {

module.exports = clangFormat;
module.exports.version = require('./package.json').version;
module.exports.location = __filename;
module.exports.version = VERSION;
module.exports.location = LOCATION;
module.exports.spawnClangFormat = spawnClangFormat;
if (require.main === module) main();
{
"name": "clang-format",
"version": "1.0.23",
"version": "1.0.24",
"description": "node wrapper around clang-format",

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

@@ -12,4 +12,4 @@ {

"devDependencies": {
"clang-format": ">=1.0.22"
"clang-format": "1.0.22"
}
}

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