first commit
This commit is contained in:
1
app_vue/node_modules/bonjour-service/dist/lib/utils/dns-equal.d.ts
generated
vendored
Normal file
1
app_vue/node_modules/bonjour-service/dist/lib/utils/dns-equal.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export default function dnsEqual(a: string, b: string): boolean;
|
13
app_vue/node_modules/bonjour-service/dist/lib/utils/dns-equal.js
generated
vendored
Normal file
13
app_vue/node_modules/bonjour-service/dist/lib/utils/dns-equal.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = dnsEqual;
|
||||
const capitalLetterRegex = /[A-Z]/g;
|
||||
function toLowerCase(input) {
|
||||
return input.toLowerCase();
|
||||
}
|
||||
function dnsEqual(a, b) {
|
||||
const aFormatted = a.replace(capitalLetterRegex, toLowerCase);
|
||||
const bFormatted = b.replace(capitalLetterRegex, toLowerCase);
|
||||
return aFormatted === bFormatted;
|
||||
}
|
||||
//# sourceMappingURL=dns-equal.js.map
|
1
app_vue/node_modules/bonjour-service/dist/lib/utils/dns-equal.js.map
generated
vendored
Normal file
1
app_vue/node_modules/bonjour-service/dist/lib/utils/dns-equal.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"dns-equal.js","sourceRoot":"","sources":["../../../src/lib/utils/dns-equal.ts"],"names":[],"mappings":";;AAOA,2BAKC;AAXD,MAAM,kBAAkB,GAAY,QAAQ,CAAA;AAE5C,SAAS,WAAW,CAAC,KAAa;IAC9B,OAAO,KAAK,CAAC,WAAW,EAAE,CAAA;AAC9B,CAAC;AAED,SAAwB,QAAQ,CAAC,CAAS,EAAE,CAAS;IACjD,MAAM,UAAU,GAAG,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAA;IAC7D,MAAM,UAAU,GAAG,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAA;IAE7D,OAAO,UAAU,KAAK,UAAU,CAAA;AACpC,CAAC"}
|
1
app_vue/node_modules/bonjour-service/dist/lib/utils/equal-txt.d.ts
generated
vendored
Normal file
1
app_vue/node_modules/bonjour-service/dist/lib/utils/equal-txt.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export default function equalTxt(a: Record<string, string>, b: Record<string, string>): boolean;
|
17
app_vue/node_modules/bonjour-service/dist/lib/utils/equal-txt.js
generated
vendored
Normal file
17
app_vue/node_modules/bonjour-service/dist/lib/utils/equal-txt.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = equalTxt;
|
||||
function equalTxt(a, b) {
|
||||
if (a === undefined || b === undefined)
|
||||
return false;
|
||||
let aKeys = Object.keys(a);
|
||||
let bKeys = Object.keys(b);
|
||||
if (aKeys.length != bKeys.length)
|
||||
return false;
|
||||
for (let key of aKeys) {
|
||||
if (a[key] != b[key])
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
//# sourceMappingURL=equal-txt.js.map
|
1
app_vue/node_modules/bonjour-service/dist/lib/utils/equal-txt.js.map
generated
vendored
Normal file
1
app_vue/node_modules/bonjour-service/dist/lib/utils/equal-txt.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"equal-txt.js","sourceRoot":"","sources":["../../../src/lib/utils/equal-txt.ts"],"names":[],"mappings":";;AAAA,2BASC;AATD,SAAwB,QAAQ,CAAC,CAAyB,EAAE,CAAyB;IACjF,IAAG,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAA;IACnD,IAAI,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAC1B,IAAI,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAC1B,IAAG,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM;QAAE,OAAO,KAAK,CAAA;IAC7C,KAAI,IAAI,GAAG,IAAI,KAAK,EAAE,CAAC;QACnB,IAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;YAAE,OAAO,KAAK,CAAA;IACrC,CAAC;IACD,OAAO,IAAI,CAAA;AACf,CAAC"}
|
4
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-service.d.ts
generated
vendored
Normal file
4
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-service.d.ts
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
import KeyValue from '../KeyValue';
|
||||
import Service from '../service';
|
||||
declare const _default: (service: Service, txtQuery: KeyValue | undefined) => boolean;
|
||||
export default _default;
|
22
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-service.js
generated
vendored
Normal file
22
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-service.js
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = (service, txtQuery) => {
|
||||
if (txtQuery === undefined)
|
||||
return true;
|
||||
let serviceTxt = service.txt;
|
||||
let query = Object.entries(txtQuery)
|
||||
.map(([key, value]) => {
|
||||
let queryValue = serviceTxt[key];
|
||||
if (queryValue === undefined)
|
||||
return false;
|
||||
if (value != queryValue)
|
||||
return false;
|
||||
return true;
|
||||
});
|
||||
if (query.length == 0)
|
||||
return true;
|
||||
if (query.includes(false))
|
||||
return false;
|
||||
return true;
|
||||
};
|
||||
//# sourceMappingURL=filter-service.js.map
|
1
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-service.js.map
generated
vendored
Normal file
1
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-service.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"filter-service.js","sourceRoot":"","sources":["../../../src/lib/utils/filter-service.ts"],"names":[],"mappings":";;AAOA,kBAAe,CAAC,OAAgB,EAAE,QAA8B,EAAW,EAAE;IACzE,IAAG,QAAQ,KAAK,SAAS;QAAE,OAAO,IAAI,CAAA;IACtC,IAAI,UAAU,GAAG,OAAO,CAAC,GAAG,CAAA;IAC5B,IAAI,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC;SAC/B,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAClB,IAAI,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,CAAA;QAChC,IAAG,UAAU,KAAK,SAAS;YAAE,OAAO,KAAK,CAAA;QACzC,IAAG,KAAK,IAAI,UAAU;YAAE,OAAO,KAAK,CAAA;QACpC,OAAO,IAAI,CAAA;IACf,CAAC,CAAC,CAAA;IACN,IAAG,KAAK,CAAC,MAAM,IAAI,CAAC;QAAE,OAAO,IAAI,CAAA;IACjC,IAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAA;IACtC,OAAO,IAAI,CAAA;AACf,CAAC,CAAA"}
|
3
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-txt.d.ts
generated
vendored
Normal file
3
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-txt.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
import KeyValue from '../KeyValue';
|
||||
declare const _default: (data: KeyValue) => {};
|
||||
export default _default;
|
6
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-txt.js
generated
vendored
Normal file
6
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-txt.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = (data) => Object.keys(data)
|
||||
.filter((key) => !key.includes('binary'))
|
||||
.reduce((cur, key) => { return Object.assign(cur, { [key]: data[key] }); }, {});
|
||||
//# sourceMappingURL=filter-txt.js.map
|
1
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-txt.js.map
generated
vendored
Normal file
1
app_vue/node_modules/bonjour-service/dist/lib/utils/filter-txt.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"filter-txt.js","sourceRoot":"","sources":["../../../src/lib/utils/filter-txt.ts"],"names":[],"mappings":";;AAMA,kBAAe,CAAC,IAAc,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;KACnD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;KACxC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA,CAAA,CAAC,EAAE,EAAE,CAAC,CAAA"}
|
Reference in New Issue
Block a user