livewire-charts icon indicating copy to clipboard operation
livewire-charts copied to clipboard

Update helpers.js

Open arkdev1 opened this issue 2 years ago • 0 comments

Summary

I updated helpers.js to fix a recurring problem, eval() returned a JS error:

Uncaught SyntaxError: Unexpected end of input
    at app-08a4b5f5.js:738:14381
    at Array.reduce (<anonymous>)
    at mergedOptionsWithJsonConfig (app-08a4b5f5.js:738:14178)
    at Proxy.drawChart (app-08a4b5f5.js:738:21078)
    at app-08a4b5f5.js:738:19964

eval() with vite has "security" risk? resources/js/vendor/livewire-charts/helpers.js (20:58) Use of eval in "resources/js/vendor/livewire-charts/helpers.js" is strongly discouraged as it poses security risks and may cause issues with minification.

Issue

No issue

Type of Change

  • [ ] :rocket: New Feature
  • [x] :bug: Bug Fix
  • [ ] :hammer: Refactor
  • [ ] :question: [Other]

Screenshot/Video

image

arkdev1 avatar Mar 07 '24 09:03 arkdev1