AlaskaAirlines / auro-form

Custom element that ....
https://auro.alaskaair.com/components/auro/form
Apache License 2.0
0 stars 0 forks source link

mark.js breaks with version 8.11.1 #40

Open blackfalcon opened 10 months ago

blackfalcon commented 10 months ago

Describe the bug

When updating to v8.11.1 the following error appears in the CLI

./index.js → dist/...
(!) "this" has been rewritten to "undefined"
https://rollupjs.org/troubleshooting/#error-this-is-undefined
node_modules/mark.js/dist/mark.min.js
5: * Released under the MIT license https://git.io/vwTVl
6: *****************************************************/
7: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Mark=t()}(this,funct...

To Reproduce

Steps to reproduce the behavior:

  1. Update auro-menu locally to use mark.js@8.11.1
  2. npm run build
  3. see error

Expected behavior

There are no build errors.

Additional context

It appears that version 8.11.1 was released 6 years ago. Issues have been turned off for the Github repo. This has all the signs of a dead utility.

It is recommended that we stay with v8.11.0 as that is stable. It is also recommended that we look for a replacement for this feature support.