@gmod/bed 2.1.1 → 2.1.2

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/CHANGELOG.md CHANGED
@@ -1,31 +1,27 @@
1
- ## [2.1.1](https://github.com/GMOD/bed-js/compare/v2.1.0...v2.1.1) (2022-07-24)
1
+ ## [2.1.2](https://github.com/GMOD/bed-js/compare/v2.1.1...v2.1.2) (2022-07-24)
2
2
 
3
3
 
4
4
 
5
- - Make autoSql a public class field
5
+ - Add comment string to autoSql types
6
6
 
7
- # [2.1.0](https://github.com/GMOD/bed-js/compare/v2.0.8...v2.1.0) (2022-07-24)
7
+ ## [2.1.1](https://github.com/GMOD/bed-js/compare/v2.1.0...v2.1.1) (2022-07-24)
8
8
 
9
+ - Make autoSql a public class field
9
10
 
11
+ # [2.1.0](https://github.com/GMOD/bed-js/compare/v2.0.8...v2.1.0) (2022-07-24)
10
12
 
11
13
  - Typescriptify module and bump some devdeps
12
14
 
13
15
  ## [2.0.8](https://github.com/GMOD/bed-js/compare/v2.0.7...v2.0.8) (2022-03-30)
14
16
 
15
-
16
-
17
17
  - Publish src directory for better source maps
18
18
 
19
19
  ## [2.0.7](https://github.com/GMOD/bed-js/compare/v2.0.6...v2.0.7) (2022-03-07)
20
20
 
21
-
22
-
23
21
  - Add esm module export to package.json
24
22
 
25
23
  ## [2.0.6](https://github.com/GMOD/bed-js/compare/v2.0.5...v2.0.6) (2021-08-21)
26
24
 
27
-
28
-
29
25
  - Simplify build pipeline
30
26
 
31
27
  ## [2.0.5](https://github.com/GMOD/bed-js/compare/v2.0.4...v2.0.5) (2020-12-23)
package/dist/util.d.ts CHANGED
@@ -3,6 +3,7 @@ export interface AutoSqlPreSchema {
3
3
  size: number;
4
4
  type: string;
5
5
  name: string;
6
+ comment: string;
6
7
  }[];
7
8
  }
8
9
  export declare function detectTypes(autoSql: AutoSqlPreSchema): {
@@ -13,6 +14,7 @@ export declare function detectTypes(autoSql: AutoSqlPreSchema): {
13
14
  size: number;
14
15
  type: string;
15
16
  name: string;
17
+ comment: string;
16
18
  }[];
17
19
  };
18
20
  export declare type AutoSqlSchema = ReturnType<typeof detectTypes>;
package/esm/util.d.ts CHANGED
@@ -3,6 +3,7 @@ export interface AutoSqlPreSchema {
3
3
  size: number;
4
4
  type: string;
5
5
  name: string;
6
+ comment: string;
6
7
  }[];
7
8
  }
8
9
  export declare function detectTypes(autoSql: AutoSqlPreSchema): {
@@ -13,6 +14,7 @@ export declare function detectTypes(autoSql: AutoSqlPreSchema): {
13
14
  size: number;
14
15
  type: string;
15
16
  name: string;
17
+ comment: string;
16
18
  }[];
17
19
  };
18
20
  export declare type AutoSqlSchema = ReturnType<typeof detectTypes>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmod/bed",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "A BED file format parser with autoSql support",
5
5
  "main": "dist/index.js",
6
6
  "module": "esm/index.js",
package/src/util.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export interface AutoSqlPreSchema {
2
- fields: { size: number; type: string; name: string }[]
2
+ fields: { size: number; type: string; name: string; comment: string }[]
3
3
  }
4
4
 
5
5
  /*