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

fix(ses): warn on unsupported lockdownOptions mathTaming + dateTaming #2584

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

kumavis
Copy link
Member

@kumavis kumavis commented Oct 12, 2024

support for lockdown options mathTaming and dateTaming were removed in July 2020. Since these options don't do anything, lockdown should warn when these options are specified.

For LavaMoat, we were surprised to find they were being provided to lockdown, but had no effect. Any other unrecognized lockdown options are rejected.

Here is a PR for a breaking change that fully removes the options #2583

Copy link
Member

@kriskowal kriskowal left a comment

Choose a reason for hiding this comment

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

Thank you! Minor changes requested, and passing tests. Would not mind a nod from @erights, but we forgiveness-before-permission this one.

packages/ses/src/lockdown.js Outdated Show resolved Hide resolved
Copy link
Contributor

@erights erights left a comment

Choose a reason for hiding this comment

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

Would not mind a nod from @erights

Nod!

@kumavis kumavis force-pushed the ses-warn-options-date-math-taming branch 2 times, most recently from f9daa18 to 5ca0413 Compare November 20, 2024 19:53
@kumavis kumavis force-pushed the ses-warn-options-date-math-taming branch from 5ca0413 to 50c924f Compare November 20, 2024 20:07
@kumavis kumavis requested a review from kriskowal November 20, 2024 20:18
@kumavis kumavis merged commit 8ed8a8b into master Nov 20, 2024
15 checks passed
@kumavis kumavis deleted the ses-warn-options-date-math-taming branch November 20, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants