Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: 3rd party scripts Date: Tue, 28 Jul 2020 04:38:45 +0200 Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net r4RtNfK7gNUhUoKMuyazbACCKulbl9mAVvBY+KVB+Cw5aDGzEM Cancel-Lock: sha1:o3mgd30Mzy7nZnJaAtFcfp8y1sY= In-Reply-To: Xref: csiph.com comp.lang.javascript:38615 Andrew Poulos: > I have a website that uses 3rd party code (anime.js, driver.js...) The > site works as expected but I have to manually check the 3rd party > sources to see if there are any updates. > > Then if there is an update I have to check what it is, download it, and > then test the website with it. > > Is this the nature of using 3rd party code or is there some "automated" > way to handle it? Well - downloading could be automated on the server. But *testing* is still needed, since you don't know, if your website still works with a newer version of a third party script. In fact you would need a kind of build environment where you can run a development copy of your site for this. Testing could be automated with Cypress where you define actions and the expected result. -- Arno Welzel https://arnowelzel.de