Node-mssql: Warnings tedious

Created on 5 May 2018  路  6Comments  路  Source: tediousjs/node-mssql

tedious deprecated The IntN data type is internal and will be removed. node_modules\mssqllib\tedious.js:63:20

tedious deprecated The BitN data type is internal and will be removed. node_modules\mssqllib\tedious.js:71:40

tedious deprecated The FloatN data type is internal and will be removed. node_modules\mssqllib\tedious.js:73:20

tedious deprecated The MoneyN data type is internal and will be removed. node_modules\mssqllib\tedious.js:78:20

tedious deprecated The NumericN data type is internal and will be removed. node_modules\mssqllib\tedious.js:82:44

tedious deprecated The DecimalN data type is internal and will be removed. node_modules\mssqllib\tedious.js:83:44

tedious deprecated The DateTimeN data type is internal and will be removed. node_modules\mssqllib\tedious.js:85:20

tedious deprecated The TimeN data type alias is deprecated, please use Time instead. node_modules\mssqllib\tedious.js:88:20

tedious deprecated The DateN data type alias is deprecated, please use Date instead. node_modules\mssqllib\tedious.js:89:20

Most helpful comment

Fixed.

All 6 comments

Bump

Is there any way to hide them?

It doesn't look like you can hide them, the deprecation is coming from the tedious lib itself. In tedious.js if you remove references to the tds.TYPES.[PROBLEM_TYPE] in the switch statement the warnings go away.

I'm sure this may be considered a breaking change, but hey the full deprecation and removal will be breaking anyway.

I understand, thanks

Just looked through the outstanding pull requests and saw #643

Fixed.

Was this page helpful?
0 / 5 - 0 ratings