Skip to content

Conversation

@sokra
Copy link
Contributor

@sokra sokra commented Jun 22, 2021

This makes changing json modules more performant.

Before they did invalidate all other modules.
After that change they only invalidate modules that import them.

JSON does not leak anything into the global scope

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jun 22, 2021
@typescript-bot
Copy link
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

Copy link
Member

@andrewbranch andrewbranch left a comment

Choose a reason for hiding this comment

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

Makes sense to me.

@andrewbranch andrewbranch requested a review from amcasey June 23, 2021 14:40
@amcasey
Copy link
Member

amcasey commented Jun 23, 2021

The idea seems great but I have no idea if there's a weird corner case where JSON is global.

@amcasey amcasey merged commit fd49b26 into microsoft:main Jun 23, 2021
@sokra sokra deleted the perf/json-affects-global-scope branch July 8, 2021 15:19
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants