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

detect-libc

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-libc - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

cli-family.js

@@ -0,3 +1,5 @@

#!/usr/bin/env node
'use strict';
process.stdout.write(require('./').family);

@@ -0,3 +1,5 @@

#!/usr/bin/env node
'use strict';
process.stdout.write(require('./').version);

4

index.js

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

family = 'musl';
version = ldd.stdout.split(/\n/)[1].trim().split(' ')[1];
version = ldd.stdout.split(/[\r\n]+/)[1].trim().split(/\s/)[1];
}

@@ -33,3 +33,3 @@ }

family = 'bsd';
version = otool.stdout.split(/\n/)[1].trim().split(' ')[6].replace(')', '');
version = otool.stdout.split(/[\r\n]+/)[1].trim().split(/\s/)[6].replace(')', '');
}

@@ -36,0 +36,0 @@ }

{
"name": "detect-libc",
"version": "0.0.1",
"version": "0.0.2",
"description": "Node.js module to detect the C standard library (libc) implementation family and version",

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

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