-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: Codescanning alerts #11159
fix: Codescanning alerts #11159
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #11159 +/- ##
=======================================
Coverage 82.38% 82.38%
=======================================
Files 204 204
Lines 19514 19514
Branches 4216 4216
=======================================
Hits 16077 16077
Misses 3151 3151
Partials 286 286
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -100,5 +100,26 @@ describe('I18n test', () => { | |||
cn: {}, | |||
}; | |||
}); | |||
|
|||
test('multi-call putVocabulariesForLanguage results in correct get result', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the tests!
@@ -87,7 +87,7 @@ | |||
"name": "Core (I18n)", | |||
"path": "./lib-esm/index.js", | |||
"import": "{ I18n }", | |||
"limit": "2 kB" | |||
"limit": "2.1 kB" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonder why this went up for such a small change?
Description of changes
Fixes (I expect) for the errors in the Amplify JS security tab.
Description of how you validated changes
I manually validated that the regex continues to match for a signed s3 url.
The I18N testing didn't seem complete enough so I added a test which I confirmed passes before and after my change (but doesn't pass if I replace the object instead of merging it into the existing object).
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.