bbcode-compiler 0.1.8 → 0.1.10

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.
@@ -1,6 +1,5 @@
1
1
  import { RootNode } from '../parser/AstNode.js';
2
2
  import { Transform } from './transforms/Transform.js';
3
-
4
3
  export declare class Generator {
5
4
  transforms: ReadonlyMap<string, Transform>;
6
5
  constructor(transforms?: readonly Transform[]);
@@ -1 +1 @@
1
- {"version":3,"file":"Generator.d.ts","sourceRoot":"","sources":["../../src/generator/Generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAGrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAE1D,qBAAa,SAAS;IAClB,UAAU,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;gBAE9B,UAAU,uBAAiB;IAIvC,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM;CA+CnC"}
1
+ {"version":3,"file":"Generator.d.ts","sourceRoot":"","sources":["../../src/generator/Generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAGxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAE1D,qBAAa,SAAS;IAClB,UAAU,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;gBAE9B,UAAU,uBAAiB;IAIvC,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM;CA+CnC"}
@@ -1,5 +1,4 @@
1
1
  import { TagNode } from '../../parser/AstNode.js';
2
-
3
2
  export type Transform = {
4
3
  name: string;
5
4
  skipChildren?: boolean;
@@ -1,4 +1,3 @@
1
1
  import { Transform } from './Transform.js';
2
-
3
2
  export declare const htmlTransforms: ReadonlyArray<Transform>;
4
3
  //# sourceMappingURL=htmlTransforms.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import { TagNode } from '../../parser/AstNode.js';
2
-
3
2
  /**
4
3
  * Gets the text of the immediate attribute of the current TagNode
5
4
  *
@@ -1,5 +1,4 @@
1
1
  import { TagNode } from '../../parser/AstNode.js';
2
-
3
2
  /**
4
3
  * Gets the text of the immediate descendant of the current TagNode
5
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"getTagImmediateText.d.ts","sourceRoot":"","sources":["../../../src/generator/utils/getTagImmediateText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAG9D;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAoBxE"}
1
+ {"version":3,"file":"getTagImmediateText.d.ts","sourceRoot":"","sources":["../../../src/generator/utils/getTagImmediateText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAGjD;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAoBxE"}
@@ -1,5 +1,4 @@
1
1
  import { TagNode } from '../../parser/AstNode.js';
2
-
3
2
  /**
4
3
  * Gets the width/height attributes of the TagNode if they exist
5
4
  *
@@ -1,5 +1,4 @@
1
1
  import { TagNode } from '../../parser/AstNode.js';
2
-
3
2
  /**
4
3
  * Determines if the StartTag has an attribute of "1" to indicate that it's an ordered list
5
4
  *