sqb-serializer-oracle
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -1,2 +0,2 @@ | ||
/* sqb-connect-oracledb | ||
/* sqb-serializer-oracle | ||
------------------------ | ||
@@ -6,3 +6,3 @@ (c) 2017-present Panates | ||
For details and documentation: | ||
https://panates.github.io/sqb-connect-oracledb/ | ||
https://panates.github.io/sqb-serializer-oracle/ | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -27,6 +27,4 @@ /* sqb-serializer-oracle | ||
const proto = OracleSerializer.prototype = {}; | ||
proto.constructor = OracleSerializer; | ||
const proto = OracleSerializer.prototype; | ||
// noinspection JSMethodCanBeStatic,JSUnusedGlobalSymbols | ||
proto.isReserved = function(s) { | ||
@@ -36,3 +34,2 @@ return reservedWords.indexOf(String(s).toLowerCase()) >= 0; | ||
//noinspection JSUnusedGlobalSymbols,JSMethodCanBeStatic | ||
/** | ||
@@ -75,3 +72,2 @@ * @override | ||
//noinspection JSUnusedGlobalSymbols,JSMethodCanBeStatic | ||
/** | ||
@@ -84,3 +80,2 @@ * @override | ||
//noinspection JSUnusedGlobalSymbols,JSMethodCanBeStatic | ||
/** | ||
@@ -92,5 +87,5 @@ * @override | ||
if (!item.isRaw) { | ||
s = s.replace(/!= ?null/g, 'is not null') | ||
.replace(/= ?null/g, 'is null') | ||
.replace(/<> ?null/g, 'is not null'); | ||
s = s.replace(/!= *null/g, 'is not null') | ||
.replace(/= *null/g, 'is null') | ||
.replace(/<> *null/g, 'is not null'); | ||
} | ||
@@ -100,3 +95,2 @@ return s; | ||
//noinspection JSUnusedGlobalSymbols,JSMethodCanBeStatic | ||
/** | ||
@@ -112,3 +106,2 @@ * @override | ||
//noinspection JSUnusedGlobalSymbols,JSMethodCanBeStatic | ||
/** | ||
@@ -115,0 +108,0 @@ * @override |
{ | ||
"name": "sqb-serializer-oracle", | ||
"description": "SQB serialization plugin for Oracle database", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"author": "Panates Ltd.", | ||
@@ -23,4 +23,4 @@ "contributors": [ | ||
"devDependencies": { | ||
"babel-eslint": "^8.0.1", | ||
"eslint": "^4.9.0", | ||
"babel-eslint": "^8.0.2", | ||
"eslint": "^4.11.0", | ||
"eslint-config-google": "^0.9.1", | ||
@@ -31,3 +31,3 @@ "istanbul": "^0.4.5", | ||
"peerDependencies": { | ||
"sqb": "^0.10.0" | ||
"sqb": "^0.12.1" | ||
}, | ||
@@ -34,0 +34,0 @@ "engines": { |
@@ -15,3 +15,3 @@ # SQB-serializer-oracle | ||
- node `>= 6.x`; | ||
- node `>= 4.0`; | ||
@@ -18,0 +18,0 @@ ### License |
7335
122