diff --git a/package.json b/package.json index 2a0cdada..912acc54 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "crypto-js": "^4.2.0", - "fontkit": "^2.0.2", + "fontkit": "^2.0.4", "jpeg-exif": "^1.1.4", "linebreak": "^1.1.0", "png-js": "^1.0.0" @@ -64,9 +64,9 @@ "docs": "npm run pdf-guide && npm run website && npm run browserify-example", "lint": "eslint {lib,tests}/**/*.js", "prettier": "prettier {lib,tests,examples,docs}/**/*.js", - "test": "jest -i", - "test:visual": "jest visual/ -i", - "test:unit": "jest unit/" + "test": "jest -i --env=node", + "test:visual": "jest visual/ -i --env=node", + "test:unit": "jest unit/ --env=node" }, "main": "js/pdfkit.js", "module": "js/pdfkit.es.js", diff --git a/tests/visual/__image_snapshots__/images-spec-js-images-orientation-1-snap.png b/tests/visual/__image_snapshots__/images-spec-js-images-orientation-1-snap.png index ae00f393..67a2e266 100644 Binary files a/tests/visual/__image_snapshots__/images-spec-js-images-orientation-1-snap.png and b/tests/visual/__image_snapshots__/images-spec-js-images-orientation-1-snap.png differ diff --git a/tests/visual/__image_snapshots__/images-spec-js-images-orientation-document-option-1-snap.png b/tests/visual/__image_snapshots__/images-spec-js-images-orientation-document-option-1-snap.png index e43a5d29..199894e6 100644 Binary files a/tests/visual/__image_snapshots__/images-spec-js-images-orientation-document-option-1-snap.png and b/tests/visual/__image_snapshots__/images-spec-js-images-orientation-document-option-1-snap.png differ diff --git a/tests/visual/__image_snapshots__/images-spec-js-images-orientation-with-cover-and-alignment-1-snap.png b/tests/visual/__image_snapshots__/images-spec-js-images-orientation-with-cover-and-alignment-1-snap.png index dedd2aed..c7ca88fd 100644 Binary files a/tests/visual/__image_snapshots__/images-spec-js-images-orientation-with-cover-and-alignment-1-snap.png and b/tests/visual/__image_snapshots__/images-spec-js-images-orientation-with-cover-and-alignment-1-snap.png differ diff --git a/tests/visual/__image_snapshots__/images-spec-js-images-orientation-with-fit-and-alignment-1-snap.png b/tests/visual/__image_snapshots__/images-spec-js-images-orientation-with-fit-and-alignment-1-snap.png index 422f17df..0dfa3e60 100644 Binary files a/tests/visual/__image_snapshots__/images-spec-js-images-orientation-with-fit-and-alignment-1-snap.png and b/tests/visual/__image_snapshots__/images-spec-js-images-orientation-with-fit-and-alignment-1-snap.png differ diff --git a/yarn.lock b/yarn.lock index 56466cdc..bb431687 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3385,7 +3385,7 @@ flatted@^3.2.9: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.2.tgz#adba1448a9841bec72b42c532ea23dbbedef1a27" integrity sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA== -fontkit@^2.0.2: +fontkit@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/fontkit/-/fontkit-2.0.4.tgz#4765d664c68b49b5d6feb6bd1051ee49d8ec5ab0" integrity sha512-syetQadaUEDNdxdugga9CpEYVaQIxOwk7GlwZWWZ19//qW4zE5bknOKeMBDYAASwnpaSHKJITRLMF9m1fp3s6g==