Replace exval with serialize-javascript in stripes-loader
Description
stripes-loader needs to serialise an object including function properties which will ultimately be eval'd via webpack (such is the way of loaders, they return strings). It currently does this with a fairly sparsely maintained package exval and this alternative seems a bit less tenuous:
No hurry, I'm satisfied with the current arrangement. Just that if it ever gives us the slightest trouble I want this issue to show up in a search as there's indeed something better to replace it with.
Environment
None
Potential Workaround
None
Checklist
hide
TestRail: Results
Activity
Show:
Jason Skomorowski October 11, 2017 at 7:15 PM
Matt did this when he moved loader to stripes-core.
stripes-loader needs to serialise an object including function properties which will ultimately be eval'd via webpack (such is the way of loaders, they return strings). It currently does this with a fairly sparsely maintained package exval and this alternative seems a bit less tenuous:
https://github.com/yahoo/serialize-javascript
No hurry, I'm satisfied with the current arrangement. Just that if it ever gives us the slightest trouble I want this issue to show up in a search as there's indeed something better to replace it with.