Skip to content

Add a helper function getOrUpdateProperty to prevent unprotected access to Maps. #10115

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

Merged
1 commit merged into from
Aug 4, 2016

Conversation

ghost
Copy link

@ghost ghost commented Aug 3, 2016

Fixes #9732

@ghost ghost force-pushed the export_specifiers_map branch from 6373853 to 204f2c1 Compare August 3, 2016 16:01
@@ -941,7 +945,7 @@ namespace ts {
* [^./] # matches everything up to the first . character (excluding directory seperators)
* (\\.(?!min\\.js$))? # matches . characters but not if they are part of the .min.js file extension
*/
const singleAsteriskRegexFragmentFiles = "([^./]|(\\.(?!min\\.js$))?)*";
const singleAsteriskRegexFragmentFiles = "([^./]|(\\.(?!min\\.js$))?)*";
Copy link
Member

Choose a reason for hiding this comment

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

what changes on this line? Is it the line ending?

Copy link
Member

Choose a reason for hiding this comment

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

It's line ending. This line ends with just an LF in master.

Which is strange, because we have a lint rule covering this which is not triggering.

Copy link
Member

Choose a reason for hiding this comment

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

Does it only detect extra line endings? It just fired for me when I had an extra.

@sandersn
Copy link
Member

sandersn commented Aug 3, 2016

👍

@ghost ghost merged commit 0a8afc9 into master Aug 4, 2016
@ghost ghost deleted the export_specifiers_map branch August 4, 2016 13:06
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants