In my case it's a code example in an answer to this question. I'm relying on a third-party CDN to import libraries from NPM that would otherwise be tricky to use in the Stack Overflow code-snippet editor.
I'm doing this in preference to (for instance) adding a link to an example in online REPL/IDE that has better support for NPM packages.
...but effectively, both are external dependencies to my answer that could break at any time (as, I suppose, is NPM itself, although I feel safer in my assumption that we're stuck with it for a while longer).
What's the preference here?