
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
oracle-gopher
Advanced tools
Boilerplate Node.js middleware that facilitates connections and transactions with Oracle databases.
Boilerplate Node.js middleware that facilitates connections and transactions with Oracle databases.
Download the following TWO Oracle Instant Client Packages (here: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html ). Please make sure to download the correct packages for your system architecture (i.e. 64 bit vs 32 bit)
Instant Client Package - Basic or Basic Lite: Contains files required to run OCI, OCCI, and JDBC-OCI applications
Instant Client Package - SDK: Contains additional header files and an example makefile for developing Oracle applications with Instant Client
From a terminal window:
unzip instantclient-basic-macos.x64-11.2.0.4.0.zip -d /oracle
unzip instantclient-sdk-macos.x64-11.2.0.3.0.zip -d /oracle
##### Oracle Instant Client 11.2 #####
OCI_HOME=/oracle/instantclient_11_2
OCI_LIB_DIR=$OCI_HOME
OCI_INC_DIR=$OCI_HOME/sdk/include
OCI_INCLUDE_DIR=$OCI_HOME/sdk/include
OCI_VERSION=11
DYLD_LIBRARY_PATH=$OCI_LIB_DIR
cd /oracle/instantclient_11_2
ln -s libclntsh.dylib.11.1 libclntsh.dylib
ln -s libocci.dylib.11.1 libocci.dylib
npm install oracle-gopher
var Gopher = require('oracle-gopher');
var tunnel = {
user : "USERNAME", //mandatory
password : "PASSWORD", //mandatory
connectString : "HOST:PORT/SERVICE" //mandatory
};
var gopher = new Gopher(tunnel);
/*-------------------------------Foraging for Data-------------------------------*/
//Set Foraging Instructions via the Garden Object:
var garden = {
dbStatement : "SELECT dummy FROM DUAL WHERE dummy = :DummyValue", //mandatory
outputFormat : "array", //not mandatory. will use default if not explicitly set.
maxRowsReturned : 100, //not mandatory. will use default if not explicitly set.
bindVariables : {"DummyValue" : "X"} //not mandatory. use in conjunction with dbStatement when bind variables are present.
};
// Send Gopher on it's way to return with data...
gopher.forage(garden,
function(err,result){
if (err) {
return console.log(err);
}
return console.log(result);
}
);
FAQs
Boilerplate Node.js middleware that facilitates connections and transactions with Oracle databases.
The npm package oracle-gopher receives a total of 3 weekly downloads. As such, oracle-gopher popularity was classified as not popular.
We found that oracle-gopher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.