@@ -104,8 +104,8 @@ version 2.0.
104
104
- Install a C Compiler with support for C++ 11 (such as Xcode,
105
105
GCC 4.8, Visual Studio 2015, or similar)
106
106
107
- - Run `npm install oracle/node-oracledb.git#v2.1.1 `, or add
108
- `oracle/node-oracledb.git#v2.1.1 ` to your `package.json`
107
+ - Run `npm install oracle/node-oracledb.git#v2.1.2 `, or add
108
+ `oracle/node-oracledb.git#v2.1.2 ` to your `package.json`
109
109
dependencies. Substitute your desired [GitHub tag][40].
110
110
111
111
- Add Oracle 12.2, 12.1 or 11.2 client libraries to your operating
@@ -1038,19 +1038,19 @@ export CC=gcc
1038
1038
```
1039
1039
1040
1040
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1041
- example ` v2.1.1 ` , and use the ` npm ` package manager (which is
1041
+ example ` v2.1.2 ` , and use the ` npm ` package manager (which is
1042
1042
included in Node.js) to install it.
1043
1043
1044
1044
If you have the ` git ` utility, you can install with:
1045
1045
1046
1046
```
1047
- npm install oracle/node-oracledb.git#v2.1.1
1047
+ npm install oracle/node-oracledb.git#v2.1.2
1048
1048
```
1049
1049
1050
1050
Otherwise install using:
1051
1051
1052
1052
```
1053
- npm install https://github.com/oracle/node-oracledb/releases/download/v2.1.1 /oracledb-src-2.1.1 .tgz
1053
+ npm install https://github.com/oracle/node-oracledb/releases/download/v2.1.2 /oracledb-src-2.1.2 .tgz
1054
1054
```
1055
1055
1056
1056
#### 3.9.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1161,19 +1161,19 @@ export MAKE=gmake
1161
1161
```
1162
1162
1163
1163
Locate the [ GitHub tag] [ 40 ] of the desired node-oracledb version, for
1164
- example ` v2.1.1 ` , and use the ` npm ` package manager (which is
1164
+ example ` v2.1.2 ` , and use the ` npm ` package manager (which is
1165
1165
included in Node.js) to install it.
1166
1166
1167
1167
If you have the ` git ` utility, you can install with:
1168
1168
1169
1169
```
1170
- npm install oracle/node-oracledb.git#v2.1.1
1170
+ npm install oracle/node-oracledb.git#v2.1.2
1171
1171
```
1172
1172
1173
1173
Otherwise install using:
1174
1174
1175
1175
```
1176
- npm install https://github.com/oracle/node-oracledb/releases/download/v2.1.1 /oracledb-src-2.1.1 .tgz
1176
+ npm install https://github.com/oracle/node-oracledb/releases/download/v2.1.2 /oracledb-src-2.1.2 .tgz
1177
1177
```
1178
1178
1179
1179
#### 3.10.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1280,12 +1280,12 @@ The `git` utility is required for this method.
1280
1280
1281
1281
Build node-oracledb from source code by changing the package specifier
1282
1282
so that ` npm ` downloads from GitHub instead of from npmjs.com. For
1283
- example, to install the code from the GitHub tag 'v2.1.1 ', add
1284
- ` oracle/node-oracledb#v2.1.1 ` to your ` package.json ` dependencies, or
1283
+ example, to install the code from the GitHub tag 'v2.1.2 ', add
1284
+ ` oracle/node-oracledb#v2.1.2 ` to your ` package.json ` dependencies, or
1285
1285
use the command:
1286
1286
1287
1287
```
1288
- npm install oracle/node-oracledb#v2.1.1
1288
+ npm install oracle/node-oracledb#v2.1.2
1289
1289
```
1290
1290
1291
1291
This will download, compile and install node-oracledb.
@@ -1299,7 +1299,7 @@ Users without `git`, or with older versions of `npm` such as included in
1299
1299
Node 4, may alternatively need to use pre-bundled source code:
1300
1300
1301
1301
```
1302
- npm install https://github.com/oracle/node-oracledb/releases/download/v2.1.1 /oracledb-src-2.1.1 .tgz
1302
+ npm install https://github.com/oracle/node-oracledb/releases/download/v2.1.2 /oracledb-src-2.1.2 .tgz
1303
1303
```
1304
1304
1305
1305
Note it may take some time before compilation begins due to the slow
@@ -1354,21 +1354,21 @@ of Node.js and operating system, you can install manually:
1354
1354
on the [ GitHub Release] [ 41 ] page.
1355
1355
1356
1356
Download the release's main node-oracledb package, for example
1357
- ` oracledb-2.1.1 .tgz ` .
1357
+ ` oracledb-2.1.2 .tgz ` .
1358
1358
1359
1359
Also download the appropriate binary package, for example
1360
- ` oracledb-v2.1.1 -node-v57-darwin-x64.gz ` . To determine the correct
1360
+ ` oracledb-v2.1.2 -node-v57-darwin-x64.gz ` . To determine the correct
1361
1361
binary package, find your Node.js module version, platform and
1362
1362
architecture using:
1363
1363
1364
1364
- ` node -p 'process.versions.modules' `
1365
1365
- ` node -p 'process.platform' `
1366
1366
- ` node -p 'process.arch' `
1367
1367
1368
- For example, when installing node-oracledb 2.1.1 on macOS with
1368
+ For example, when installing node-oracledb 2.1.2 on macOS with
1369
1369
Node.js 8, these commands will show the module version is '57', the
1370
1370
platform is 'darwin' and the architecture is 'x64'. The package to
1371
- download is ` oracledb-v2.1.1 -node-v57-darwin-x64.gz `
1371
+ download is ` oracledb-v2.1.2 -node-v57-darwin-x64.gz `
1372
1372
1373
1373
If an appropriate package is not available, follow the
1374
1374
[ Node-oracledb Installation Instructions] ( #instructions ) for your
@@ -1380,7 +1380,7 @@ of Node.js and operating system, you can install manually:
1380
1380
```
1381
1381
mkdir node_modules/oracledb
1382
1382
cd node_modules/oracledb
1383
- tar -xzf oracledb-2.1.1 .tgz
1383
+ tar -xzf oracledb-2.1.2 .tgz
1384
1384
```
1385
1385
1386
1386
The node_modules directory will contain:
@@ -1416,7 +1416,7 @@ of Node.js and operating system, you can install manually:
1416
1416
to unarchive the binary package, for example:
1417
1417
1418
1418
```
1419
- node extractpackage.js path=oracledb-v2.1.1 -node-v57-darwin-x64.gz
1419
+ node extractpackage.js path=oracledb-v2.1.2 -node-v57-darwin-x64.gz
1420
1420
```
1421
1421
1422
1422
- Create the subdirectory ` node_modules/oracledb/build/Release ` and
@@ -1432,7 +1432,7 @@ of Node.js and operating system, you can install manually:
1432
1432
1433
1433
Some companies block access to github.com so ` npm install oracledb `
1434
1434
will fail to download binaries, as will installing source code from
1435
- GitHub with ` npm install oracle/node-oracledb.git#v2.1.1 ` .
1435
+ GitHub with ` npm install oracle/node-oracledb.git#v2.1.2 ` .
1436
1436
1437
1437
There are two suggested methods for installation.
1438
1438
@@ -1456,16 +1456,16 @@ Alternatively you can compile the source code that is included in the
1456
1456
npm package:
1457
1457
1458
1458
- Download the node-oracledb package from npm, for example
1459
- ` https://registry.npmjs.com/oracledb/-/oracledb-2.1.1 .tgz `
1459
+ ` https://registry.npmjs.com/oracledb/-/oracledb-2.1.2 .tgz `
1460
1460
1461
1461
- Create a directory such as ` oracledb_build ` and extract the package
1462
1462
inside it:
1463
1463
1464
1464
```
1465
1465
mkdir oracledb_build
1466
- mv oracledb-2.1.1 .tgz oracledb_build
1466
+ mv oracledb-2.1.2 .tgz oracledb_build
1467
1467
cd oracledb_build
1468
- tar -xzf oracledb-2.1.1 .tgz
1468
+ tar -xzf oracledb-2.1.2 .tgz
1469
1469
```
1470
1470
1471
1471
The directory contents will be the same as shown in the previous
@@ -1520,7 +1520,7 @@ sudo ldconfig
1520
1520
Install the node-oracledb package:
1521
1521
1522
1522
```
1523
- yum install node-oracledb-12c-node8-2.1.1
1523
+ yum install node-oracledb-12c-node8-2.1.2
1524
1524
```
1525
1525
1526
1526
Since node-oracledb is installed globally, set ` NODE_PATH ` before
0 commit comments