Skip to content

Commit

Permalink
updates 'parse-link-header' dependency
Browse files Browse the repository at this point in the history
OKTA-459293
<<<Jenkins Check-In of Tested SHA: 0020ccf for [email protected]>>>
Artifact: okta-sdk-nodejs
Files changed count: 5
PR Link: "#300"
  • Loading branch information
jaredperreault-okta authored and eng-prod-CI-bot-okta committed Feb 4, 2022
1 parent c3af123 commit a959387
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Okta Node SDK Changelog

## 4.6.1
- [#300](https://github.com/okta/okta-sdk-nodejs/pull/300) Upgrade parse-link-header for security vuln

## 4.6.0

### Features
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/okta-sdk-nodejs",
"version": "4.6.0",
"version": "4.6.1",
"description": "Okta API wrapper for Node.js",
"engines": {
"node": ">=10.0"
Expand Down Expand Up @@ -38,7 +38,7 @@
"lodash": "^4.17.20",
"mocha-junit-reporter": "^2.0.0",
"njwt": "^1.0.0",
"parse-link-header": "^1.0.1",
"parse-link-header": "^2.0.0",
"rasha": "^1.2.5",
"safe-flat": "^2.0.2"
},
Expand Down
10 changes: 4 additions & 6 deletions scripts/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

source ${OKTA_HOME}/${REPO}/scripts/setup.sh

aws s3 --quiet --region us-east-1 cp s3://ci-secret-stash/prod/okta-sdk-nodejs/privateKey.pem ${OKTA_HOME}/${REPO}/scripts/privateKey.pem

export OKTA_CLIENT_ORGURL=https://node-sdk.okta.com
get_secret prod/devex/okta-sdk-nodejs_apiKey OKTA_CLIENT_TOKEN
export OKTA_CLIENT_CLIENTID=0oa1jnkiuz6FCTchz4x7
export OKTA_CLIENT_PRIVATEKEY=$(cat ${OKTA_HOME}/${REPO}/scripts/privateKey.pem)
export OKTA_CLIENT_ORGURL=https://node-sdk-oie.oktapreview.com
get_vault_secret_key devex/okta-sdk-nodejs-vars api_key OKTA_CLIENT_TOKEN
export OKTA_CLIENT_CLIENTID=0oa1q34stxthm0zbJ1d7
get_vault_secret_key devex/okta-sdk-nodejs-vars private_key OKTA_CLIENT_PRIVATEKEY

export TEST_SUITE_TYPE="junit"
export TEST_RESULT_FILE_DIR="${REPO}/test-reports"
Expand Down
2 changes: 1 addition & 1 deletion test/it/factor-create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('Factors API', () => {
factorType: 'call',
provider: 'OKTA',
profile: {
phoneNumber: '415 123 1234'
phoneNumber: '162 840 01133'
}
};
const createdFactor = await client.enrollFactor(createdUser.id, factor);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4404,10 +4404,10 @@ parse-json@^5.0.0:
json-parse-even-better-errors "^2.3.0"
lines-and-columns "^1.1.6"

parse-link-header@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/parse-link-header/-/parse-link-header-1.0.1.tgz#bedfe0d2118aeb84be75e7b025419ec8a61140a7"
integrity sha1-vt/g0hGK64S+deewJUGeyKYRQKc=
parse-link-header@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/parse-link-header/-/parse-link-header-2.0.0.tgz#949353e284f8aa01f2ac857a98f692b57733f6b7"
integrity sha512-xjU87V0VyHZybn2RrCX5TIFGxTVZE6zqqZWMPlIKiSKuWh/X5WZdt+w1Ki1nXB+8L/KtL+nZ4iq+sfI6MrhhMw==
dependencies:
xtend "~4.0.1"

Expand Down

0 comments on commit a959387

Please sign in to comment.