Skip to content

Commit

Permalink
Update node version and fix vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshepherd committed Sep 20, 2022
1 parent 5b301aa commit 95af076
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1
jobs:
build:
docker:
- image: quay.io/wealthwizards/ww-base-node:alpine-14
- image: quay.io/wealthwizards/ww-base-node:alpine-16
working_directory: /usr/src
steps:
- add_ssh_keys
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/wealthwizards/ww-base-node:alpine-14
FROM quay.io/wealthwizards/ww-base-node:alpine-16

WORKDIR /usr/src/app

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
node:
image: quay.io/wealthwizards/ww-base-node:alpine-14
image: quay.io/wealthwizards/ww-base-node:alpine-16
volumes:
- .:/usr/src/app:z
working_dir: /usr/src/app
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "service-listener",
"version": "0.1.75",
"engines": {
"node": "^14"
"node": "^16"
},
"description": "A script to listen to kubernetes to automatically identify running deployments/services",
"homepage": "https://github.com/WealthWizardsEngineering/service-listener",
Expand Down Expand Up @@ -41,5 +41,8 @@
"request-promise-native": "^1.0.9",
"@dot-i/k8s-operator": "^1.2.0",
"@kubernetes/client-node": "^0.16.1"
},
"resolutions": {
"bunyan/moment": "2.29.4"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1968,10 +1968,10 @@ module-not-found-error@^1.0.1:
resolved "https://registry.yarnpkg.com/module-not-found-error/-/module-not-found-error-1.0.1.tgz#cf8b4ff4f29640674d6cdd02b0e3bc523c2bbdc0"
integrity sha1-z4tP9PKWQGdNbN0CsOO8UjwrvcA=

moment@^2.19.3:
version "2.29.2"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.2.tgz#00910c60b20843bcba52d37d58c628b47b1f20e4"
integrity sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==
moment@2.29.4, moment@^2.19.3:
version "2.29.4"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108"
integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==

ms@2.0.0:
version "2.0.0"
Expand Down

0 comments on commit 95af076

Please sign in to comment.