tedious 20.3.2 → 20.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +11 -21
- package/lib/connection.js +8 -1
- package/lib/connection.js.map +1 -1
- package/lib/data-types/plp-stream.d.ts +1 -1
- package/lib/data-types/plp-stream.js +12 -9
- package/lib/data-types/plp-stream.js.map +1 -1
- package/lib/data-types/varchar.js +9 -14
- package/lib/data-types/varchar.js.map +1 -1
- package/lib/metadata-parser.d.ts +1 -3
- package/lib/metadata-parser.js +1 -22
- package/lib/metadata-parser.js.map +1 -1
- package/lib/request.d.ts +4 -5
- package/lib/request.js +5 -6
- package/lib/request.js.map +1 -1
- package/lib/token/colmetadata-token-parser.d.ts +11 -3
- package/lib/token/colmetadata-token-parser.js +29 -42
- package/lib/token/colmetadata-token-parser.js.map +1 -1
- package/lib/token/nbcrow-token-parser.d.ts +11 -3
- package/lib/token/nbcrow-token-parser.js +22 -89
- package/lib/token/nbcrow-token-parser.js.map +1 -1
- package/lib/token/returnvalue-token-parser.d.ts +19 -3
- package/lib/token/returnvalue-token-parser.js +67 -73
- package/lib/token/returnvalue-token-parser.js.map +1 -1
- package/lib/token/row-token-parser.d.ts +33 -3
- package/lib/token/row-token-parser.js +62 -60
- package/lib/token/row-token-parser.js.map +1 -1
- package/lib/token/stream-parser.d.ts +59 -27
- package/lib/token/stream-parser.js +157 -325
- package/lib/token/stream-parser.js.map +1 -1
- package/lib/token/token-stream-parser.d.ts +12 -5
- package/lib/token/token-stream-parser.js +46 -17
- package/lib/token/token-stream-parser.js.map +1 -1
- package/lib/value-parser.d.ts +19 -2
- package/lib/value-parser.js +73 -30
- package/lib/value-parser.js.map +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,26 +2,21 @@
|
|
|
2
2
|
[](http://badge.fury.io/js/tedious) [](https://ci.appveyor.com/project/tediousjs/tedious) [](https://codecov.io/gh/tediousjs/tedious)
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
Tedious is a pure-Javascript implementation of the [TDS protocol](
|
|
5
|
+
Tedious is a pure-Javascript implementation of the [TDS protocol](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tds/b46a581a-39de-4745-b076-ec4dbb7d13ec),
|
|
6
6
|
which is used to interact with instances of Microsoft's SQL Server. It is intended to be a fairly slim implementation of the protocol, with not too much additional functionality.
|
|
7
7
|
|
|
8
|
-
**NOTE: New columns are nullable by default as of version 1.11.0**
|
|
9
|
-
|
|
10
|
-
Previous behavior can be restored using `config.options.enableAnsiNullDefault = false`. See [pull request 230](https://github.com/tediousjs/tedious/pull/230).
|
|
11
|
-
|
|
12
|
-
**NOTE: Default login behavior has changed slightly as of version 1.2**
|
|
13
|
-
|
|
14
8
|
See the [changelog](https://github.com/tediousjs/tedious/releases) for version history.
|
|
15
9
|
|
|
16
|
-
|
|
17
10
|
### Supported TDS versions
|
|
18
11
|
|
|
19
|
-
- TDS 7.4 (SQL Server 2012/2014/2016/2017/2019/2022)
|
|
12
|
+
- TDS 7.4 (SQL Server 2012/2014/2016/2017/2019/2022/2025)
|
|
20
13
|
- TDS 7.3.B (SQL Server 2008 R2)
|
|
21
14
|
- TDS 7.3.A (SQL Server 2008)
|
|
22
15
|
- TDS 7.2 (SQL Server 2005)
|
|
23
16
|
- TDS 7.1 (SQL Server 2000) - *deprecated, support will be removed in a future version*
|
|
24
17
|
|
|
18
|
+
TDS 8.0 (SQL Server 2022 and later) is supported by setting `options.encrypt` to `'strict'`.
|
|
19
|
+
|
|
25
20
|
## Installation
|
|
26
21
|
|
|
27
22
|
Node.js is a prerequisite for installing tedious. Once you have installed [Node.js](https://nodejs.org/), installing tedious is simple:
|
|
@@ -29,11 +24,12 @@ Node.js is a prerequisite for installing tedious. Once you have installed [Node.
|
|
|
29
24
|
npm install tedious
|
|
30
25
|
|
|
31
26
|
## Getting Started
|
|
32
|
-
- [Node.js
|
|
33
|
-
- [Node.js +
|
|
34
|
-
- [Node.js +
|
|
35
|
-
- [Node.js +
|
|
36
|
-
- [Node.js +
|
|
27
|
+
- [Node.js SQL Server Guide](https://learn.microsoft.com/en-us/sql/connect/node-js/node-js-driver-for-sql-server)
|
|
28
|
+
- [Node.js + macOS](https://learn.microsoft.com/en-us/sql/connect/node-js/step-1-configure-development-environment-for-node-js-development#macos)
|
|
29
|
+
- [Node.js + Red Hat Enterprise Linux](https://learn.microsoft.com/en-us/sql/linux/install-upgrade/quickstart-install-red-hat)
|
|
30
|
+
- [Node.js + SUSE Linux Enterprise Server](https://learn.microsoft.com/en-us/sql/linux/install-upgrade/quickstart-install-suse)
|
|
31
|
+
- [Node.js + Ubuntu](https://learn.microsoft.com/en-us/sql/connect/node-js/step-1-configure-development-environment-for-node-js-development#ubuntu-linux)
|
|
32
|
+
- [Node.js + Windows](https://learn.microsoft.com/en-us/sql/connect/node-js/step-1-configure-development-environment-for-node-js-development#windows)
|
|
37
33
|
|
|
38
34
|
<a name="documentation"></a>
|
|
39
35
|
## Documentation
|
|
@@ -43,12 +39,6 @@ More documentation and code samples are available at [tediousjs.github.io/tediou
|
|
|
43
39
|
## Name
|
|
44
40
|
_Tedious_ is simply derived from a fast, slightly garbled, pronunciation of the letters T, D and S.
|
|
45
41
|
|
|
46
|
-
## Developer Survey
|
|
47
|
-
|
|
48
|
-
We'd like to learn more about how you use tedious:
|
|
49
|
-
|
|
50
|
-
<a href="https://aka.ms/mssqltedioussurvey"><img style="float: right;" height="67" width="156" src="https://sqlchoice.blob.core.windows.net/sqlchoice/static/images/survey.png"></a>
|
|
51
|
-
|
|
52
42
|
<a name="contributing"></a>
|
|
53
43
|
## Contributing
|
|
54
44
|
We welcome contributions from the community. Feel free to checkout the code and submit pull requests.
|
|
@@ -59,7 +49,7 @@ Please report security vulnerabilities privately. See our [security policy](SECU
|
|
|
59
49
|
<a name="license"></a>
|
|
60
50
|
## License
|
|
61
51
|
|
|
62
|
-
Copyright (c) 2010-
|
|
52
|
+
Copyright (c) 2010-2026 Mike D Pilsbury
|
|
63
53
|
|
|
64
54
|
The MIT License
|
|
65
55
|
|