Skip to content

Conversation

@CubesterYT
Copy link
Member

This was ported over from NitroBolt

It handles variable monitors and lists better, and doesn't do that weird thing to arrays.

image

}
};

module.exports = {
Copy link
Member

@GarboMuffin GarboMuffin Nov 18, 2025

Choose a reason for hiding this comment

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

no reason to use module.exports instead of es6 modules

Copy link
Member

Choose a reason for hiding this comment

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

i also think it should just be in monitor adapter we are not really benefitting from bringing this out to another file

Copy link
Member

@GarboMuffin GarboMuffin Nov 18, 2025

Choose a reason for hiding this comment

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

ok you could argue that it might be used somewhere else in the future. in that case let's rename it from sanitize to something else. sanitize implies some security stuff that this isn't doing. maybe tw-safe-stringify

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.

2 participants