New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

iobroker.adguard

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.adguard - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

59

build/lib/object_definitions.js

@@ -42,2 +42,61 @@ "use strict";

},
"stats.ratio_blocked_filtering": {
type: "state",
common: {
name: "Ratio of blocked queries by filtering queries",
role: "value",
type: "number",
write: false,
read: true,
unit: "%",
},
native: {},
},
"stats.ratio_replaced_safebrowsing": {
type: "state",
common: {
name: "Ratio of blocked queries by safe browsing",
role: "value",
type: "number",
write: false,
read: true,
unit: "%",
},
native: {},
},
"stats.ratio_replaced_parental": {
type: "state",
common: {
name: "Ratio of blocked queries by parental control",
role: "value",
type: "number",
write: false,
read: true,
unit: "%",
},
native: {},
},
"stats.ratio_blocked_total": {
type: "state",
common: {
name: "Ratio of all blocked DNS queries",
role: "value",
type: "number",
write: false,
read: true,
unit: "%",
},
native: {},
},
"stats.num_blocked_total": {
type: "state",
common: {
name: "Number of all blocked DNS queries",
role: "value",
type: "number",
write: false,
read: true,
},
native: {},
},
"stats.num_blocked_filtering": {

@@ -44,0 +103,0 @@ type: "state",

@@ -125,2 +125,12 @@ "use strict";

const stats = responses[0].data;
// Calculate ratio blocks filtering
stats.ratio_blocked_filtering = Math.round((stats.num_blocked_filtering / (stats.num_dns_queries - (stats.num_replaced_safebrowsing + stats.num_replaced_parental))) * 10000) / 100;
// Calculate ratio replaced safebrowsing
stats.ratio_replaced_safebrowsing = Math.round((stats.num_replaced_safebrowsing / (stats.num_dns_queries - (stats.num_blocked_filtering + stats.num_replaced_parental))) * 10000) / 100;
// Calculate ratio replaced parental
stats.ratio_replaced_parental = Math.round((stats.num_replaced_parental / (stats.num_dns_queries - (stats.num_replaced_safebrowsing + stats.num_blocked_filtering))) * 10000) / 100;
// Calculate ratio blocks total
stats.ratio_blocked_total = stats.ratio_blocked_filtering + stats.ratio_replaced_safebrowsing + stats.ratio_replaced_parental;
// Calculate number blocks total
stats.num_blocked_total = stats.num_blocked_filtering + stats.num_replaced_safebrowsing + stats.num_replaced_parental + stats.num_replaced_safesearch;
const control = {

@@ -127,0 +137,0 @@ safebrowsing: responses[1].data,

14

io-package.json
{
"common": {
"name": "adguard",
"version": "0.0.2",
"version": "0.0.3",
"news": {
"0.0.3": {
"en": "added ratio of blocked queries by filtering queries (ratio_blocked_filtering)\nadded ratio of blocked queries by safe browsing (ratio_replaced_safebrowsing)\nadded ratio of blocked queries by parental control (ratio_replaced_parental)\nadded ratio of all blocked DNS queries (ratio_blocked_total)\nadded number of all blocked DNS queries (num_blocked_total)",
"de": "Verhältnis blockierter Abfragen durch Filtern von Abfragen hinzugefügt (ratio_blocked_filtering)\nVerhältnis blockierter Abfragen durch sicheres Surfen hinzugefügt (ratio_replaced_safebrowsing)\nVerhältnis der blockierten Abfragen durch die Kindersicherung hinzugefügt (ratio_replaced_parental)\nVerhältnis aller blockierten DNS-Abfragen hinzugefügt (ratio_blocked_total)\nAnzahl aller blockierten DNS-Abfragen hinzugefügt (num_blocked_total)",
"ru": "добавлен коэффициент заблокированных запросов при фильтрации запросов (ratio_blocked_filtering)\nдобавлено соотношение заблокированных запросов при безопасном просмотре (ratio_replaced_safebrowsing)\nдобавлен коэффициент заблокированных запросов родительским контролем (ratio_replaced_parental)\nдобавлен коэффициент всех заблокированных DNS-запросов (ratio_blocked_total)\nдобавлено количество всех заблокированных DNS-запросов (num_blocked_total)",
"pt": "proporção adicionada de consultas bloqueadas por consultas de filtragem (ratio_blocked_filtering)\nproporção adicionada de consultas bloqueadas por navegação segura (ratio_replaced_safebrowsing)\nproporção adicionada de consultas bloqueadas por controle dos pais (ratio_replaced_parental)\nproporção adicionada de todas as consultas DNS bloqueadas (ratio_blocked_total)\nadicionado número de todas as consultas DNS bloqueadas (num_blocked_total)",
"nl": "toegevoegde verhouding van geblokkeerde zoekopdrachten door zoekopdrachten te filteren (ratio_blocked_filtering)\ntoegevoegde verhouding van geblokkeerde zoekopdrachten door veilig browsen (ratio_replaced_safebrowsing)\ntoegevoegde verhouding van geblokkeerde zoekopdrachten door ouderlijk toezicht (ratio_replaced_parental)\ntoegevoegde verhouding van alle geblokkeerde DNS-query's (ratio_blocked_total)\ntoegevoegd aantal van alle geblokkeerde DNS-query's (num_blocked_total)",
"fr": "taux ajouté de requêtes bloquées en filtrant les requêtes (ratio_blocked_filtering)\ntaux ajouté de requêtes bloquées par navigation sécurisée (ratio_replaced_safebrowsing)\ntaux ajouté de requêtes bloquées par le contrôle parental (ratio_replaced_parental)\nratio ajouté de toutes les requêtes DNS bloquées (ratio_blocked_total)\nnombre ajouté de toutes les requêtes DNS bloquées (num_blocked_total)",
"it": "aggiunto rapporto di query bloccate filtrando le query (ratio_blocked_filtering)\naggiunto rapporto di query bloccate tramite navigazione sicura (ratio_replaced_safebrowsing)\naggiunto rapporto di query bloccate dal controllo genitori (ratio_replaced_parental)\naggiunto rapporto di tutte le query DNS bloccate (ratio_blocked_total)\naggiunto il numero di tutte le query DNS bloccate (num_blocked_total)",
"es": "Proporción adicional de consultas bloqueadas mediante el filtrado de consultas (ratio_blocked_filtering)\nProporción adicional de consultas bloqueadas por navegación segura (ratio_replaced_safebrowsing)\nProporción adicional de consultas bloqueadas por control parental (ratio_replaced_parental)\nproporción agregada de todas las consultas de DNS bloqueadas (ratio_blocked_total)\nnúmero agregado de todas las consultas de DNS bloqueadas (num_blocked_total)",
"pl": "dodano współczynnik zablokowanych zapytań przez filtrowanie zapytań (ratio_blocked_filtering)\ndodano współczynnik blokowanych zapytań przez bezpieczne przeglądanie (ratio_replaced_safebrowsing)\ndodano współczynnik zablokowanych zapytań przez kontrolę rodzicielską (ratio_replaced_parental)\ndodano współczynnik wszystkich zablokowanych zapytań DNS (ratio_blocked_total)\ndodano liczbę wszystkich zablokowanych zapytań DNS (num_blocked_total)",
"zh-cn": "通过过滤查询添加阻塞查询的比率(ratio_blocked_filtering)\n通过安全浏览添加阻止查询的比率(ratio_replaced_safebrowsing)\n添加了家长控制阻止查询的比率(ratio_replaced_parental)\n添加的所有被阻止的 DNS 查询的比率 (ratio_blocked_total)\n添加了所有被阻止的 DNS 查询的数量 (num_blocked_total)"
},
"0.0.2": {

@@ -7,0 +19,0 @@ "en": "first usable version",

2

package.json
{
"name": "iobroker.adguard",
"version": "0.0.2",
"version": "0.0.3",
"description": "AdGuard Home is a network-wide ad- and tracker-blocking DNS server with parental control (adult content blocking) capabilities. The AdGuard integration allows you to control and monitor your AdGuard Home instance in ioBroker.",

@@ -5,0 +5,0 @@ "author": {

@@ -38,2 +38,10 @@ ![Logo](admin/adguard.png)

### 0.0.3 (2021-07-12)
- (o0Shojo0o) added ratio of blocked queries by filtering queries (ratio_blocked_filtering)
- (o0Shojo0o) added ratio of blocked queries by safe browsing (ratio_replaced_safebrowsing)
- (o0Shojo0o) added ratio of blocked queries by parental control (ratio_replaced_parental)
- (o0Shojo0o) added ratio of all blocked DNS queries (ratio_blocked_total)
- (o0Shojo0o) added number of all blocked DNS queries (num_blocked_total)
### 0.0.2 (2021-07-11)

@@ -40,0 +48,0 @@

Sorry, the diff of this file is too big to display

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