@yozora/tokenizer-image 2.0.0-alpha.2 → 2.0.0-alpha.3

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,8 +1,8 @@
1
- import type { IImage, ImageType } from '@yozora/ast';
1
+ import type { Image, ImageType } from '@yozora/ast';
2
2
  import type { INodeInterval } from '@yozora/character';
3
3
  import type { IBaseInlineTokenizerProps, IPartialYastInlineToken, ITokenizer, IYastTokenDelimiter } from '@yozora/core-tokenizer';
4
4
  export declare type T = ImageType;
5
- export declare type INode = IImage;
5
+ export declare type INode = Image;
6
6
  export declare const uniqueName = "@yozora/tokenizer-image";
7
7
  /**
8
8
  * An image token.
@@ -1,8 +1,8 @@
1
- import type { IYastNode } from '@yozora/ast';
1
+ import type { Node } from '@yozora/ast';
2
2
  /**
3
3
  * calc alt
4
4
  * An image description has inline elements as its contents. When an image
5
5
  * is rendered to HTML, this is standardly used as the image’s alt attribute
6
6
  * @see https://github.github.com/gfm/#example-582
7
7
  */
8
- export declare function calcImageAlt(nodes: ReadonlyArray<IYastNode>): string;
8
+ export declare function calcImageAlt(nodes: ReadonlyArray<Node>): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozora/tokenizer-image",
3
- "version": "2.0.0-alpha.2",
3
+ "version": "2.0.0-alpha.3",
4
4
  "author": {
5
5
  "name": "guanghechen",
6
6
  "url": "https://github.com/guanghechen/"
@@ -35,10 +35,10 @@
35
35
  "test": "cross-env TS_NODE_FILES=true jest --config ../../jest.config.js --rootDir ."
36
36
  },
37
37
  "dependencies": {
38
- "@yozora/ast": "^2.0.0-alpha.2",
39
- "@yozora/character": "^2.0.0-alpha.2",
40
- "@yozora/core-tokenizer": "^2.0.0-alpha.2",
41
- "@yozora/tokenizer-link": "^2.0.0-alpha.2"
38
+ "@yozora/ast": "^2.0.0-alpha.3",
39
+ "@yozora/character": "^2.0.0-alpha.3",
40
+ "@yozora/core-tokenizer": "^2.0.0-alpha.3",
41
+ "@yozora/tokenizer-link": "^2.0.0-alpha.3"
42
42
  },
43
- "gitHead": "da59d85520455c59a117a35032ef1a035c10ea21"
43
+ "gitHead": "9f274fc7487a8c1dd213405d92508f9a7621f730"
44
44
  }