clang-format
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -23,3 +23,4 @@ #!/usr/bin/env node | ||
function spawnClangFormat(args, done, stdio) { | ||
var nativeBinary = __dirname + '/bin/' + os.platform() + "_" + os.arch() + '/clang-format'; | ||
var extension = os.platform()=='win32' ? '.exe' : '' | ||
var nativeBinary = __dirname + '/bin/' + os.platform() + "_" + os.arch() + '/clang-format' + extension; | ||
if (!fs.existsSync(nativeBinary)) { | ||
@@ -26,0 +27,0 @@ message = "FATAL: This module doesn't bundle the clang-format executable for your platform. " + |
{ | ||
"name": "clang-format", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "node wrapper around clang-format", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 3 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5205103
10
47
4