@skrillex1224/chrome-article-publish-extension 1.0.4 → 1.0.6
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/dist/adapters/index.d.ts +0 -1
- package/dist/adapters/index.js +2 -2
- package/dist/adapters/index.js.map +1 -1
- package/dist/{chunk-6KMYIRZU.js → chunk-HHDGQYVN.js} +14 -22
- package/dist/chunk-HHDGQYVN.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/dist/chunk-6KMYIRZU.js.map +0 -1
package/dist/adapters/index.d.ts
CHANGED
package/dist/adapters/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
createLogger,
|
|
16
16
|
htmlToMarkdown,
|
|
17
17
|
parseMarkdownImages
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-HHDGQYVN.js";
|
|
19
19
|
|
|
20
20
|
// src/adapters/types.ts
|
|
21
21
|
var DEFAULT_PREPROCESS_CONFIG = {
|
|
@@ -1705,7 +1705,7 @@ ${markdown}`;
|
|
|
1705
1705
|
* 清理文件名,移除非法字符
|
|
1706
1706
|
*/
|
|
1707
1707
|
sanitizeFilename(name) {
|
|
1708
|
-
return name.replace(/[<>:"/\\|?*]/g, "_").replace(/[\x00-\x1f]/g, "").replace(/\.+$/, "").trim()
|
|
1708
|
+
return name.replace(/[<>:"/\\|?*]/g, "_").replace(/[\x00-\x1f]/g, "").replace(/\.+$/, "").trim() || "article";
|
|
1709
1709
|
}
|
|
1710
1710
|
};
|
|
1711
1711
|
|