Every line of 'js cdn' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
20 function notcdnjs(url){ 21 return url.indexOf(baseURL) != 0 || exceptions.some(function(item){ 22 return url.indexOf(baseURL + item) == 0; 23 }); 24 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code
5 function createDynamicCdnObject(moduleName, version, globalVarName, url) { 6 return { 7 name: moduleName, 8 var: globalVarName, 9 url, 10 version 11 }; 12 }