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

@ccpm/oid

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ccpm/oid - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

cmake/npm.cmake

31

CMakeLists.txt

@@ -19,33 +19,6 @@ cmake_minimum_required(VERSION 3.6)

execute_process(COMMAND node index.js
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE DEPS_LIST_oid
)
include(cmake/npm.cmake)
if(DEPS_LIST_oid)
string(REPLACE "\n" ";" DEPS_LIST_oid ${DEPS_LIST_oid})
foreach(pkg ${DEPS_LIST_oid})
string(REPLACE "," ";" DEP_PATHS ${pkg})
list(GET DEP_PATHS 0 ABSOLUTE_PATH)
list(GET DEP_PATHS 1 RELATIVE_PATH)
get_property(CCPM_SOURCE_LIST GLOBAL PROPERTY "CCPM_SOURCE_LIST")
if(NOT CCPM_SOURCE_LIST)
set_property(GLOBAL PROPERTY "CCPM_SOURCE_LIST" "${ABSOLUTE_PATH}")
message("add_subdirectory: ${ABSOLUTE_PATH} ${RELATIVE_PATH}")
add_subdirectory(${ABSOLUTE_PATH} ${RELATIVE_PATH})
else()
list(FIND CCPM_SOURCE_LIST ${ABSOLUTE_PATH} FIND_INDEX)
if(${FIND_INDEX} MATCHES "-1")
set_property(GLOBAL PROPERTY "CCPM_SOURCE_LIST" "${CCPM_SOURCE_LIST};${ABSOLUTE_PATH}")
message("add_subdirectory: ${ABSOLUTE_PATH} ${RELATIVE_PATH}")
add_subdirectory(${ABSOLUTE_PATH} ${RELATIVE_PATH})
else()
message("found ${ABSOLUTE_PATH}")
endif()
endif()
endforeach()
endif()
if(CCPM_BUILD_TEST)
target_link_libraries(${TEST_EXE_NAME} cmocha)
endif()
endif()

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

const getDepPaths = require('@ccpm/dep-paths').getDepPaths
const paths = getDepPaths(__dirname)
paths.forEach(p => console.log(p))
// nothing
{
"name": "@ccpm/oid",
"version": "1.0.4",
"version": "1.0.5",
"description": "C implemention for MongoDB ObjectID",

@@ -21,4 +21,4 @@ "main": "index.js",

"@ccpm/cmocha": "^1.0.2",
"@ccpm/dep-paths": "^1.0.1"
"@ccpm/dep-paths": "^1.1.0"
}
}
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