Closed kf6nux closed 5 years ago
I'm don't usually develop for nodejs. I'm not sure why tests are passing for Node 8 and Node 10, but not Node 6.
Note entirely sure either. The test suite for this package is rather lacking (simply looks to see if the package compiles and whether things are registered, which isn't exactly useful for regression testing). #49 is a task to fix that bit, which will probably render most of the current tests obsolete.
If you wanted to be on the safe side and get past it, you could update:
Thanks for the tip @stephenyeargin. Tests are passing now.
Released with v3.1.0
Problem: Pager Trigger's regex isn't matching the quoted portion due to some modern OSes converting ASCII double quote and apostrophe to "left/right double quote" and "left/right single quote". i.e. U+0022 gets converted to U+201C/U+201D and U+0027 gets converted to U+2018/U+2019.
Solution: Extend the regex to allow these unicode characters to delineate the PagerDuty schedule.