Socket
Socket
Sign inDemoInstall

@kano/devices-sdk-uwp

Package Overview
Dependencies
Maintainers
21
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kano/devices-sdk-uwp - npm Package Compare versions

Comparing version 1.0.0-alpha.8 to 1.0.0-alpha.9

6

lib/ble-watcher.js

@@ -27,7 +27,7 @@ /* globals Windows */

searchForDevice(testFunc, timeout = 10000) {
searchForDevice(prefix, timeout = 10000) {
return new Promise((resolve, reject) => {
const searchIndex = this.searches.length;
const search = {
test: testFunc,
prefix,
resolve,

@@ -57,3 +57,3 @@ reject,

this.devices.forEach((device) => {
const isMatch = search.test(device);
const isMatch = device.name && device.name.startsWith(search.prefix);
if (!isMatch) {

@@ -60,0 +60,0 @@ return;

{
"name": "@kano/devices-sdk-uwp",
"version": "1.0.0-alpha.8",
"version": "1.0.0-alpha.9",
"description": "> TODO: description",

@@ -23,4 +23,4 @@ "author": "Paul Varache <paul@kano.me>",

"dependencies": {
"@kano/devices-sdk-cordova": "^1.0.0-alpha.8",
"@kano/devices-sdk-core": "^1.0.0-alpha.8",
"@kano/devices-sdk-cordova": "^1.0.0-alpha.9",
"@kano/devices-sdk-core": "^1.0.0-alpha.9",
"jszip": "^3.2.1"

@@ -32,3 +32,3 @@ },

},
"gitHead": "bad34ff680487208493211fee1d09db81fb93ec9"
"gitHead": "5667fd284ab7a1d6151e6d0c30576df4a02849c6"
}
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