🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

@datadog/libdatadog

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datadog/libdatadog - npm Package Compare versions

Comparing version

to
0.1.6

@@ -55,6 +55,11 @@ 'use strict'

function findFolder (root) {
const folders = readdirSync(path.join(root, 'prebuilds'))
try {
const prebuilds = path.join(root, 'prebuilds')
const folders = readdirSync(prebuilds)
return folders.find(f => f === `${PLATFORM}${LIBC}-${ARCH}`)
|| folders.find(f => f === `${PLATFORM}-${ARCH}`)
return folders.find(f => f === `${PLATFORM}${LIBC}-${ARCH}`)
|| folders.find(f => f === `${PLATFORM}-${ARCH}`)
} catch (e) {
return null
}
}

@@ -61,0 +66,0 @@

{
"name": "@datadog/libdatadog",
"version": "0.1.4",
"version": "0.1.6",
"description": "Node.js binding for libdatadog",

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

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

Sorry, the diff of this file is not supported yet