Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opencreek/ext

Package Overview
Dependencies
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencreek/ext - npm Package Compare versions

Comparing version 1.8.1 to 1.9.0--canary.15.1830310970.0

23

build/StopWatch.js

@@ -32,10 +32,17 @@ "use strict";

toString() {
return (0, table_1.tableToString)(this.tasks
.filter((it) => it.elapsed !== undefined)
.map((it) => {
return {
name: it.name,
elapsed: it.elapsed + "ms",
};
}), ["name", "elapsed"]);
const table = [
...this.tasks
.filter((it) => it.elapsed !== undefined)
.map((it) => {
return {
name: it.name,
elapsed: it.elapsed + "ms",
};
}),
{
name: "Total",
elapsed: this.tasks.sumOf((it) => { var _a; return (_a = it.elapsed) !== null && _a !== void 0 ? _a : 0; }) + "ms",
},
];
return (0, table_1.tableToString)(table, ["name", "elapsed"]);
}

@@ -42,0 +49,0 @@ }

{
"name": "@opencreek/ext",
"version": "1.8.1",
"version": "1.9.0--canary.15.1830310970.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -42,4 +42,4 @@ import { tableToString } from "./table"

toString(): string {
return tableToString(
this.tasks
const table = [
...this.tasks
.filter((it) => it.elapsed !== undefined)

@@ -52,5 +52,9 @@ .map((it) => {

}),
["name", "elapsed"]
)
{
name: "Total",
elapsed: this.tasks.sumOf((it) => it.elapsed ?? 0) + "ms",
},
]
return tableToString(table, ["name", "elapsed"])
}
}

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