@iflyrpa/actions 1.2.30-beta.1 → 1.2.30-beta.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.
@@ -29,6 +29,11 @@ export type CropCoordinates = {
29
29
  */
30
30
  export declare const calculateCropCoordinates: (width: number, height: number, aspectRatio: AspectRatio) => CropCoordinates;
31
31
  export declare const extractImgTag: (html: string) => string[];
32
+ /**
33
+ * 格式化 HTML 内容,删除无效的 section(没有 img 或 img src 为空)
34
+ * @param html
35
+ */
36
+ export declare const formatSectionHtml: (html: string) => string;
32
37
  /**
33
38
  * 时间格式化
34
39
  * @param time
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iflyrpa/actions",
3
- "version": "1.2.30-beta.1",
3
+ "version": "1.2.30-beta.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",