Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency updates week of 08/12/24 #5262

Merged
merged 11 commits into from
Aug 19, 2024
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
orbs:
git-shallow-clone: guitarrapc/git-shallow-clone@2.8.0

efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.6
efcms-docker-image: &efcms-docker-image $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ef-cms-us-east-1:4.3.7

parameters:
run_build_and_deploy:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN apt-get install -y build-essential
RUN apt-get install -y libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.17.24.zip" -o "awscliv2.zip" && \
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.17.30.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf awscliv2.zip
Expand Down
3 changes: 1 addition & 2 deletions docs/dependency-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Below is a list of dependencies that are locked down due to known issues with se

- When updating puppeteer or puppeteer core in the project, make sure to also match versions in `web-api/runtimes/puppeteer/package.json` as this is our lambda layer which we use to generate pdfs. Puppeteer and chromium versions should always match between package.json and web-api/runtimes/puppeteer/package.json. Remember to run `npm install --prefix web-api/runtimes/puppeteer` to install and update the package-lock file.
- Puppeteer also has recommended versions of Chromium, so we should make sure to use the recommended version of chromium for the version of puppeteer that we are on.
- As of 8/7/2024, we cannot update puppeteer or puppeteer-core beyond 22.13.1 because the latest release of @sparticuz/chromium only supports version 126 of chromium.
- As of 8/15/2024, we cannot update puppeteer or puppeteer-core beyond 22.13.1 because the latest release of @sparticuz/chromium only supports version 126 of chromium.
- There is a high-severity security issue with ws (ws affected by a DoS when handling a request with many HTTP headers - https://github.com/advisories/GHSA-3h5v-q93c-6h6q); however, we only use ws on the client side, so this should not be an issue. (We tried to upgrade puppeteer anyway, but unsurprisingly the PDF tests failed because there is no newer version of Chromium that supports puppeteer.)

### pdfjs-dist
Expand All @@ -91,7 +91,6 @@ Below is a list of dependencies that are locked down due to known issues with se
### eslint
- Keep pinned to 8.57.0 as most plugins are not yet compatible with v9.0.0: https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/
See: https://github.com/jsx-eslint/eslint-plugin-react/issues/3699
- Keep eslint-plugin-security at 2.1.1 since upgrading makes it only compatible with v9.0.0

### ws, 3rd party dependency of Cerebral
- When running npm audit, you'll see a high severity issue with ws, 'affected by a DoS when handling a request with many HTTP headers - https://github.com/advisories/GHSA-3h5v-q93c-6h6q'. This doesn't affect us as the vulnerability is on the server side and we're not using this package on the server. We tried to override this to 5.2.4 and 8.18.0 and weren't able to make this work as import paths have changed. In the mean time, we recommend skipping this issue. We could always fork the cerebral repo in the future if needed.
Expand Down
11,020 changes: 6,617 additions & 4,403 deletions package-lock.json

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,46 +11,46 @@
"dependencies": {
"@18f/us-federal-holidays": "4.0.0",
"@aws-crypto/sha256-browser": "5.2.0",
"@aws-sdk/client-api-gateway": "3.624.0",
"@aws-sdk/client-apigatewaymanagementapi": "3.624.0",
"@aws-sdk/client-apigatewayv2": "3.624.0",
"@aws-sdk/client-cloudfront": "3.624.0",
"@aws-sdk/client-cloudwatch": "3.624.0",
"@aws-sdk/client-cloudwatch-logs": "3.624.0",
"@aws-sdk/client-cognito-identity-provider": "3.628.0",
"@aws-sdk/client-dynamodb": "3.624.0",
"@aws-sdk/client-dynamodb-streams": "3.624.0",
"@aws-sdk/client-glue": "3.627.0",
"@aws-sdk/client-lambda": "3.624.0",
"@aws-sdk/client-opensearch": "3.624.0",
"@aws-sdk/client-route-53": "3.624.0",
"@aws-sdk/client-s3": "3.627.0",
"@aws-sdk/client-ses": "3.624.0",
"@aws-sdk/client-sns": "3.624.0",
"@aws-sdk/client-sqs": "3.624.0",
"@aws-sdk/client-ssm": "3.624.0",
"@aws-sdk/client-api-gateway": "3.632.0",
"@aws-sdk/client-apigatewaymanagementapi": "3.632.0",
"@aws-sdk/client-apigatewayv2": "3.632.0",
"@aws-sdk/client-cloudfront": "3.632.0",
"@aws-sdk/client-cloudwatch": "3.632.0",
"@aws-sdk/client-cloudwatch-logs": "3.632.0",
"@aws-sdk/client-cognito-identity-provider": "3.632.0",
"@aws-sdk/client-dynamodb": "3.632.0",
"@aws-sdk/client-dynamodb-streams": "3.632.0",
"@aws-sdk/client-glue": "3.632.0",
"@aws-sdk/client-lambda": "3.632.0",
"@aws-sdk/client-opensearch": "3.632.0",
"@aws-sdk/client-route-53": "3.632.0",
"@aws-sdk/client-s3": "3.633.0",
"@aws-sdk/client-ses": "3.632.0",
"@aws-sdk/client-sns": "3.632.0",
"@aws-sdk/client-sqs": "3.632.0",
"@aws-sdk/client-ssm": "3.632.0",
"@aws-sdk/cloudfront-signer": "3.621.0",
"@aws-sdk/credential-provider-node": "3.624.0",
"@aws-sdk/lib-dynamodb": "3.624.0",
"@aws-sdk/lib-storage": "3.627.0",
"@aws-sdk/credential-provider-node": "3.632.0",
"@aws-sdk/lib-dynamodb": "3.632.0",
"@aws-sdk/lib-storage": "3.633.0",
"@aws-sdk/node-http-handler": "3.374.0",
"@aws-sdk/protocol-http": "3.374.0",
"@aws-sdk/s3-presigned-post": "3.627.0",
"@aws-sdk/s3-request-presigner": "3.627.0",
"@aws-sdk/s3-presigned-post": "3.633.0",
"@aws-sdk/s3-request-presigner": "3.633.0",
"@aws-sdk/signature-v4": "3.374.0",
"@aws-sdk/util-dynamodb": "3.624.0",
"@aws-sdk/util-dynamodb": "3.632.0",
"@cerebral/react": "4.2.1",
"@fortawesome/fontawesome-svg-core": "1.2.36",
"@fortawesome/free-regular-svg-icons": "5.15.4",
"@fortawesome/free-solid-svg-icons": "5.15.4",
"@fortawesome/react-fontawesome": "0.2.2",
"@joi/date": "2.1.1",
"@opensearch-project/opensearch": "2.11.0",
"@sparticuz/chromium": "123.0.1",
"@sparticuz/chromium": "126.0.0",
"@uswds/uswds": "3.7.1",
"aws-lambda": "1.0.7",
"aws-xray-sdk": "3.9.0",
"axios": "1.7.3",
"axios": "1.7.4",
"broadcast-channel": "7.0.0",
"canvas": "2.11.2",
"cerebral": "5.2.1",
Expand Down Expand Up @@ -97,8 +97,8 @@
"util": "0.12.5",
"uuid": "10.0.0",
"websocket": "1.0.35",
"wicg-inert": "3.1.2",
"winston": "3.14.1"
"wicg-inert": "3.1.3",
"winston": "3.14.2"
},
"scripts": {
"admin:become-user": "npx ts-node --transpile-only scripts/user/become-user.ts",
Expand Down Expand Up @@ -244,8 +244,8 @@
"ejs": "3.1.10"
},
"devDependencies": {
"@aws-sdk/client-iam": "3.624.0",
"@aws-sdk/client-secrets-manager": "3.624.0",
"@aws-sdk/client-iam": "3.632.0",
"@aws-sdk/client-secrets-manager": "3.632.0",
"@babel/cli": "7.24.8",
"@babel/core": "7.25.2",
"@babel/eslint-parser": "7.25.1",
Expand All @@ -260,15 +260,15 @@
"@types/jest": "29.5.12",
"@types/lodash": "4.17.7",
"@types/luxon": "3.4.2",
"@types/node": "22.1.0",
"@types/node": "22.4.0",
"@types/promise-retry": "1.1.6",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/react-paginate": "7.1.4",
"@types/uuid": "10.0.0",
"@types/websocket": "1.0.10",
"@typescript-eslint/eslint-plugin": "8.0.1",
"@typescript-eslint/parser": "8.0.1",
"@typescript-eslint/eslint-plugin": "8.1.0",
"@typescript-eslint/parser": "8.1.0",
"@vendia/serverless-express": "4.12.6",
"ajv": "8.17.1",
"artillery": "2.0.19",
Expand All @@ -286,7 +286,7 @@
"crypto-browserify": "3.12.0",
"css-loader": "7.1.2",
"csv-parse": "5.5.6",
"cypress": "13.13.2",
"cypress": "13.13.3",
"cypress-axe": "1.5.0",
"cypress-file-upload": "5.0.8",
"decimal.js": "10.4.3",
Expand All @@ -304,7 +304,7 @@
"esbuild-visualizer": "0.6.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "3.4.0",
"eslint-plugin-cypress": "3.5.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "28.8.0",
"eslint-plugin-jsx-a11y": "6.9.0",
Expand All @@ -325,7 +325,7 @@
"jest-environment-node": "29.7.0",
"jsdom": "24.1.1",
"json2yaml": "1.1.0",
"lint-staged": "15.2.8",
"lint-staged": "15.2.9",
"lint-staged-shellcheck": "0.1.2",
"livereload": "0.9.3",
"node-cache": "5.1.2",
Expand All @@ -336,11 +336,11 @@
"pngjs": "7.0.0",
"postcss": "8.4.41",
"postcss-loader": "8.1.1",
"postcss-preset-env": "10.0.0",
"postcss-preset-env": "10.0.2",
"prettier": "3.3.3",
"prop-types": "15.8.1",
"puppeteer": "22.6.5",
"puppeteer-core": "22.6.5",
"puppeteer": "22.13.1",
"puppeteer-core": "22.13.1",
"react-test-renderer": "18.3.1",
"readline": "1.3.0",
"s3rver": "github:20minutes/s3rver",
Expand All @@ -349,7 +349,7 @@
"shuffle-seed": "1.1.6",
"stream-browserify": "3.0.0",
"style-loader": "4.0.0",
"stylelint": "16.8.1",
"stylelint": "16.8.2",
"stylelint-config-idiomatic-order": "10.0.0",
"stylelint-config-standard": "36.0.1",
"stylelint-config-standard-scss": "13.1.0",
Expand Down
2 changes: 1 addition & 1 deletion shared/admin-tools/glue/glue_migrations/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
}

required_providers {
aws = "5.61.0"
aws = "5.63.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion shared/admin-tools/glue/remote_role/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
}

required_providers {
aws = "5.61.0"
aws = "5.63.0"
}
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Bounced_Email_Alert.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Case_Inventory_Report.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Change_Of_Address.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/CoverSheet.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Docket_Record.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Document_Service_Email.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Entry_of_Appearance.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Notice.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Notice_Of_Docket_Change.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Notice_Receipt_Petition.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Notice_Trial_Issued.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Order.pdf.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified shared/test-pdf-expected-images/Order_For_Filing_Fee.pdf.1.png
Binary file modified shared/test-pdf-expected-images/Order_To_Show_Cause.pdf.1.png
Binary file modified shared/test-pdf-expected-images/Pending_Report.pdf.1.png
Binary file modified shared/test-pdf-expected-images/Petition_Service_Email.pdf.1.png
Binary file modified shared/test-pdf-expected-images/Practitioner_Case_List.pdf.1.png
Binary file modified shared/test-pdf-expected-images/Receipt_of_Filing.pdf.1.png
Binary file modified shared/test-pdf-expected-images/StampedCoverSheet.pdf.1.png
Binary file modified shared/test-pdf-expected-images/Standing_Pretrial_Order.pdf.1.png
Binary file modified shared/test-pdf-expected-images/Trial_Calendar_In_Person.pdf.1.png
Binary file modified shared/test-pdf-expected-images/Trial_Calendar_In_Person.pdf.2.png
Binary file modified shared/test-pdf-expected-images/Trial_Calendar_Remote.pdf.1.png
Binary file modified shared/test-pdf-expected-images/Trial_Calendar_Remote.pdf.2.png
Loading
Loading