gff-nostream 1.3.3 → 1.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/dist/api.d.ts CHANGED
@@ -1,24 +1,4 @@
1
1
  import { GFF3Feature } from './util';
2
- /** Parser options */
3
- export interface ParseOptions {
4
- /** Whether to resolve references to derives from features */
5
- disableDerivesFromReferences?: boolean;
6
- /** Text encoding of the input GFF3. default 'utf8' */
7
- encoding?: BufferEncoding;
8
- /** Whether to parse features, default true */
9
- parseFeatures?: boolean;
10
- /** Whether to parse directives, default false */
11
- parseDirectives?: boolean;
12
- /** Whether to parse comments, default false */
13
- parseComments?: boolean;
14
- /** Whether to parse sequences, default true */
15
- parseSequences?: boolean;
16
- /**
17
- * Parse all features, directives, comments, and sequences. Overrides other
18
- * parsing options. Default false.
19
- */
20
- parseAll?: boolean;
21
- }
22
2
  /**
23
3
  * Synchronously parse a string containing GFF3 and return an array of the
24
4
  * parsed items.
package/dist/api.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":";;;;;AAyCA,0CAgBC;AAzDD,oDAA4B;AAiC5B;;;;;;;GAOG;AACH,SAAgB,eAAe,CAAC,GAAW;IACzC,MAAM,KAAK,GAAkB,EAAE,CAAA;IAC/B,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC;QACxB,eAAe,EAAE,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;QACvC,4BAA4B,EAAE,IAAI;QAClC,aAAa,EAAE,GAAG,CAAC,EAAE;YACnB,MAAM,GAAG,CAAA;QACX,CAAC;KACF,CAAC,CAAA;IAEF,KAAK,MAAM,IAAI,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;QACtC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IACtB,CAAC;IACD,MAAM,CAAC,MAAM,EAAE,CAAA;IAEf,OAAO,KAAK,CAAA;AACd,CAAC"}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":";;;;;AAWA,0CAgBC;AA3BD,oDAA4B;AAG5B;;;;;;;GAOG;AACH,SAAgB,eAAe,CAAC,GAAW;IACzC,MAAM,KAAK,GAAkB,EAAE,CAAA;IAC/B,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC;QACxB,eAAe,EAAE,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;QACvC,4BAA4B,EAAE,IAAI;QAClC,aAAa,EAAE,GAAG,CAAC,EAAE;YACnB,MAAM,GAAG,CAAA;QACX,CAAC;KACF,CAAC,CAAA;IAEF,KAAK,MAAM,IAAI,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;QACtC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IACtB,CAAC;IACD,MAAM,CAAC,MAAM,EAAE,CAAA;IAEf,OAAO,KAAK,CAAA;AACd,CAAC"}
package/esm/api.d.ts CHANGED
@@ -1,24 +1,4 @@
1
1
  import { GFF3Feature } from './util';
2
- /** Parser options */
3
- export interface ParseOptions {
4
- /** Whether to resolve references to derives from features */
5
- disableDerivesFromReferences?: boolean;
6
- /** Text encoding of the input GFF3. default 'utf8' */
7
- encoding?: BufferEncoding;
8
- /** Whether to parse features, default true */
9
- parseFeatures?: boolean;
10
- /** Whether to parse directives, default false */
11
- parseDirectives?: boolean;
12
- /** Whether to parse comments, default false */
13
- parseComments?: boolean;
14
- /** Whether to parse sequences, default true */
15
- parseSequences?: boolean;
16
- /**
17
- * Parse all features, directives, comments, and sequences. Overrides other
18
- * parsing options. Default false.
19
- */
20
- parseAll?: boolean;
21
- }
22
2
  /**
23
3
  * Synchronously parse a string containing GFF3 and return an array of the
24
4
  * parsed items.
package/esm/api.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceR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A;AACd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gff-nostream",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "utilities to read GFF3 data",
5
5
  "license": "MIT",
6
6
  "repository": "cmdcolin/gff-nostream",
package/src/api.ts CHANGED
@@ -1,35 +1,5 @@
1
1
  import Parser from './parse'
2
- import {
3
- GFF3Comment,
4
- GFF3Directive,
5
- GFF3Feature,
6
- GFF3Item,
7
- GFF3Sequence,
8
- parseFeature,
9
- } from './util'
10
-
11
- /** Parser options */
12
- export interface ParseOptions {
13
- /** Whether to resolve references to derives from features */
14
- disableDerivesFromReferences?: boolean
15
- /** Text encoding of the input GFF3. default 'utf8' */
16
- encoding?: BufferEncoding
17
- /** Whether to parse features, default true */
18
- parseFeatures?: boolean
19
- /** Whether to parse directives, default false */
20
- parseDirectives?: boolean
21
- /** Whether to parse comments, default false */
22
- parseComments?: boolean
23
- /** Whether to parse sequences, default true */
24
- parseSequences?: boolean
25
- /**
26
- * Parse all features, directives, comments, and sequences. Overrides other
27
- * parsing options. Default false.
28
- */
29
- parseAll?: boolean
30
- }
31
-
32
- type ParseOptionsProcessed = Required<Omit<ParseOptions, 'parseAll'>>
2
+ import { GFF3Feature } from './util'
33
3
 
34
4
  /**
35
5
  * Synchronously parse a string containing GFF3 and return an array of the