@sqb/mssql-dialect 4.19.5 → 4.20.0

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
@@ -18,12 +18,12 @@ SQB is an extensible, multi-dialect SQL query builder and Database connection wr
18
18
 
19
19
  ## Main goals
20
20
 
21
- - Single code base for any sql based database
22
- - Powerful and simplified query coding scheme
23
- - Fast applications with low memory requirements
24
- - Let applications work with large data tables efficiently
25
- - Support latest JavaScript language standards
26
- - Lightweight and extensible framework.
21
+ - Single code base for any sql based database
22
+ - Powerful and simplified query coding scheme
23
+ - Fast applications with low memory requirements
24
+ - Let applications work with large data tables efficiently
25
+ - Support latest JavaScript language standards
26
+ - Lightweight and extensible framework.
27
27
 
28
28
  You can report bugs and discuss features on the [GitHub issues](https://github.com/sqbjs/sqb/issues) page
29
29
 
@@ -39,7 +39,7 @@ $ npm install @sqb/mssql-dialect --save
39
39
 
40
40
  ## Node Compatibility
41
41
 
42
- - node >= 16.x
42
+ - node >= 16.x
43
43
 
44
44
  ### License
45
45
 
@@ -8,7 +8,7 @@ class MSSqlSerializer {
8
8
  this.dialect = 'mssql';
9
9
  }
10
10
  isReservedWord(ctx, s) {
11
- return s && typeof s === 'string' && reservedWords.includes(s.toLowerCase());
11
+ return (s && typeof s === 'string' && reservedWords.includes(s.toLowerCase()));
12
12
  }
13
13
  serialize(ctx, type, o, defFn) {
14
14
  switch (type) {
@@ -1,11 +1,11 @@
1
- import { SerializationType } from '@sqb/builder';
1
+ import { SerializationType, } from '@sqb/builder';
2
2
  const reservedWords = ['comment'];
3
3
  export class MSSqlSerializer {
4
4
  constructor() {
5
5
  this.dialect = 'mssql';
6
6
  }
7
7
  isReservedWord(ctx, s) {
8
- return s && typeof s === 'string' && reservedWords.includes(s.toLowerCase());
8
+ return (s && typeof s === 'string' && reservedWords.includes(s.toLowerCase()));
9
9
  }
10
10
  serialize(ctx, type, o, defFn) {
11
11
  switch (type) {
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@sqb/mssql-dialect",
3
3
  "description": "SQB serialization extension for MS-SQL database",
4
- "version": "4.19.5",
4
+ "version": "4.20.0",
5
5
  "author": "Panates",
6
6
  "license": "Apache-2.0",
7
7
  "dependencies": {
8
8
  "tslib": "^2.8.1"
9
9
  },
10
10
  "peerDependencies": {
11
- "@sqb/builder": "^4.19.5"
11
+ "@sqb/builder": "^4.20.0"
12
12
  },
13
13
  "type": "module",
14
14
  "exports": {
@@ -34,12 +34,11 @@
34
34
  ],
35
35
  "repository": {
36
36
  "type": "git",
37
- "url": "https://github.com/sqbjs/sqb.git",
37
+ "url": "https://github.com/panates/sqb.git",
38
38
  "directory": "packages/mssql-dialect"
39
39
  },
40
40
  "engines": {
41
- "node": ">=16.0",
42
- "npm": ">=7.0.0"
41
+ "node": ">=18.0"
43
42
  },
44
43
  "files": [
45
44
  "bin/",
@@ -58,5 +57,8 @@
58
57
  "dialect",
59
58
  "serializer",
60
59
  "database"
61
- ]
60
+ ],
61
+ "publishConfig": {
62
+ "access": "public"
63
+ }
62
64
  }