diff --git a/apps/rn/src/tests/assets.js b/apps/rn/src/tests/assets.js index 8604cd9f8..76aee4dae 100644 --- a/apps/rn/src/tests/assets.js +++ b/apps/rn/src/tests/assets.js @@ -20,7 +20,7 @@ export const writePdf = async (pdfBytes, chunkSize = 100000): Promise => export const fetchAsset = async (path) => { const res = await RNFetchBlob.config({ fileCache: false }).fetch( 'GET', - `http://localhost:8080/assets/${path}`, + `http://localhost:8080/assets/${encodeURI(path)}`, { 'Cache-Control': 'no-store' }, ); return res.base64(); diff --git a/apps/rn/yarn.lock b/apps/rn/yarn.lock index ac0a33fa9..00e4bafdd 100644 --- a/apps/rn/yarn.lock +++ b/apps/rn/yarn.lock @@ -4891,7 +4891,7 @@ path-type@^3.0.0: pify "^3.0.0" pdf-lib@./../..: - version "1.8.0" + version "1.9.0" dependencies: "@pdf-lib/standard-fonts" "^0.0.4" "@pdf-lib/upng" "^1.0.1" diff --git a/package.json b/package.json index 547112e9a..4f7aa9a67 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdf-lib", - "version": "1.8.0", + "version": "1.9.0", "description": "Create and modify PDF files with JavaScript", "author": "Andrew Dillon ", "contributors": [ @@ -21,7 +21,8 @@ "Tim Kräuter (https://github.com/timKraeuter)", "Richard Bateman (https://github.com/taxilian)", "Sebastian Martinez (https://github.com/sebastinez)", - "soadzoor (https://github.com/soadzoor)" + "soadzoor (https://github.com/soadzoor)", + "Slobodan Babic (https://github.com/bockoblur)" ], "scripts": { "release:latest": "yarn publish --tag latest && yarn pack && yarn release:tag",