Skip to content

Commit

Permalink
bump canvas for arm and update job array length
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcaneDisgea committed Oct 17, 2022
1 parent c1821fa commit 19e8e37
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion create-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class CardCreator {
});

const jobBackgroundsPromise = Promise.all(
Array.from({ length: 38 }, (_, index) => loadImage(absolute(`./resources/class-jobs-backgrounds/${index + 1}.png`)))
Array.from({ length: 40 }, (_, index) => loadImage(absolute(`./resources/class-jobs-backgrounds/${index + 1}.png`)))
).then(images => this.jobBackgrounds = images);

const ilevelFilterPromise = createIlvlFilter(this.xivApiKey).then(filterIds => this.ilvlFilterIds = filterIds);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"cache-manager": "^3.4.4",
"cache-manager-fs-binary": "^1.0.4",
"canvas": "^2.8.0",
"canvas": "2.9.0",
"express": "^4.17.1",
"express-rate-limit": "^5.5.0",
"node-fetch": "^2.6.5"
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,13 @@ camelcase@^6.2.0:
resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz"
integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==

canvas@^2.8.0:
version "2.8.0"
resolved "https://registry.npmjs.org/canvas/-/canvas-2.8.0.tgz"
integrity sha512-gLTi17X8WY9Cf5GZ2Yns8T5lfBOcGgFehDFb+JQwDqdOoBOcECS9ZWMEAqMSVcMYwXD659J8NyzjRY/2aE+C2Q==
canvas@2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/canvas/-/canvas-2.9.0.tgz#7df0400b141a7e42e597824f377935ba96880f2a"
integrity sha512-0l93g7uxp7rMyr7H+XRQ28A3ud0dKIUTIEkUe1Dxh4rjUYN7B93+SjC3r1PDKA18xcQN87OFGgUnyw7LSgNLSQ==
dependencies:
"@mapbox/node-pre-gyp" "^1.0.0"
nan "^2.14.0"
nan "^2.15.0"
simple-get "^3.0.3"

catharsis@^0.9.0:
Expand Down Expand Up @@ -1185,10 +1185,10 @@ ms@^2.1.1:
resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz"
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==

nan@^2.14.0:
version "2.14.2"
resolved "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz"
integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==
nan@^2.15.0:
version "2.17.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb"
integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==

[email protected]:
version "0.6.2"
Expand Down

0 comments on commit 19e8e37

Please sign in to comment.