Skip to content

Commit

Permalink
Upgrades to fix issue #506 (#516)
Browse files Browse the repository at this point in the history
Move to node 10.16 and upgrade sharp library to 0.23 to address issue
seen on linux
  • Loading branch information
twojtasz authored Aug 18, 2019
1 parent 2bc1f30 commit 1b920db
Show file tree
Hide file tree
Showing 11 changed files with 72 additions and 46 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Docker Image for BuildKite CI
# -----------------------------

FROM node:10.15.3
FROM node:10.16.3

RUN yarn global add yarn@1.10.0
RUN yarn global add yarn@1.16.0

WORKDIR /xviz
ENV PATH /xviz/node_modules/.bin:$PATH
Expand Down
2 changes: 1 addition & 1 deletion examples/converters/kitti/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"binary-parser": "^1.3.2",
"dotty": "^0.1.0",
"glob": "^7.1.2",
"sharp": "^0.20.7",
"sharp": "^0.23.0",
"uuid": "^3.2.1",
"xml2json": "^0.11.2"
},
Expand Down
1 change: 0 additions & 1 deletion examples/converters/kitti/src/parsers/process-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export async function resizeImage(filePath, maxWidth, maxHeight) {
} else {
imageData = await sharp(filePath)
.resize(resizeWidth, resizeHeight)
.max()
.toBuffer()
.then(data => data);
}
Expand Down
2 changes: 1 addition & 1 deletion examples/converters/nutonomy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"binary-parser": "^1.3.2",
"dotty": "^0.1.0",
"math.gl": "^2.0.0",
"sharp": "^0.20.7",
"sharp": "^0.23.0",
"streetscape.gl": "^0.0.1",
"uuid": "^3.2.1"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"scripts": {},
"engines": {
"node": ">= 10",
"node": ">= 10.16",
"npm": ">= 6",
"yarn": ">= 1.10.0"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"text-encoding": false
},
"engines": {
"node": ">= 10",
"node": ">= 10.16",
"npm": ">= 6",
"yarn": ">= 1.10.0"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"pre-build": "webpack --config webpack/webpack.config.js"
},
"engines": {
"node": ">= 10",
"node": ">= 10.16",
"npm": ">= 6",
"yarn": ">= 1.10.0"
}
Expand Down
4 changes: 2 additions & 2 deletions modules/ros/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@xviz/io": "1.0.0-beta.20",
"lodash": "^4.17.11",
"rosbag": "^2.0.0",
"sharp": "^0.20.7",
"sharp": "^0.23.0",
"yargs": "^13.2.2"
},
"scripts": {
Expand All @@ -33,7 +33,7 @@
"babel-polyfill": "^6.26.0"
},
"engines": {
"node": ">= 10",
"node": ">= 10.16",
"npm": ">= 6",
"yarn": ">= 1.10.0"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
},
"scripts": {},
"engines": {
"node": ">= 10"
"node": ">= 10.16"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"walk": "^2.3.14"
},
"engines": {
"node": ">= 10",
"node": ">= 10.16",
"npm": ">= 6",
"yarn": ">= 1.10.0"
},
Expand Down
95 changes: 61 additions & 34 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4102,6 +4102,14 @@ color@^3.0.0:
color-convert "^1.9.1"
color-string "^1.5.2"

color@^3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/color/-/color-3.1.2.tgz#68148e7f85d41ad7649c5fa8c8106f098d229e10"
integrity sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==
dependencies:
color-convert "^1.9.1"
color-string "^1.5.2"

colors@^1.1.2:
version "1.3.3"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d"
Expand Down Expand Up @@ -5305,10 +5313,10 @@ expand-brackets@^2.1.4:
snapdragon "^0.8.1"
to-regex "^3.0.1"

expand-template@^1.0.2:
version "1.1.1"
resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-1.1.1.tgz#981f188c0c3a87d2e28f559bc541426ff94f21dd"
integrity sha512-cebqLtV8KOZfw0UI8TEFWxtczxxC1jvyUvx6H4fyp1K1FN7A4Q+uggVUlOsI1K8AGU0rwOGqP8nCapdrw8CYQg==
expand-template@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c"
integrity sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==

expand-tilde@^2.0.0, expand-tilde@^2.0.2:
version "2.0.2"
Expand Down Expand Up @@ -5666,11 +5674,6 @@ fs-constants@^1.0.0:
resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==

fs-copy-file-sync@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/fs-copy-file-sync/-/fs-copy-file-sync-1.1.1.tgz#11bf32c096c10d126e5f6b36d06eece776062918"
integrity sha512-2QY5eeqVv4m2PfyMiEuy9adxNP+ajf+8AR05cEi+OAzPcOj90hvFImeZhTmKLBgSd9EvG33jsD7ZRxsx9dThkQ==

fs-extra@^7.0.0:
version "7.0.1"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
Expand Down Expand Up @@ -7681,6 +7684,11 @@ nan@^2.11.0, nan@^2.12.1:
resolved "https://registry.yarnpkg.com/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7"
integrity sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw==

nan@^2.14.0:
version "2.14.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==

nanomatch@^1.2.9:
version "1.2.13"
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
Expand All @@ -7698,6 +7706,11 @@ nanomatch@^1.2.9:
snapdragon "^0.8.1"
to-regex "^3.0.1"

napi-build-utils@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.1.tgz#1381a0f92c39d66bf19852e7873432fc2123e508"
integrity sha512-boQj1WFgQH3v4clhu3mTNfP+vOBxorDlE8EKiMjUlLG3C4qAESnn9AxIOkFgTR2c9LtzNjPrjS60cT27ZKBhaA==

natural-compare@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
Expand Down Expand Up @@ -7757,10 +7770,10 @@ no-case@^2.2.0:
dependencies:
lower-case "^1.1.1"

node-abi@^2.2.0:
version "2.8.0"
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.8.0.tgz#bd2e88dbe6a6871e6dd08553e0605779325737ec"
integrity sha512-1/aa2clS0pue0HjckL62CsbhWWU35HARvBDXcJtYKbYR7LnIutmpxmXbuDMV9kEviD2lP/wACOgWmmwljghHyQ==
node-abi@^2.7.0:
version "2.11.0"
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.11.0.tgz#b7dce18815057544a049be5ae75cd1fdc2e9ea59"
integrity sha512-kuy/aEg75u40v378WRllQ4ZexaXJiCvB68D2scDXclp/I4cRq6togpbOoKhmN07tns9Zldu51NNERo0wehfX9g==
dependencies:
semver "^5.4.1"

Expand Down Expand Up @@ -8628,22 +8641,23 @@ pre-commit@^1.2.2:
spawn-sync "^1.0.15"
which "1.2.x"

prebuild-install@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-4.0.0.tgz#206ce8106ce5efa4b6cf062fc8a0a7d93c17f3a8"
integrity sha512-7tayxeYboJX0RbVzdnKyGl2vhQRWr6qfClEXDhOkXjuaOKCw2q8aiuFhONRYVsG/czia7KhpykIlI2S2VaPunA==
prebuild-install@^5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-5.3.0.tgz#58b4d8344e03590990931ee088dd5401b03004c8"
integrity sha512-aaLVANlj4HgZweKttFNUVNRxDukytuIuxeK2boIMHjagNJCiVKWFsKF4tCE3ql3GbrD2tExPQ7/pwtEJcHNZeg==
dependencies:
detect-libc "^1.0.3"
expand-template "^1.0.2"
expand-template "^2.0.3"
github-from-package "0.0.0"
minimist "^1.2.0"
mkdirp "^0.5.1"
node-abi "^2.2.0"
napi-build-utils "^1.0.1"
node-abi "^2.7.0"
noop-logger "^0.1.1"
npmlog "^4.0.1"
os-homedir "^1.0.1"
pump "^2.0.1"
rc "^1.1.6"
rc "^1.2.7"
simple-get "^2.7.0"
tar-fs "^1.13.0"
tunnel-agent "^0.6.0"
Expand Down Expand Up @@ -8935,7 +8949,7 @@ rbush@*, rbush@^2.0.1:
dependencies:
quickselect "^1.0.1"

rc@^1.1.6, rc@^1.2.7:
rc@^1.2.7:
version "1.2.8"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
Expand Down Expand Up @@ -9526,6 +9540,11 @@ semver@^6.0.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.0.0.tgz#05e359ee571e5ad7ed641a6eec1e547ba52dea65"
integrity sha512-0UewU+9rFapKFnlbirLi3byoOuhrSsli/z/ihNnvM24vgF+8sNBiI1LZPBSH9wJKUwaUbw+s3hToDLCXkrghrQ==

semver@^6.3.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==

semver@~5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
Expand Down Expand Up @@ -9621,20 +9640,19 @@ sha.js@^2.4.0, sha.js@^2.4.8:
inherits "^2.0.1"
safe-buffer "^5.0.1"

sharp@^0.20.7:
version "0.20.8"
resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.20.8.tgz#e853f10b53b730824f0c3c5e453c79fa0812a48b"
integrity sha512-A8NaPGWRDKpmHTi8sl2xzozYXhTQWBb/GaJ8ZPU7L/vKW8wVvd4Yq+isJ0c7p9sX5gnjPQcM3eOfHuvvnZ2fOQ==
sharp@^0.23.0:
version "0.23.0"
resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.23.0.tgz#e34c7c44af219f8fd6b780adaa2b44aa6a22cbd9"
integrity sha512-3+QlktTYDPO9CLmB3DUaBSj729ic3R9TO5Bz318F8WubUW10HR4os0Tm+GdYNcVg0layhMhP4Hf2SILwXVG2ig==
dependencies:
color "^3.0.0"
color "^3.1.2"
detect-libc "^1.0.3"
fs-copy-file-sync "^1.1.1"
nan "^2.11.0"
nan "^2.14.0"
npmlog "^4.1.2"
prebuild-install "^4.0.0"
semver "^5.5.1"
simple-get "^2.8.1"
tar "^4.4.6"
prebuild-install "^5.3.0"
semver "^6.3.0"
simple-get "^3.0.3"
tar "^4.4.10"
tunnel-agent "^0.6.0"

shebang-command@^1.2.0:
Expand Down Expand Up @@ -9664,7 +9682,7 @@ simple-concat@^1.0.0:
resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.0.tgz#7344cbb8b6e26fb27d66b2fc86f9f6d5997521c6"
integrity sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=

simple-get@^2.7.0, simple-get@^2.8.1:
simple-get@^2.7.0:
version "2.8.1"
resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-2.8.1.tgz#0e22e91d4575d87620620bc91308d57a77f44b5d"
integrity sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==
Expand All @@ -9673,6 +9691,15 @@ simple-get@^2.7.0, simple-get@^2.8.1:
once "^1.3.1"
simple-concat "^1.0.0"

simple-get@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-3.0.3.tgz#924528ac3f9d7718ce5e9ec1b1a69c0be4d62efa"
integrity sha512-Wvre/Jq5vgoz31Z9stYWPLn0PqRqmBDpFSdypAnHu5AvRVCYPRYGnvryNLiXu8GOBNDH82J2FRHUGMjjHUpXFw==
dependencies:
decompress-response "^3.3.0"
once "^1.3.1"
simple-concat "^1.0.0"

simple-swizzle@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"
Expand Down Expand Up @@ -10207,7 +10234,7 @@ tar-stream@^1.1.2:
to-buffer "^1.1.1"
xtend "^4.0.0"

tar@^4, tar@^4.4.6:
tar@^4:
version "4.4.8"
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.8.tgz#b19eec3fde2a96e64666df9fdb40c5ca1bc3747d"
integrity sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==
Expand Down

0 comments on commit 1b920db

Please sign in to comment.