markdown-it-any-block 3.2.3-beta3 → 3.2.3-beta5
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/README.md +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -298,7 +298,8 @@ Error [ERR_MODULE_NOT_FOUND]: Cannot find module
|
|
|
298
298
|
import { ab_mdit } from "./plugins/ABConvertManager/MarkdownIt/dist/mdit-any-block.js" // 编译版vite (成功)
|
|
299
299
|
// import { ab_mdit, jsdom_init_ } from "./plugins/ABConvertManager/MarkdownIt/index.js" // 源码版 (成功)
|
|
300
300
|
// import { ab_mdit, jsdom_init_ } from "./plugins/ABConvertManager/MarkdownIt/index.js" // 源码版 (成功)
|
|
301
|
-
// import { ab_mdit, jsdom_init_ } from "markdown-it-any-block" // npm-rsup (使用报错:TypeError: Cannot read properties of undefined (reading 'prototype'))
|
|
301
|
+
// import { ab_mdit, jsdom_init_ } from "markdown-it-any-block" // npm-rsup (使用报错:TypeError: Cannot read properties of undefined (reading 'prototype') 在 `safer.Buffer.prototype = Buffer$1.prototype;`)
|
|
302
|
+
// import { ab_mdit, jsdom_init_ } from "markdown-it-any-block" // npm-vite (有概率失败,错误同上。"build": "pnpm build_vite")
|
|
302
303
|
// import { ab_mdit, jsdom_init_ } from "markdown-it-any-block" // npm-vite (成功,jsdom问题待测试)
|
|
303
304
|
|
|
304
305
|
// 旧版
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdown-it-any-block",
|
|
3
|
-
"version": "3.2.3-
|
|
3
|
+
"version": "3.2.3-beta5",
|
|
4
4
|
"description": "```typescript\r import { ABConvertManager } from \"ABConvertManager\"",
|
|
5
5
|
"types": "@types/index_mdit.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
15
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
16
|
-
"build": "
|
|
16
|
+
"build": "pnpm build_vite",
|
|
17
17
|
"build_tsc": "tsc",
|
|
18
18
|
"build_tsup": "tsup",
|
|
19
19
|
"build_vite": "vite build",
|