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

qcloud-iotexplorer-appdev-plugin-wificonf-core

Package Overview
Dependencies
Maintainers
4
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qcloud-iotexplorer-appdev-plugin-wificonf-core - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

lib/utils/util.d.ts

@@ -1,2 +0,2 @@

export function compareVersion(_v1: any, _v2: any): 0 | 1 | -1;
export function compareVersion(_v1: any, _v2: any): 1 | 0 | -1;
/**

@@ -3,0 +3,0 @@ * parse InetAddress

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getWxVersion=exports.checkIsIOS=exports.checkIsAndroid=exports.arrayFill=exports.intIp2byte=exports.int2ip=exports.ip2int=exports.formatInetAddr=exports.parseInetAddr=exports.compareVersion=exports.noop=void 0;var src_1=require("qcloud-iotexplorer-appdev-sdk/src");function compareVersion(r,t){for(var e=r.split("."),n=t.split("."),o=Math.max(e.length,n.length);e.length<o;)e.push("0");for(;n.length<o;)n.push("0");for(var p=0;p<o;p++){var i=parseInt(e[p]),s=parseInt(n[p]);if(i>s)return 1;if(i<s)return-1}return 0}function parseInetAddr(r,t,e){for(var n="",o=0;o<e;o++)n+=String(255&r[t+o]),o!==e-1&&(n+=".");return n}function formatInetAddr(r){void 0===r&&(r="");for(var t=r.split("."),e=new Int8Array(t.length),n=0;n<t.length;n++){var o=parseInt(t[n]);e[n]=o>127?o-256:o}return e}function ip2int(r){var t=formatInetAddr(r);return 16777216*(255&t[0])+65536*(255&t[1])+256*(255&t[2])+(255&t[3])}function int2ip(r){return(r>>24&255)+"."+(r>>16&255)+"."+(r>>8&255)+"."+(255&r)}function intIp2byte(r){var t=[0,0,0,0];return t[0]=r>>24&255|0,t[1]=r>>16&255|0,t[2]=r>>8&255|0,t[3]=255&r|0,t}function arrayFill(r,t){for(var e=0;e<r.length;e++)r[e]=t}exports.noop=src_1.AppDevSdk.utils.noop,exports.compareVersion=compareVersion,exports.parseInetAddr=parseInetAddr,exports.formatInetAddr=formatInetAddr,exports.ip2int=ip2int,exports.int2ip=int2ip,exports.intIp2byte=intIp2byte,exports.arrayFill=arrayFill,exports.checkIsAndroid=function(){return wx.getSystemInfoSync().platform.indexOf("android")>-1},exports.checkIsIOS=function(){return wx.getSystemInfoSync().platform.indexOf("ios")>-1},exports.getWxVersion=function(){return wx.getSystemInfoSync().version};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getWxVersion=exports.checkIsIOS=exports.checkIsAndroid=exports.arrayFill=exports.intIp2byte=exports.int2ip=exports.ip2int=exports.formatInetAddr=exports.parseInetAddr=exports.compareVersion=exports.noop=void 0;var qcloud_iotexplorer_appdev_sdk_1=require("qcloud-iotexplorer-appdev-sdk");function compareVersion(r,t){for(var e=r.split("."),n=t.split("."),o=Math.max(e.length,n.length);e.length<o;)e.push("0");for(;n.length<o;)n.push("0");for(var p=0;p<o;p++){var i=parseInt(e[p]),s=parseInt(n[p]);if(i>s)return 1;if(i<s)return-1}return 0}function parseInetAddr(r,t,e){for(var n="",o=0;o<e;o++)n+=String(255&r[t+o]),o!==e-1&&(n+=".");return n}function formatInetAddr(r){void 0===r&&(r="");for(var t=r.split("."),e=new Int8Array(t.length),n=0;n<t.length;n++){var o=parseInt(t[n]);e[n]=o>127?o-256:o}return e}function ip2int(r){var t=formatInetAddr(r);return 16777216*(255&t[0])+65536*(255&t[1])+256*(255&t[2])+(255&t[3])}function int2ip(r){return(r>>24&255)+"."+(r>>16&255)+"."+(r>>8&255)+"."+(255&r)}function intIp2byte(r){var t=[0,0,0,0];return t[0]=r>>24&255|0,t[1]=r>>16&255|0,t[2]=r>>8&255|0,t[3]=255&r|0,t}function arrayFill(r,t){for(var e=0;e<r.length;e++)r[e]=t}exports.noop=qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.noop,exports.compareVersion=compareVersion,exports.parseInetAddr=parseInetAddr,exports.formatInetAddr=formatInetAddr,exports.ip2int=ip2int,exports.int2ip=int2ip,exports.intIp2byte=intIp2byte,exports.arrayFill=arrayFill,exports.checkIsAndroid=function(){return wx.getSystemInfoSync().platform.indexOf("android")>-1},exports.checkIsIOS=function(){return wx.getSystemInfoSync().platform.indexOf("ios")>-1},exports.getWxVersion=function(){return wx.getSystemInfoSync().version};
//# sourceMappingURL=util.js.map
{
"name": "qcloud-iotexplorer-appdev-plugin-wificonf-core",
"version": "1.1.1",
"version": "1.1.2",
"description": "",

@@ -19,3 +19,3 @@ "main": "lib/index.js",

},
"gitHead": "a7051aae64d91f76493205596f5919c6f8ca05ea"
"gitHead": "dcb52a29c53f506732f2b835adc941bd6a4fa220"
}
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