Socket
Socket
Sign inDemoInstall

@probe.gl/stats

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@probe.gl/stats - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

43

dist/lib/stat.js

@@ -1,33 +0,18 @@

import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import getHiResTimestamp from "../utils/hi-res-timestamp.js";
export default class Stat {
constructor(name, type) {
_defineProperty(this, "name", void 0);
_defineProperty(this, "type", void 0);
_defineProperty(this, "sampleSize", 1);
_defineProperty(this, "time", 0);
_defineProperty(this, "count", 0);
_defineProperty(this, "samples", 0);
_defineProperty(this, "lastTiming", 0);
_defineProperty(this, "lastSampleTime", 0);
_defineProperty(this, "lastSampleCount", 0);
_defineProperty(this, "_count", 0);
_defineProperty(this, "_time", 0);
_defineProperty(this, "_samples", 0);
_defineProperty(this, "_startTime", 0);
_defineProperty(this, "_timerPending", false);
this.name = void 0;
this.type = void 0;
this.sampleSize = 1;
this.time = 0;
this.count = 0;
this.samples = 0;
this.lastTiming = 0;
this.lastSampleTime = 0;
this.lastSampleCount = 0;
this._count = 0;
this._time = 0;
this._samples = 0;
this._startTime = 0;
this._timerPending = false;
this.name = name;

@@ -34,0 +19,0 @@ this.type = type;

@@ -1,9 +0,6 @@

import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import Stat from "./stat.js";
export default class Stats {
constructor(options) {
_defineProperty(this, "id", void 0);
_defineProperty(this, "stats", {});
this.id = void 0;
this.stats = {};
this.id = options.id;

@@ -10,0 +7,0 @@ this.stats = {};

@@ -6,3 +6,3 @@ {

"type": "module",
"version": "4.0.3",
"version": "4.0.4",
"keywords": [

@@ -37,3 +37,3 @@ "javascript",

},
"gitHead": "1233ca24c730e77a87dd0d732e8fe24b23b259c5"
"gitHead": "ba5896c2dcd6fae06c6186630a7fa828df2e46af"
}

Sorry, the diff of this file is not supported yet

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