New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@duckdb/node-api

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@duckdb/node-api - npm Package Compare versions

Comparing version 1.1.3-alpha.5 to 1.1.3-alpha.6

9

lib/DuckDBInstance.js

@@ -15,4 +15,6 @@ "use strict";

static async create(path, options) {
const config = node_bindings_1.default.create_config();
// Set the default duckdb_api value for the api. Can be overridden.
node_bindings_1.default.set_config(config, 'duckdb_api', 'node-neo-api');
if (options) {
const config = node_bindings_1.default.create_config();
for (const optionName in options) {

@@ -22,7 +24,4 @@ const optionValue = String(options[optionName]);

}
return new DuckDBInstance(await node_bindings_1.default.open(path, config));
}
else {
return new DuckDBInstance(await node_bindings_1.default.open(path));
}
return new DuckDBInstance(await node_bindings_1.default.open(path, config));
}

@@ -29,0 +28,0 @@ async connect() {

{
"name": "@duckdb/node-api",
"version": "1.1.3-alpha.5",
"version": "1.1.3-alpha.6",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"dependencies": {
"@duckdb/node-bindings": "1.1.3-alpha.5"
"@duckdb/node-bindings": "1.1.3-alpha.6"
},

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

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