pptxtojson 0.0.7 → 0.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptxtojson",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "A javascript tool for parsing .pptx file",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
package/src/pptxtojson.js CHANGED
@@ -1064,7 +1064,7 @@ async function getPicFill(type, node, warpObj) {
1064
1064
 
1065
1065
  const imgArrayBuffer = await warpObj['zip'].file(imgPath).async('arraybuffer')
1066
1066
  const imgMimeType = getMimeType(imgExt)
1067
- img = 'data:' + imgMimeType + 'base64,' + base64ArrayBuffer(imgArrayBuffer)
1067
+ img = `data:${imgMimeType};base64,${base64ArrayBuffer(imgArrayBuffer)}`
1068
1068
  }
1069
1069
  return img
1070
1070
  }