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

Upgrade deps #95

Merged
merged 6 commits into from
Apr 22, 2024
Merged

Upgrade deps #95

merged 6 commits into from
Apr 22, 2024

Conversation

laodaniel
Copy link
Contributor

@laodaniel laodaniel commented Apr 22, 2024

This pull request relates to https://github.com/weekendesk/tech-management/issues/826 and #94

Scope

For the third party cookies phase out we need partitioned cookies to avoid third party cookie to be blocked.

Solution

Upgrade Express version. (Actual version is Express 4.17 it uses an old version of cookie lib which doesn’t support partitioned option). From version 4.19 we can use partitioned cookies.

@@ -2,7 +2,9 @@ const { execute } = require('../../entities/route');
const WorkflowError = require('../../entities/WorkflowError');

const step = jest.fn((container) => container);
const asyncStep = jest.fn((container) => new Promise((resolve) => resolve(container)));
const asyncStep = jest.fn((container) => new Promise((resolve) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need testing for this :D

@laodaniel laodaniel merged commit 21e1b30 into weekendesk:master Apr 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants