Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

idb-connector

Package Overview
Dependencies
Maintainers
5
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idb-connector - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

build/stage/1.2.6/db2ia-v1.2.6-napi3-ibmi-ppc64.tar.gz

2

package.json
{
"name": "idb-connector",
"version": "1.2.5",
"version": "1.2.6",
"description": "A Node.js DB2 driver for IBM i",

@@ -5,0 +5,0 @@ "os": [

@@ -162,3 +162,9 @@ const {expect} = require('chai');

});
it('disconnects if connected and frees the connection object ', () => {
const connection = new dbconn();
connection.conn('*LOCAL');
const result = connection.close();
expect(result).to.be.true;
});
});
});

@@ -400,6 +400,31 @@ const { expect } = require('chai');

cast(.999999999999999 as DECIMAL(15,15)) as DEC_SAFE_15_15,
cast(-3.4e38 as REAL) MIN_REAL,
cast(+3.4e38 as REAL) MAX_REAL,
cast(-12345.54321 as REAL) LONG_REAL,
cast(-1.18e-38 as REAL) MAX_NEG_REAL,
cast(+1.18e-38 as REAL) MIN_POS_REAL,
cast(-1.79e308 as DOUBLE) MIN_DOUBLE,
cast(+1.79e308 as DOUBLE) MAX_DOUBLE,
cast(-2.23e-308 as DOUBLE) MAX_NEG_DOUBLE,
cast(+2.23e-308 as DOUBLE) MIN_POS_DOUBLE,
--these values do not fit in a javascript number datatype
cast(-9223372036854775808 as BIGINT) MIN_BIGINT,
cast(+9223372036854775807 as BIGINT) MAX_BIGINT,
cast(9999999999999999 as DECIMAL(16,0)) as DEC_NOT_SAFE_16_0
cast(9999999999999999 as DECIMAL(16,0)) as DEC_NOT_SAFE_16_0,
cast(-9.999999999999999e384 as DECFLOAT(16)) MIN_DECFLOAT16,
cast(+9.999999999999999e384 as DECFLOAT(16)) MAX_DECFLOAT16,
cast(-1e-383 as DECFLOAT(16)) MAX_NEG_DECFLOAT16,
cast(+1e-383 as DECFLOAT(16)) MIN_POS_DECFLOAT16,
cast(-9.999999999999999999999999999999999e6144 as DECFLOAT(34)) MIN_DECFLOAT34,
cast(+9.999999999999999999999999999999999e6144 as DECFLOAT(34)) MAX_DECFLOAT34,
cast(-1e-6143 as DECFLOAT(34)) MAX_NEG_DECFLOAT34,
cast(+1e-6143 as DECFLOAT(34)) MIN_POS_DECFLOAT34,
cast( -999999999999999999999999999999999999999999999999999999999999999 AS DECIMAL(63)) AS MIN_DEC63,
cast( +999999999999999999999999999999999999999999999999999999999999999 AS DECIMAL(63)) AS MAX_DEC63,
cast(-.000000000000000000000000000000000000000000000000000000000000001 AS DECIMAL(63,63)) AS MAX_NEG_DEC63P63,
cast(+.000000000000000000000000000000000000000000000000000000000000001 AS DECIMAL(63,63)) AS MIN_POS_DEC63P63,
cast( -999999999999999999999999999999999999999999999999999999999999999 AS NUMERIC(63)) AS MIN_NUM63P0,
cast( +999999999999999999999999999999999999999999999999999999999999999 AS NUMERIC(63)) AS MAX_NUM63P0,
cast(-.000000000000000000000000000000000000000000000000000000000000001 AS NUMERIC(63,63)) AS MAX_NEG_NUM63P63,
cast(+.000000000000000000000000000000000000000000000000000000000000001 AS NUMERIC(63,63)) AS MIN_POS_NUM63P63
from sysibm.sysdummy1`;

@@ -420,5 +445,30 @@

"DEC_SAFE_15_15": 0.999999999999999,
"MIN_REAL": -3.4e38,
"MAX_REAL": 3.4e38,
"LONG_REAL": -12345.5,
"MAX_NEG_REAL": -1.18e-38,
"MIN_POS_REAL": 1.18e-38,
"MIN_DOUBLE": -1.79e308,
"MAX_DOUBLE": 1.79e308,
"MAX_NEG_DOUBLE": -2.23e-308,
"MIN_POS_DOUBLE": 2.23e-308,
"MIN_BIGINT": "-9223372036854775808",
"MAX_BIGINT": "9223372036854775807",
"DEC_NOT_SAFE_16_0": "9999999999999999"
"DEC_NOT_SAFE_16_0": "9999999999999999",
"MIN_DECFLOAT16": "-9.999999999999999E+384",
"MAX_DECFLOAT16": "9.999999999999999E+384",
"MAX_NEG_DECFLOAT16": "-1E-383",
"MIN_POS_DECFLOAT16": "1E-383",
"MIN_DECFLOAT34": "-9.999999999999999999999999999999999E+6144",
"MAX_DECFLOAT34": "9.999999999999999999999999999999999E+6144",
"MAX_NEG_DECFLOAT34": "-1E-6143",
"MIN_POS_DECFLOAT34": "1E-6143",
"MIN_DEC63": "-999999999999999999999999999999999999999999999999999999999999999",
"MAX_DEC63": "999999999999999999999999999999999999999999999999999999999999999",
"MAX_NEG_DEC63P63": "-.000000000000000000000000000000000000000000000000000000000000001",
"MIN_POS_DEC63P63": ".000000000000000000000000000000000000000000000000000000000000001",
"MIN_NUM63P0": "-999999999999999999999999999999999999999999999999999999999999999",
"MAX_NUM63P0": "999999999999999999999999999999999999999999999999999999999999999",
"MAX_NEG_NUM63P63": "-.000000000000000000000000000000000000000000000000000000000000001",
"MIN_POS_NUM63P63": ".000000000000000000000000000000000000000000000000000000000000001"
}]);

@@ -425,0 +475,0 @@ done();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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