MCPcopy Index your code
hub / github.com/pyscript/pyscript / checkDeprecations

Function checkDeprecations

core/src/plugins/deprecations-manager.js:12–15  ·  view source on GitHub ↗

* Check that there are no scripts loading from pyscript.net/latest

()

Source from the content-addressed store, hash-verified

10 * Check that there are no scripts loading from pyscript.net/latest
11 */
12function checkDeprecations() {
13 const scripts = document.querySelectorAll("script");
14 for (const script of scripts) checkLoadingScriptsFromLatest(script.src);
15}
16
17/**
18 * Check if src being loaded from pyscript.net/latest and display a notification if true

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected