node-firebird 1.1.5 → 1.1.8

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/README.md CHANGED
@@ -3,7 +3,6 @@
3
3
  ![Firebird Logo](https://firebirdsql.org/file/about/firebird-logo-90.png)
4
4
 
5
5
  [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![Mozilla License][license-image]][license-url]
6
- [![Build Status](https://travis-ci.org/mariuz/node-firebird.svg?branch=master)](https://travis-ci.org/mariuz/node-firebird)
7
6
 
8
7
  [![NPM](https://nodei.co/npm/node-firebird.png?downloads=true&downloadRank=true)](https://nodei.co/npm/node-firebird/)
9
8
 
@@ -69,6 +68,7 @@ options.pageSize = 4096; // default when creating database
69
68
  options.pageSize = 4096; // default when creating database
70
69
  options.retryConnectionInterval = 1000; // reconnect interval in case of connection drop
71
70
  options.blobAsText = false; // set to true to get blob as text, only affects blob subtype 1
71
+ options.encoding = 'UTF-8'; // default encoding for connection is UTF-8
72
72
  ```
73
73
 
74
74
  ### Classic
package/lib/index.d.ts CHANGED
@@ -63,6 +63,7 @@ declare module 'node-firebird' {
63
63
  'DOS869' |
64
64
  'GB18030' |
65
65
  'GBK' |
66
+ 'ISO8859_1' |
66
67
  'ISO8859_2' |
67
68
  'ISO8859_3' |
68
69
  'ISO8859_4' |
@@ -76,6 +77,10 @@ declare module 'node-firebird' {
76
77
  'KOI8U' |
77
78
  'TIS620' |
78
79
  'UTF8' |
80
+ 'WIN1251' |
81
+ 'WIN1252' |
82
+ 'WIN1253' |
83
+ 'WIN1254' |
79
84
  'WIN1255' |
80
85
  'WIN1256' |
81
86
  'WIN1257' |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-firebird",
3
- "version": "1.1.5",
3
+ "version": "1.1.8",
4
4
  "description": "Pure JavaScript and Asynchronous Firebird client for Node.js.",
5
5
  "keywords": [
6
6
  "firebird",
@@ -23,21 +23,16 @@
23
23
  ],
24
24
  "main": "./lib",
25
25
  "types": "./lib/index.d.ts",
26
- "licenses": [
27
- {
28
- "type": "MPL-2.0",
29
- "url": "https://github.com/hgourvest/node-firebird/blob/master/LICENSE"
30
- }
31
- ],
26
+ "license": "MPL-2.0",
32
27
  "scripts": {
33
28
  "test": "mocha"
34
29
  },
35
30
  "dependencies": {
36
- "big-integer": "^1.6.48",
37
- "long": "^4.0.0"
31
+ "big-integer": "^1.6.51",
32
+ "long": "^5.2.3"
38
33
  },
39
34
  "devDependencies": {
40
- "coveralls": "^3.0.1",
35
+ "coveralls-next": "^4.2.0",
41
36
  "mocha": "^10.2.0",
42
37
  "nyc": "^15.0.1"
43
38
  }