Skip to content

Commit ca1454d

Browse files
committed
fix jest to compatibility with restructure, update fontkit, refresh snapshots
1 parent 224b137 commit ca1454d

7 files changed

+5
-5
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"dependencies": {
5050
"crypto-js": "^4.2.0",
51-
"fontkit": "^2.0.2",
51+
"fontkit": "^2.0.4",
5252
"jpeg-exif": "^1.1.4",
5353
"linebreak": "^1.1.0",
5454
"png-js": "^1.0.0"
@@ -64,9 +64,9 @@
6464
"docs": "npm run pdf-guide && npm run website && npm run browserify-example",
6565
"lint": "eslint {lib,tests}/**/*.js",
6666
"prettier": "prettier {lib,tests,examples,docs}/**/*.js",
67-
"test": "jest -i",
68-
"test:visual": "jest visual/ -i",
69-
"test:unit": "jest unit/"
67+
"test": "jest -i --env=node",
68+
"test:visual": "jest visual/ -i --env=node",
69+
"test:unit": "jest unit/ --env=node"
7070
},
7171
"main": "js/pdfkit.js",
7272
"module": "js/pdfkit.es.js",
63.3 KB
Loading
64 KB
Loading
31.5 KB
Loading
30.6 KB
Loading
-7.42 KB
Loading

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3385,7 +3385,7 @@ flatted@^3.2.9:
33853385
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.2.tgz#adba1448a9841bec72b42c532ea23dbbedef1a27"
33863386
integrity sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==
33873387

3388-
fontkit@^2.0.2:
3388+
fontkit@^2.0.4:
33893389
version "2.0.4"
33903390
resolved "https://registry.yarnpkg.com/fontkit/-/fontkit-2.0.4.tgz#4765d664c68b49b5d6feb6bd1051ee49d8ec5ab0"
33913391
integrity sha512-syetQadaUEDNdxdugga9CpEYVaQIxOwk7GlwZWWZ19//qW4zE5bknOKeMBDYAASwnpaSHKJITRLMF9m1fp3s6g==

0 commit comments

Comments
 (0)