@yozora/tokenizer-footnote-definition 2.0.6 → 2.1.1

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,5 +1,5 @@
1
1
  import { INodePoint, INodeInterval } from '@yozora/character';
2
- import { IPartialYastBlockToken, IYastBlockToken, ITokenizer, IBaseBlockTokenizerProps, IMatchBlockHookCreator, IParseBlockHookCreator, BaseBlockTokenizer, IBlockTokenizer } from '@yozora/core-tokenizer';
2
+ import { IPartialBlockToken, IBlockToken, ITokenizer, IBaseBlockTokenizerProps, IMatchBlockHookCreator, IParseBlockHookCreator, BaseBlockTokenizer, IBlockTokenizer } from '@yozora/core-tokenizer';
3
3
  import { FootnoteDefinitionType, FootnoteDefinition } from '@yozora/ast';
4
4
 
5
5
  /**
@@ -23,7 +23,7 @@ declare function eatFootnoteLabel(nodePoints: ReadonlyArray<INodePoint>, firstNo
23
23
  type T = FootnoteDefinitionType;
24
24
  type INode = FootnoteDefinition;
25
25
  declare const uniqueName = "@yozora/tokenizer-footnote-definition";
26
- interface IToken extends IPartialYastBlockToken<T> {
26
+ interface IToken extends IPartialBlockToken<T> {
27
27
  /**
28
28
  * Footnote label
29
29
  */
@@ -33,7 +33,7 @@ interface IToken extends IPartialYastBlockToken<T> {
33
33
  /**
34
34
  *
35
35
  */
36
- children: IYastBlockToken[];
36
+ children: IBlockToken[];
37
37
  /**
38
38
  * Resolved definition label.
39
39
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozora/tokenizer-footnote-definition",
3
- "version": "2.0.6",
3
+ "version": "2.1.1",
4
4
  "author": {
5
5
  "name": "guanghechen",
6
6
  "url": "https://github.com/guanghechen/"
@@ -39,9 +39,9 @@
39
39
  "test": "cross-env TS_NODE_FILES=true NODE_OPTIONS=--experimental-vm-modules jest --config ../../jest.config.mjs --rootDir ."
40
40
  },
41
41
  "dependencies": {
42
- "@yozora/ast": "^2.0.6",
43
- "@yozora/character": "^2.0.6",
44
- "@yozora/core-tokenizer": "^2.0.6"
42
+ "@yozora/ast": "^2.1.1",
43
+ "@yozora/character": "^2.1.1",
44
+ "@yozora/core-tokenizer": "^2.1.1"
45
45
  },
46
- "gitHead": "a263c5338103824347bac74d437051e9fbb6d791"
46
+ "gitHead": "257a36d8dc079d4ac226405c155b238e7099bcea"
47
47
  }
package/src/types.ts CHANGED
@@ -2,16 +2,16 @@ import type { FootnoteDefinition, FootnoteDefinitionType } from '@yozora/ast'
2
2
  import type { INodeInterval, INodePoint } from '@yozora/character'
3
3
  import type {
4
4
  IBaseBlockTokenizerProps,
5
- IPartialYastBlockToken,
5
+ IBlockToken,
6
+ IPartialBlockToken,
6
7
  ITokenizer,
7
- IYastBlockToken,
8
8
  } from '@yozora/core-tokenizer'
9
9
 
10
10
  export type T = FootnoteDefinitionType
11
11
  export type INode = FootnoteDefinition
12
12
  export const uniqueName = '@yozora/tokenizer-footnote-definition'
13
13
 
14
- export interface IToken extends IPartialYastBlockToken<T> {
14
+ export interface IToken extends IPartialBlockToken<T> {
15
15
  /**
16
16
  * Footnote label
17
17
  */
@@ -19,7 +19,7 @@ export interface IToken extends IPartialYastBlockToken<T> {
19
19
  /**
20
20
  *
21
21
  */
22
- children: IYastBlockToken[]
22
+ children: IBlockToken[]
23
23
  /**
24
24
  * Resolved definition label.
25
25
  */