@yozora/tokenizer-admonition 2.1.1 → 2.1.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.
- package/LICENSE +1 -1
- package/lib/cjs/index.cjs +5 -1
- package/package.json +6 -6
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2020-
|
|
3
|
+
Copyright (c) 2020-2023 guanghechen (https://github.com/guanghechen)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/lib/cjs/index.cjs
CHANGED
|
@@ -7,6 +7,10 @@ var ast = require('@yozora/ast');
|
|
|
7
7
|
var character = require('@yozora/character');
|
|
8
8
|
var coreTokenizer = require('@yozora/core-tokenizer');
|
|
9
9
|
|
|
10
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
|
|
12
|
+
var FencedBlockTokenizer__default = /*#__PURE__*/_interopDefault(FencedBlockTokenizer);
|
|
13
|
+
|
|
10
14
|
const match = function (api) {
|
|
11
15
|
const hook = FencedBlockTokenizer.fencedBlockMatch.call(this, api);
|
|
12
16
|
return {
|
|
@@ -60,7 +64,7 @@ const parse = function (api) {
|
|
|
60
64
|
|
|
61
65
|
const uniqueName = '@yozora/tokenizer-admonition';
|
|
62
66
|
|
|
63
|
-
class AdmonitionTokenizer extends
|
|
67
|
+
class AdmonitionTokenizer extends FencedBlockTokenizer__default.default {
|
|
64
68
|
constructor(props = {}) {
|
|
65
69
|
super({
|
|
66
70
|
name: props.name ?? uniqueName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-admonition",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Tokenizer for processing admonitions",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "guanghechen",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test": "cross-env TS_NODE_FILES=true NODE_OPTIONS=--experimental-vm-modules jest --config ../../jest.config.mjs --rootDir ."
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@yozora/ast": "^2.1.
|
|
50
|
-
"@yozora/character": "^2.1.
|
|
51
|
-
"@yozora/core-tokenizer": "^2.1.
|
|
52
|
-
"@yozora/tokenizer-fenced-block": "^2.1.
|
|
49
|
+
"@yozora/ast": "^2.1.3",
|
|
50
|
+
"@yozora/character": "^2.1.3",
|
|
51
|
+
"@yozora/core-tokenizer": "^2.1.3",
|
|
52
|
+
"@yozora/tokenizer-fenced-block": "^2.1.3"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "9abaaff74a12d0bae0f645813241ff947a0d828c"
|
|
55
55
|
}
|