Updated dependencies
							parent
							
								
									1c25e2806d
								
							
						
					
					
						commit
						2e49c66eca
					
				| 
						 | 
				
			
			@ -1,7 +1,6 @@
 | 
			
		|||
"use strict";
 | 
			
		||||
 | 
			
		||||
// Public modules from npm
 | 
			
		||||
const isUrl = require("is-url-superb");
 | 
			
		||||
const ky = require("ky-universal").create({
 | 
			
		||||
    throwHttpErrors: false
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			@ -43,7 +42,7 @@ module.exports.isStringAValidURL = function(url) {
 | 
			
		|||
 * @returns {Promise<Boolean>} true if the URL exists, false otherwise
 | 
			
		||||
 */
 | 
			
		||||
module.exports.urlExists = async function(url, checkRedirect) {
 | 
			
		||||
    if (!isUrl(url)) {
 | 
			
		||||
    if (!this.isStringAValidURL(url)) {
 | 
			
		||||
        return false
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1069,11 +1069,6 @@
 | 
			
		|||
      "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "is-url-superb": {
 | 
			
		||||
      "version": "4.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/is-url-superb/-/is-url-superb-4.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA=="
 | 
			
		||||
    },
 | 
			
		||||
    "is-windows": {
 | 
			
		||||
      "version": "1.0.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
{
 | 
			
		||||
  "main": "./app/index.js",
 | 
			
		||||
  "name": "f95api",
 | 
			
		||||
  "version": "1.0.1",
 | 
			
		||||
  "version": "1.0.2",
 | 
			
		||||
  "author": {
 | 
			
		||||
    "name": "Millennium Earl"
 | 
			
		||||
  },
 | 
			
		||||
| 
						 | 
				
			
			@ -31,7 +31,6 @@
 | 
			
		|||
    "node": ">=10.0"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "is-url-superb": "^4.0.0",
 | 
			
		||||
    "ky-universal": "^0.8.2",
 | 
			
		||||
    "node-html-parser": "^1.2.21",
 | 
			
		||||
    "puppeteer": "^5.3.1"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue