Skip to content

Commit 6bdc2fc

Browse files
Merge pull request #126 from codefresh-io/CR-20460
CR-20460 security fix
2 parents 896cd0f + a010ab9 commit 6bdc2fc

File tree

4 files changed

+1406
-546
lines changed

4 files changed

+1406
-546
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14.21.3-alpine
1+
FROM node:16.20.2-alpine
22

33
WORKDIR /cf-k8s-agent
44

@@ -11,6 +11,7 @@ COPY yarn.lock ./
1111
RUN apk add --no-cache --virtual deps python3 make g++ krb5-dev git && \
1212
yarn install --forzen-lockfile --production && \
1313
yarn cache clean && \
14+
npm update -g npm && \
1415
apk del deps && \
1516
rm -rf /tmp/*
1617

codefresh.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ steps:
1919
install_dependencies:
2020
title: 'Installing testing dependencies'
2121
stage: preparation
22-
image: node:14.21.1
22+
image: node:16.20.2
2323
commands:
2424
- yarn install --frozen-lockfile
2525

2626
lint:
2727
title: 'lint code'
2828
stage: preparation
29-
image: node:14.21.1
29+
image: node:16.20.2
3030
commands:
3131
- yarn lint
3232

package.json

+6-10
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
{
22
"name": "cf-k8s-agent",
3-
"version": "1.3.14",
3+
"version": "1.3.15",
44
"private": true,
55
"scripts": {
66
"start": "node ./src/index.js",
77
"test": "jest --coverage --detectOpenHandles --silent",
88
"lint": "eslint ."
99
},
1010
"resolutions": {
11-
"**/openid-client": "^4.9.0",
11+
"**/openid-client": "5.1.6",
1212
"lodash": "4.17.21",
13-
"node-forge": "1.3.0",
14-
"normalize-url": "4.5.1",
1513
"underscore": "1.12.1",
16-
"newrelic": "^8.0.0",
17-
"mongoose": "6.4.6",
1814
"http-cache-semantics": "4.1.1",
19-
"jsonwebtoken": "9.0.0",
20-
"xml2js": "0.5.0",
2115
"semver": "7.5.2",
22-
"protobufjs": "7.2.4"
16+
"ajv": "6.12.3",
17+
"word-wrap": "1.2.4",
18+
"tough-cookie": "4.1.3"
2319
},
2420
"dependencies": {
25-
"@codefresh-io/kube-integration": "1.26.3",
21+
"@codefresh-io/kube-integration": "1.30.6",
2622
"bluebird": "^3.5.4",
2723
"cookie-parser": "~1.4.3",
2824
"debug": "~2.6.9",

0 commit comments

Comments
 (0)