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

Move all client scripts of mongo nodes (and the shared function) to iife #910

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Steve-Mcl
Copy link
Contributor

fixes #909

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Prevent global pollution with other nodes that have a global scope oneditprepare function by wrapping this nodes scripts & oneditprepare (shared function) into a single IIFE

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

prevent global polution with other nodes doing this
@Steve-Mcl Steve-Mcl requested a review from dceejay May 12, 2022 21:41
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.

MongoDB out node is not visible
1 participant