Author Topic: Very, very minor bug for depricated JS  (Read 185 times)

jplevene

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 162
    • View Profile
Very, very minor bug for depricated JS
« on: August 24, 2025, 10:25:04 pm »
In my console I am getting a depricated alert for filesaver.js:

Quote
Unload event listeners are deprecated and will be removed.
1 source
filesaver.js:232

Line 232 in filesaver.js is:
Code: [Select]
view.addEventListener("unload", process_deletion_queue, false);
Chrome links me to this page regarding the deprecation: https://chromestatus.com/feature/5579556305502208

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6423
    • View Profile
Re: Very, very minor bug for depricated JS
« Reply #1 on: August 24, 2025, 10:42:25 pm »
there is no need to use filesaver.js

pq.saveAs API can be used: https://paramquery.com/pro/api#method-saveAs