Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xapp/arachne-parsers

Package Overview
Dependencies
Maintainers
5
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xapp/arachne-parsers - npm Package Compare versions

Comparing version 1.6.2 to 1.7.0

lib/detectors/BirdeyeDetector.d.ts

2

lib/detectors/GoDaddyDetector.d.ts

@@ -5,2 +5,4 @@ import { DetectorResult } from "./Detector";

export declare const GODADDY_REAMZE = "GoDaddy re:amaze";
export declare const GODADDY_PARKED_DOMAIN = "GoDaddy Parked Domain";
export declare const GODADDY_PARKED_DOMAIN_HOST = "img1.wsimg.com/parking-lander";
/**

@@ -7,0 +9,0 @@ * Detects the GoDaddy Website Builder by checking for specific indicators.

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.GoDaddyDetector = exports.GODADDY_REAMZE = exports.GODADDY_PLATFORM = void 0;
exports.GoDaddyDetector = exports.GODADDY_PARKED_DOMAIN_HOST = exports.GODADDY_PARKED_DOMAIN = exports.GODADDY_REAMZE = exports.GODADDY_PLATFORM = void 0;
/*! Copyright (c) 2023, XAPP AI */

@@ -19,2 +19,4 @@ const stentor_logger_1 = require("stentor-logger");

exports.GODADDY_REAMZE = "GoDaddy re:amaze";
exports.GODADDY_PARKED_DOMAIN = "GoDaddy Parked Domain";
exports.GODADDY_PARKED_DOMAIN_HOST = "img1.wsimg.com/parking-lander";
/**

@@ -52,3 +54,3 @@ * Detects the GoDaddy Website Builder by checking for specific indicators.

}
return [
const detected = [
{

@@ -63,2 +65,22 @@ technology: exports.GODADDY_PLATFORM,

];
// This we only include if true
const scriptTags = this.cheerio("script");
let isParked = false;
scriptTags.each((index, element) => {
if ('attribs' in element) {
const src = element.attribs['src'];
if (src) {
if (src.toLowerCase().includes(exports.GODADDY_PARKED_DOMAIN_HOST)) {
isParked = true;
}
}
}
});
if (isParked) {
detected.push({
technology: exports.GODADDY_PARKED_DOMAIN,
installed: isParked
});
}
return detected;
});

@@ -65,0 +87,0 @@ }

@@ -5,2 +5,8 @@ /*! Copyright (c) 2023, XAPP AI */

export declare const HOUSECALLPRO_BOOKING = "HousecallPro Booking";
export interface HouseCallProBookingResult extends DetectorResult {
/**
* A link to the booking page found for HousecallPro
*/
href?: string;
}
export declare const HOUSECALLPRO_CHAT = "HousecallPro Chat";

@@ -7,0 +13,0 @@ export declare const HOUSECALLPRO_CHAT_URL = "chat.housecallpro.com";

14

lib/detectors/HousecallProDetector.js

@@ -27,2 +27,3 @@ "use strict";

let bookingsInstalled = false;
let bookingHref;
anchorTags.each((index, element) => {

@@ -36,2 +37,3 @@ // Type guard to ensure the element is not a TextElement

if (url.host.toLowerCase().includes('book.housecallpro.com')) {
bookingHref = href;
bookingsInstalled = true;

@@ -46,8 +48,12 @@ }

});
const bookingResult = {
technology: exports.HOUSECALLPRO_BOOKING,
installed: bookingsInstalled
};
if (bookingResult.installed) {
bookingResult.href = bookingHref;
}
const chatInstalled = yield new ScriptDetector_1.ScriptDetector(this.cheerio, exports.HOUSECALLPRO_CHAT, exports.HOUSECALLPRO_CHAT_URL).detect();
return [
{
technology: exports.HOUSECALLPRO_BOOKING,
installed: bookingsInstalled
},
bookingResult,
...chatInstalled

@@ -54,0 +60,0 @@ ];

/*! Copyright (c) 2023, XAPP AI */
export * from "./ApexChatDetector";
export * from "./BirdeyeDetector";
export * from "./CallRailDetector";

@@ -11,3 +12,5 @@ export * from "./ChatterPalDetector";

export * from "./EvaluatorDetector";
export * from "./FacebookDetector";
export * from "./Five9Detector";
export * from "./FramerDetector";
export * from "./GoDaddyDetector";

@@ -18,5 +21,9 @@ export * from "./GoogleBusinessDetector";

export * from "./HubSpotDetector";
export * from "./IFrameDetector";
export * from "./IntercomDetector";
export * from "./JivoChatDetector";
export * from "./JobberDetector";
export * from "./JoomlaDetector";
export * from "./LiveZillaDetector";
export * from "./LeadConnectorDetector";
export * from "./MultiDetector";

@@ -42,3 +49,4 @@ export * from "./NextJSDetector";

export * from "./XAPPDetector";
export * from "./YextDetector";
export * from "./ZyraTalkDetector";
export * from "./utils";

@@ -19,2 +19,3 @@ "use strict";

__exportStar(require("./ApexChatDetector"), exports);
__exportStar(require("./BirdeyeDetector"), exports);
__exportStar(require("./CallRailDetector"), exports);

@@ -28,3 +29,5 @@ __exportStar(require("./ChatterPalDetector"), exports);

__exportStar(require("./EvaluatorDetector"), exports);
__exportStar(require("./FacebookDetector"), exports);
__exportStar(require("./Five9Detector"), exports);
__exportStar(require("./FramerDetector"), exports);
__exportStar(require("./GoDaddyDetector"), exports);

@@ -35,5 +38,9 @@ __exportStar(require("./GoogleBusinessDetector"), exports);

__exportStar(require("./HubSpotDetector"), exports);
__exportStar(require("./IFrameDetector"), exports);
__exportStar(require("./IntercomDetector"), exports);
__exportStar(require("./JivoChatDetector"), exports);
__exportStar(require("./JobberDetector"), exports);
__exportStar(require("./JoomlaDetector"), exports);
__exportStar(require("./LiveZillaDetector"), exports);
__exportStar(require("./LeadConnectorDetector"), exports);
__exportStar(require("./MultiDetector"), exports);

@@ -59,4 +66,5 @@ __exportStar(require("./NextJSDetector"), exports);

__exportStar(require("./XAPPDetector"), exports);
__exportStar(require("./YextDetector"), exports);
__exportStar(require("./ZyraTalkDetector"), exports);
__exportStar(require("./utils"), exports);
//# sourceMappingURL=index.js.map
{
"name": "@xapp/arachne-parsers",
"version": "1.6.2",
"version": "1.7.0",
"types": "lib/index",

@@ -17,6 +17,6 @@ "main": "lib/index",

"devDependencies": {
"@microsoft/api-extractor": "7.39.5",
"@microsoft/api-extractor": "7.40.1",
"@types/chai": "4.3.11",
"@types/mocha": "10.0.6",
"@types/node": "20.11.16",
"@types/node": "20.11.19",
"@types/sinon": "17.0.3",

@@ -27,3 +27,3 @@ "@types/sinon-chai": "3.2.12",

"chai": "4.4.1",
"mocha": "10.2.0",
"mocha": "10.3.0",
"sinon": "17.0.1",

@@ -47,3 +47,3 @@ "sinon-chai": "3.7.0",

},
"gitHead": "0fe87cb3d77b29e972518440c5540ad12bdeeaab"
"gitHead": "2d24174076a3a351f2a70f2bf5da88904cf80570"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc