simple-oracledb
Advanced tools
Comparing version 1.1.68 to 1.1.69
| Date | Version | Description | | ||
| ----------- | ------- | ----------- | | ||
| 2017-04-26 | v1.1.68 | Maintenance | | ||
| 2017-04-28 | v1.1.69 | Maintenance | | ||
| 2017-01-20 | v1.1.57 | connection.run, connection.transaction and oracledb.run actions can now return a promise instead of using a callback | | ||
@@ -5,0 +5,0 @@ | 2017-01-14 | v1.1.56 | pool.run actions now can return a promise instead of using a callback | |
'use strict'; | ||
var funcs = require('funcs-js'); | ||
/** | ||
@@ -15,11 +17,3 @@ * Wraps the provided callback and ensures it is called only once. | ||
if (callback) { | ||
var callbackCalled = false; | ||
onAsyncCallback = function (error, data) { | ||
if (!callbackCalled) { | ||
callbackCalled = true; | ||
callback(error, data); | ||
} | ||
}; | ||
onAsyncCallback = funcs.once(callback); | ||
} | ||
@@ -26,0 +20,0 @@ |
{ | ||
"name": "simple-oracledb", | ||
"version": "1.1.68", | ||
"version": "1.1.69", | ||
"description": "Extend capabilities of oracledb with simplified API for quicker development.", | ||
@@ -45,2 +45,3 @@ "author": { | ||
"event-emitter-enhancer": "latest", | ||
"funcs-js": "latest", | ||
"semver": "^5.3.0" | ||
@@ -47,0 +48,0 @@ }, |
@@ -1147,3 +1147,3 @@ # simple-oracledb | ||
| ----------- | ------- | ----------- | | ||
| 2017-04-26 | v1.1.68 | Maintenance | | ||
| 2017-04-28 | v1.1.69 | Maintenance | | ||
| 2017-01-20 | v1.1.57 | connection.run, connection.transaction and oracledb.run actions can now return a promise instead of using a callback | | ||
@@ -1150,0 +1150,0 @@ | 2017-01-14 | v1.1.56 | pool.run actions now can return a promise instead of using a callback | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
830634
5
17212
+ Addedfuncs-js@latest