@yozora/tokenizer-list 2.0.0-alpha.3 → 2.0.2-alpha.0

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/lib/cjs/index.js CHANGED
@@ -101,8 +101,8 @@ const match = function () {
101
101
  const token = {
102
102
  nodeType: ast.ListType,
103
103
  position: {
104
- start: coreTokenizer.calcStartYastNodePoint(nodePoints, startIndex),
105
- end: coreTokenizer.calcEndYastNodePoint(nodePoints, nextIndex - 1),
104
+ start: coreTokenizer.calcStartPoint(nodePoints, startIndex),
105
+ end: coreTokenizer.calcEndPoint(nodePoints, nextIndex - 1),
106
106
  },
107
107
  ordered,
108
108
  marker,
package/lib/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ListType, TaskStatus, ParagraphType, ListItemType } from '@yozora/ast';
2
- import { calcStartYastNodePoint, calcEndYastNodePoint, BaseBlockTokenizer, TokenizerPriority } from '@yozora/core-tokenizer';
2
+ import { calcStartPoint, calcEndPoint, BaseBlockTokenizer, TokenizerPriority } from '@yozora/core-tokenizer';
3
3
  import { isAsciiDigitCharacter, AsciiCodePoint, isAsciiLowerLetter, isAsciiUpperLetter, VirtualCodePoint, isSpaceCharacter, isWhitespaceCharacter } from '@yozora/character';
4
4
 
5
5
  const match = function () {
@@ -97,8 +97,8 @@ const match = function () {
97
97
  const token = {
98
98
  nodeType: ListType,
99
99
  position: {
100
- start: calcStartYastNodePoint(nodePoints, startIndex),
101
- end: calcEndYastNodePoint(nodePoints, nextIndex - 1),
100
+ start: calcStartPoint(nodePoints, startIndex),
101
+ end: calcEndPoint(nodePoints, nextIndex - 1),
102
102
  },
103
103
  ordered,
104
104
  marker,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yozora/tokenizer-list",
3
- "version": "2.0.0-alpha.3",
3
+ "version": "2.0.2-alpha.0",
4
4
  "author": {
5
5
  "name": "guanghechen",
6
6
  "url": "https://github.com/guanghechen/"
@@ -35,9 +35,9 @@
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.3",
39
- "@yozora/character": "^2.0.0-alpha.3",
40
- "@yozora/core-tokenizer": "^2.0.0-alpha.3"
38
+ "@yozora/ast": "^2.0.2-alpha.0",
39
+ "@yozora/character": "^2.0.2-alpha.0",
40
+ "@yozora/core-tokenizer": "^2.0.2-alpha.0"
41
41
  },
42
- "gitHead": "9f274fc7487a8c1dd213405d92508f9a7621f730"
42
+ "gitHead": "430eaabd83f4a1ee29398ee1798aa4511976c38f"
43
43
  }