From 38ae42f877bcd54ce9463c4c006d52f322f89454 Mon Sep 17 00:00:00 2001 From: Joost de Valk Date: Fri, 5 Jul 2024 14:46:16 +0200 Subject: [PATCH 1/5] Add support for Brizy detection --- src/images/icons/brizy.svg | 32 ++++++++++++++++++++++++++++++++ src/technologies/b.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 src/images/icons/brizy.svg diff --git a/src/images/icons/brizy.svg b/src/images/icons/brizy.svg new file mode 100644 index 000000000..8ea2c71e2 --- /dev/null +++ b/src/images/icons/brizy.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/technologies/b.json b/src/technologies/b.json index 310ef64b0..b674619a9 100644 --- a/src/technologies/b.json +++ b/src/technologies/b.json @@ -2363,6 +2363,34 @@ ], "website": "https://brimble.io" }, + "Brizy Cloud": { + "cats": [ + 1, + 51 + ], + "description": "Brizy Cloud is a platform for creating and managing websites using an intuitive drag-and-drop editor, allowing users to design and publish sites without any coding knowledge. ", + "html": "]+class=[\"']brz-root__container", + "icon": "brizy.svg", + "saas": true, + "scriptSrc": "b-cloud\\.b-cdn\\.net/builds/(?:free|pro)/\\d+-cloud", + "website": "https://brizy.io" + }, + "Brizy WordPress": { + "cats": [ + 51, + 87 + ], + "description": "Brizy WordPress is a plugin that enables users to build and design WordPress websites with an easy-to-use drag-and-drop editor and a wide range of customizable templates.", + "dom": "link[href*='/wp-content/plugins/brizy/']", + "excludes": "Brizy Cloud", + "html": "]+class=[\"']brz-root__container", + "icon": "brizy.svg", + "pricing": [ + "freemium" + ], + "requires": "WordPress", + "website": "https://brizy.io" + }, "Broadstreet": { "cats": [ 36 From 0c763f59044a8c62da5cd965134eb9072c010019 Mon Sep 17 00:00:00 2001 From: Joost de Valk Date: Sat, 13 Jul 2024 16:16:08 +0200 Subject: [PATCH 2/5] Re-categorize WordPress block libraries; they're not page builders themselves. --- src/technologies/c.json | 2 +- src/technologies/g.json | 20 ++++++++++---------- src/technologies/k.json | 4 ++-- src/technologies/n.json | 2 +- src/technologies/o.json | 5 ++--- src/technologies/s.json | 9 ++++----- src/technologies/t.json | 4 ++-- src/technologies/w.json | 5 +++-- 8 files changed, 25 insertions(+), 26 deletions(-) diff --git a/src/technologies/c.json b/src/technologies/c.json index f4c427596..42656415f 100644 --- a/src/technologies/c.json +++ b/src/technologies/c.json @@ -4363,7 +4363,7 @@ "description": "Cwicly is an advanced professional design and block toolkit that integrates directly with the WordPress editor.", "dom": "link[href*='/wp-content/uploads/cwicly/']", "icon": "Cwicly.png", - "implies": "Gutenberg", + "implies": "WordPress Block Editor", "pricing": [ "low", "recurring" diff --git a/src/technologies/g.json b/src/technologies/g.json index 9d5c23bb8..1e4322de7 100644 --- a/src/technologies/g.json +++ b/src/technologies/g.json @@ -376,12 +376,12 @@ }, "GenerateBlocks": { "cats": [ - 87, - 51 + 87 ], - "description": "GenerateBlocks is a WordPress plugin that has the trappings of a page builder.", + "description": "GenerateBlocks is a small collection of lightweight WordPress blocks for the WordPress Block Editor.", "dom": "link#generateblocks-css", "icon": "GenerateBlocks.svg", + "implies": "WordPress Block Editor", "pricing": [ "freemium", "low", @@ -1324,10 +1324,9 @@ }, "GoDaddy CoBlocks": { "cats": [ - 87, - 51 + 87 ], - "description": "GoDaddy CoBlocks is a suite of professional page building content blocks for the WordPress Gutenberg block editor.", + "description": "GoDaddy CoBlocks is a suite of professional page building content blocks for the WordPress Block Editor.", "dom": "link[href*='/wp-content/plugins/coblocks/']", "icon": "GoDaddy.svg", "oss": true, @@ -1359,9 +1358,10 @@ "cats": [ 80 ], - "description": "GoDaddy Go is a flexible Gutenberg-first WordPress theme built for go-getters everywhere.", + "description": "GoDaddy Go is a flexible Block Editor WordPress theme built for go-getters everywhere.", "dom": "link#go-style-css", "icon": "GoDaddy.svg", + "implies": "WordPress Block Editor", "js": { "goFrontend.openMenuOnHover": "" }, @@ -2521,10 +2521,9 @@ }, "Gutenberg": { "cats": [ - 87, - 20 + 87 ], - "description": "Gutenberg is the code name for the new block based editor introduced in WordPress 5.", + "description": "Gutenberg is the development plugin in which new features for the WordPress Block Editor are tested.", "dom": { "link[href*='/wp-content/plugins/gutenberg/']": { "attributes": { @@ -2533,6 +2532,7 @@ } }, "icon": "Gutenberg.png", + "implies": "WordPress Block Editor", "oss": true, "requires": "WordPress", "scriptSrc": "/wp-content/plugins/gutenberg/", diff --git a/src/technologies/k.json b/src/technologies/k.json index 88e26055e..899842e31 100644 --- a/src/technologies/k.json +++ b/src/technologies/k.json @@ -126,10 +126,10 @@ "cats": [ 87 ], - "description": "Kadence WP Blocks is a plugin for WordPress that provides a collection of custom blocks for the Gutenberg editor, allowing users to create custom layouts and designs for their website without needing to know how to code.", + "description": "Kadence WP Blocks is a plugin for WordPress that provides a collection of custom blocks for the WordPress Block Editor, allowing users to create custom layouts and designs for their website without needing to know how to code.", "dom": "link[href*='/wp-content/plugins/kadence-blocks/']", "icon": "Kadence WP.svg", - "implies": "Gutenberg", + "implies": "WordPress Block Editor", "pricing": [ "freemium", "low", diff --git a/src/technologies/n.json b/src/technologies/n.json index e47cab317..12cd5b092 100644 --- a/src/technologies/n.json +++ b/src/technologies/n.json @@ -523,7 +523,7 @@ "cats": [ 80 ], - "description": "Neve is a super-fast, easily customizable, multi-purpose theme that works perfectly with Gutenberg and the most popular page builders as well as WooCommerce", + "description": "Neve is a super-fast, easily customizable, multi-purpose theme that works perfectly with the WordPress Block Editor and the most popular page builders as well as WooCommerce", "dom": { "body[class*='neve-theme']": { "text": "" diff --git a/src/technologies/o.json b/src/technologies/o.json index c194eb3cd..c4b5b8334 100644 --- a/src/technologies/o.json +++ b/src/technologies/o.json @@ -1580,10 +1580,9 @@ }, "OrbitFox": { "cats": [ - 87, - 5 + 87 ], - "description": "OrbitFox is a multi-featured WordPress plugin that works with the Elementor, Beaver Builder and Gutenberg site-building utilities by Themeisle.", + "description": "OrbitFox is a multi-featured WordPress plugin that works with the Elementor, Beaver Builder and WordPress Block Editor site-building utilities by Themeisle.", "dom": "link[href*='/wp-content/plugins/themeisle-companion/']", "icon": "OrbitFox.svg", "requires": "WordPress", diff --git a/src/technologies/s.json b/src/technologies/s.json index 423c7c3d3..4d64cf62f 100644 --- a/src/technologies/s.json +++ b/src/technologies/s.json @@ -5141,10 +5141,10 @@ "cats": [ 87 ], - "description": "Spectra is a WordPress plugin that provides a collection of new and enhanced blocks for the Gutenberg editor.", + "description": "Spectra is a WordPress plugin that provides a collection of new and enhanced blocks for the WordPress Block editor.", "dom": "link[href*='/wp-content/plugins/ultimate-addons-for-gutenberg/']", "icon": "Spectra.svg", - "implies": "Gutenberg", + "implies": "WordPress Block Editor", "pricing": [ "freemium", "low", @@ -5919,8 +5919,7 @@ }, "Stackable": { "cats": [ - 87, - 51 + 87 ], "description": "Stackable is a plugin for WordPress that offers a collection of blocks, templates, and other design tools to help users create custom, professional-looking websites.", "dom": { @@ -5931,7 +5930,7 @@ } }, "icon": "Stackable.svg", - "implies": "Gutenberg", + "implies": "WordPress Block Editor", "js": { "stackable.restUrl": "", "stackableAnimations": "" diff --git a/src/technologies/t.json b/src/technologies/t.json index 5f732a535..7a878d1d7 100644 --- a/src/technologies/t.json +++ b/src/technologies/t.json @@ -1572,7 +1572,7 @@ "cats": [ 80 ], - "description": "Themegraphy Graphy is now compatible with WordPress 5.0 and Gutenberg blog-oriented WordPress theme.", + "description": "Themegraphy Graphy is now compatible with WordPress 5.0 and WordPress Block Editor blog-oriented WordPress theme.", "icon": "Themegraphy.png", "pricing": [ "freemium", @@ -3622,4 +3622,4 @@ "implies": "Node.js", "website": "https://totaljs.com" } -} \ No newline at end of file +} diff --git a/src/technologies/w.json b/src/technologies/w.json index 7ec0b05ee..47c8376a5 100644 --- a/src/technologies/w.json +++ b/src/technologies/w.json @@ -654,7 +654,7 @@ "dom": "link[href*='/wp-content/themes/waveme/']", "icon": "Waveme.svg", "implies": [ - "Gutenberg", + "WordPress Block Editor", "Waveform" ], "pricing": [ @@ -1878,7 +1878,7 @@ "cats": [ 87 ], - "description": "WooCommerce Blocks offers a range of Gutenberg blocks you can use to build and customise your site.", + "description": "WooCommerce Blocks offers a range of blocks for the WordPress Block Editor you can use to build and customise your site.", "dom": { "link[href*='/wp-content/plugins/woo-gutenberg-products-block/']": { "attributes": { @@ -1887,6 +1887,7 @@ } }, "icon": "WooCommerce Blocks.png", + "implies": "WordPress Block Editor", "oss": true, "requires": [ "WordPress", From 1fab16c5470a73643637d5e646f3d40340b4753a Mon Sep 17 00:00:00 2001 From: Joost de Valk Date: Sat, 13 Jul 2024 16:45:29 +0200 Subject: [PATCH 3/5] Fix code style --- src/technologies/g.json | 1 + src/technologies/k.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/technologies/g.json b/src/technologies/g.json index 1e4322de7..31c0758ed 100644 --- a/src/technologies/g.json +++ b/src/technologies/g.json @@ -380,6 +380,7 @@ ], "description": "GenerateBlocks is a small collection of lightweight WordPress blocks for the WordPress Block Editor.", "dom": "link#generateblocks-css", + "html": "]* id=[^>]+generateblocks-css", "icon": "GenerateBlocks.svg", "implies": "WordPress Block Editor", "pricing": [ diff --git a/src/technologies/k.json b/src/technologies/k.json index 899842e31..5151bb06d 100644 --- a/src/technologies/k.json +++ b/src/technologies/k.json @@ -126,8 +126,9 @@ "cats": [ 87 ], - "description": "Kadence WP Blocks is a plugin for WordPress that provides a collection of custom blocks for the WordPress Block Editor, allowing users to create custom layouts and designs for their website without needing to know how to code.", + "description": "Kadence Blocks is a plugin for WordPress that provides a collection of custom blocks for the WordPress Block Editor, allowing users to create custom layouts and designs for their website without needing to know how to code.", "dom": "link[href*='/wp-content/plugins/kadence-blocks/']", + "html": "]* id=[^>]+kadence-blocks-", "icon": "Kadence WP.svg", "implies": "WordPress Block Editor", "pricing": [ From 429e44d018a133d735dfa736871b10c3643c4a30 Mon Sep 17 00:00:00 2001 From: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com> Date: Sun, 14 Jul 2024 20:46:01 +0200 Subject: [PATCH 4/5] detected_raw removed --- .gitignore | 1 + tests/unit-tests.test.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 97f83b858..722334300 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ tags.* src/out.json keys.json +.env diff --git a/tests/unit-tests.test.js b/tests/unit-tests.test.js index df82ba83d..67eceaffe 100644 --- a/tests/unit-tests.test.js +++ b/tests/unit-tests.test.js @@ -16,8 +16,7 @@ test('wappalyzer successful', () => { assert( typeof firstView.detected === 'object' && typeof firstView.detected_apps === 'object' && - typeof firstView.detected_technologies === 'object' && - typeof firstView.detected_raw === 'object', + typeof firstView.detected_technologies === 'object', 'not all technology lists are present' ) assert( From 5737132baced289b9cc8642f3b67dc3cea28b61c Mon Sep 17 00:00:00 2001 From: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com> Date: Sun, 14 Jul 2024 20:59:21 +0200 Subject: [PATCH 5/5] moved testing number of technologies --- tests/unit-tests.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-tests.test.js b/tests/unit-tests.test.js index 67eceaffe..c9a7394a4 100644 --- a/tests/unit-tests.test.js +++ b/tests/unit-tests.test.js @@ -20,7 +20,7 @@ test('wappalyzer successful', () => { 'not all technology lists are present' ) assert( - firstView.detected_raw.length > 1, + Object.keys(firstView.detected_technologies).length > 1, 'number of technologies detected <=1' ) })