@yozora/tokenizer-autolink-extension 2.3.14 → 2.3.16
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 +24 -0
- package/lib/types/index.d.ts +6 -6
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 2.3.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Full patch release pass 1 for version alignment to 2.3.16.
|
|
8
|
+
- Updated dependencies:
|
|
9
|
+
- @yozora/ast@2.3.16
|
|
10
|
+
- @yozora/character@2.3.16
|
|
11
|
+
- @yozora/core-tokenizer@2.3.16
|
|
12
|
+
- @yozora/tokenizer-autolink@2.3.16
|
|
13
|
+
|
|
14
|
+
## 2.3.15
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Patch release for packages with unreleased commits. Scope: all, patch.
|
|
19
|
+
- :wrench: chore(tooling): migrate eslint and rollup configs and align formatting
|
|
20
|
+
- :white_check_mark: test(ast-util): remove obsolete snapshots
|
|
21
|
+
- Updated dependencies:
|
|
22
|
+
- @yozora/ast@2.3.15
|
|
23
|
+
- @yozora/character@2.3.15
|
|
24
|
+
- @yozora/core-tokenizer@2.3.15
|
|
25
|
+
- @yozora/tokenizer-autolink@2.3.15
|
|
26
|
+
|
|
3
27
|
## 2.3.14
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/lib/types/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { AutolinkContentType } from '@yozora/tokenizer-autolink';
|
|
|
16
16
|
*
|
|
17
17
|
* @see https://github.github.com/gfm/#extended-email-autolink
|
|
18
18
|
*/
|
|
19
|
-
declare function eatExtendEmailAddress(nodePoints:
|
|
19
|
+
declare function eatExtendEmailAddress(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): IResultOfRequiredEater;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* An extended url autolink will be recognised when one of the schemes 'http://',
|
|
@@ -25,12 +25,12 @@ declare function eatExtendEmailAddress(nodePoints: ReadonlyArray<INodePoint>, st
|
|
|
25
25
|
*
|
|
26
26
|
* @see https://github.github.com/gfm/#extended-url-autolink
|
|
27
27
|
*/
|
|
28
|
-
declare function eatExtendedUrl(nodePoints:
|
|
28
|
+
declare function eatExtendedUrl(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): IResultOfRequiredEater;
|
|
29
29
|
/**
|
|
30
30
|
* An extended www autolink will be recognised when the text 'www.' is found
|
|
31
31
|
* followed by a valid domain
|
|
32
32
|
*/
|
|
33
|
-
declare function eatWWWDomain(nodePoints:
|
|
33
|
+
declare function eatWWWDomain(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): IResultOfRequiredEater;
|
|
34
34
|
/**
|
|
35
35
|
* Try to eat an optional domain follows.
|
|
36
36
|
*
|
|
@@ -41,20 +41,20 @@ declare function eatWWWDomain(nodePoints: ReadonlyArray<INodePoint>, startIndex:
|
|
|
41
41
|
* @param endIndex
|
|
42
42
|
* @see https://github.github.com/gfm/#extended-autolink-path-validation
|
|
43
43
|
*/
|
|
44
|
-
declare function eatOptionalDomainFollows(nodePoints:
|
|
44
|
+
declare function eatOptionalDomainFollows(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): IResultOfOptionalEater;
|
|
45
45
|
/**
|
|
46
46
|
* A valid domain consists of segments of alphanumeric characters,
|
|
47
47
|
* underscores (_) and hyphens (-) separated by periods (.).
|
|
48
48
|
*
|
|
49
49
|
* @see https://github.github.com/gfm/#valid-domain
|
|
50
50
|
*/
|
|
51
|
-
declare function eatValidDomain(nodePoints:
|
|
51
|
+
declare function eatValidDomain(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): IResultOfRequiredEater;
|
|
52
52
|
/**
|
|
53
53
|
* A valid domain segment consists of alphanumeric characters,
|
|
54
54
|
* underscores (_) and hyphens (-).
|
|
55
55
|
* @see https://github.github.com/gfm/#valid-domain
|
|
56
56
|
*/
|
|
57
|
-
declare function eatDomainSegment(nodePoints:
|
|
57
|
+
declare function eatDomainSegment(nodePoints: readonly INodePoint[], startIndex: number, endIndex: number): IResultOfRequiredEater & {
|
|
58
58
|
hasUnderscore: boolean;
|
|
59
59
|
};
|
|
60
60
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-autolink-extension",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.16",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "guanghechen",
|
|
6
6
|
"url": "https://github.com/guanghechen/"
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"README.md"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@yozora/ast": "^2.3.
|
|
35
|
-
"@yozora/
|
|
36
|
-
"@yozora/
|
|
37
|
-
"@yozora/
|
|
34
|
+
"@yozora/ast": "^2.3.16",
|
|
35
|
+
"@yozora/core-tokenizer": "^2.3.16",
|
|
36
|
+
"@yozora/tokenizer-autolink": "^2.3.16",
|
|
37
|
+
"@yozora/character": "^2.3.16"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "rollup -c ../../rollup.config.mjs",
|