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

@statoscope/helpers

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/helpers - npm Package Compare versions

Comparing version 5.3.0-alpha.3 to 5.3.0

11

dist/network-type-list.d.ts
export declare type Item = {
type: string;
name: string;
maxSpeed: number;
typicalSpeed: number;
};
export declare const bytesInMBit = 131072;
export declare const TYPE_3G_SLOW: {
type: string;
name: string;
typicalSpeed: number;
};
export declare const TYPE_3G_FAST: {
type: string;
name: string;
typicalSpeed: number;
};
export declare const TYPE_GPRS: Item;

@@ -9,0 +18,0 @@ export declare const TYPE_EDGE: Item;

27

dist/network-type-list.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TYPE_5G = exports.TYPE_LTE_CAT_12 = exports.TYPE_LTE_CAT_9 = exports.TYPE_LTE_CAT_6 = exports.TYPE_LTE_CAT_4 = exports.TYPE_DC_HSPA_PLUS = exports.TYPE_HSPA_PLUS = exports.TYPE_HSPA = exports.TYPE_Basic = exports.TYPE_EDGE = exports.TYPE_GPRS = exports.bytesInMBit = void 0;
exports.TYPE_5G = exports.TYPE_LTE_CAT_12 = exports.TYPE_LTE_CAT_9 = exports.TYPE_LTE_CAT_6 = exports.TYPE_LTE_CAT_4 = exports.TYPE_DC_HSPA_PLUS = exports.TYPE_HSPA_PLUS = exports.TYPE_HSPA = exports.TYPE_Basic = exports.TYPE_EDGE = exports.TYPE_GPRS = exports.TYPE_3G_FAST = exports.TYPE_3G_SLOW = exports.bytesInMBit = void 0;
exports.bytesInMBit = 131072;
// from chromium
exports.TYPE_3G_SLOW = {
type: '3G',
name: 'Slow',
typicalSpeed: 0.38 * exports.bytesInMBit,
};
// from chromium
exports.TYPE_3G_FAST = {
type: '3G',
name: 'Fast',
typicalSpeed: 1.37 * exports.bytesInMBit,
};
exports.TYPE_GPRS = {
type: '2G',
name: 'GPRS',
maxSpeed: 0.1 * exports.bytesInMBit,
typicalSpeed: 0.06 * exports.bytesInMBit,

@@ -14,3 +25,2 @@ };

name: 'EDGE',
maxSpeed: 0.3 * exports.bytesInMBit,
typicalSpeed: 0.1 * exports.bytesInMBit,

@@ -21,3 +31,2 @@ };

name: 'Basic',
maxSpeed: 0.3 * exports.bytesInMBit,
typicalSpeed: 0.1 * exports.bytesInMBit,

@@ -28,3 +37,2 @@ };

name: 'HSPA',
maxSpeed: 7.2 * exports.bytesInMBit,
typicalSpeed: 1.5 * exports.bytesInMBit,

@@ -35,3 +43,2 @@ };

name: 'HSPA+',
maxSpeed: 21 * exports.bytesInMBit,
typicalSpeed: 4 * exports.bytesInMBit,

@@ -42,3 +49,2 @@ };

name: 'DC-HSPA+',
maxSpeed: 42 * exports.bytesInMBit,
typicalSpeed: 8 * exports.bytesInMBit,

@@ -49,3 +55,2 @@ };

name: 'LTE cat.4',
maxSpeed: 150 * exports.bytesInMBit,
typicalSpeed: 15 * exports.bytesInMBit,

@@ -56,3 +61,2 @@ };

name: 'LTE cat.6',
maxSpeed: 300 * exports.bytesInMBit,
typicalSpeed: 30 * exports.bytesInMBit,

@@ -63,3 +67,2 @@ };

name: 'LTE cat.9',
maxSpeed: 450 * exports.bytesInMBit,
typicalSpeed: 45 * exports.bytesInMBit,

@@ -70,3 +73,2 @@ };

name: 'LTE cat.12',
maxSpeed: 600 * exports.bytesInMBit,
typicalSpeed: 60 * exports.bytesInMBit,

@@ -77,6 +79,7 @@ };

name: '5G',
maxSpeed: 10000 * exports.bytesInMBit,
typicalSpeed: 200 * exports.bytesInMBit,
};
exports.default = [
exports.TYPE_3G_SLOW,
exports.TYPE_3G_FAST,
exports.TYPE_GPRS,

@@ -83,0 +86,0 @@ exports.TYPE_EDGE,

{
"name": "@statoscope/helpers",
"version": "5.3.0-alpha.3",
"version": "5.3.0",
"description": "Statoscope utils",

@@ -23,3 +23,3 @@ "main": "./dist/index.js",

"homepage": "https://github.com/statoscope/statoscope/",
"gitHead": "580d260a0e79dcb8c934c971bcc2d6acac5fe212"
"gitHead": "7fd6be7180eda342c57f2d9cd3b5ed228779d22c"
}

Sorry, the diff of this file is not supported yet

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