Socket
Socket
Sign inDemoInstall

@nodesuite/timer

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodesuite/timer - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

.rush/temp/operation/build_prod/state.json

10

.rush/temp/package-deps_build_prod.json
{
"files": {
"libraries/timer/.rush/temp/shrinkwrap-deps.json": "bcc134943963d8c53054b4e59bf6f65da7d022ac",
"libraries/timer/.rush/temp/shrinkwrap-deps.json": "5a04b373b0aa464b8bac6256dac50d3bec4d540f",
"libraries/timer/.eslintrc.js": "da8f1d5b00175fe9df49681a80b909d918ac6736",
"libraries/timer/CHANGELOG.json": "2310567c607ed9cca1da3a7230c5a7a190994eaf",
"libraries/timer/CHANGELOG.md": "6630e4f8e3274a6782ac877a92f0c8190fd97d22",
"libraries/timer/CHANGELOG.json": "d787576b0293eccf43274d3f6eb45ed58ac8ffeb",
"libraries/timer/CHANGELOG.md": "82c48c3181da23023f21d14dbccfae5a031a1c41",
"libraries/timer/README.md": "7f830ac91ec14685c4a58740621276e081ea59ac",
"libraries/timer/config/rig.json": "54137d20557298060eb70cf9e72e9ce1c7b7e130",
"libraries/timer/package.json": "a97d643033988496a56b07fb663ad96e9dda1584",
"libraries/timer/src/index.ts": "fc8164dffb985288d4e67610f3298a593eab80d8",
"libraries/timer/package.json": "7c1cb0d8505921a69ef3db602cfcae79138fdef5",
"libraries/timer/src/index.ts": "4fcf0640aae65f25bb80579d58cac89bf949d129",
"libraries/timer/src/provider.ts": "1eda08ee9fd78d61e146c2454e6daf26a5e97846",

@@ -12,0 +12,0 @@ "libraries/timer/src/timer.ts": "83f5f19ce94ac103156375da54b0f21b6d2bda48",

{
"files": {
"libraries/timer/.rush/temp/shrinkwrap-deps.json": "bcc134943963d8c53054b4e59bf6f65da7d022ac",
"libraries/timer/.rush/temp/shrinkwrap-deps.json": "5a04b373b0aa464b8bac6256dac50d3bec4d540f",
"libraries/timer/.eslintrc.js": "da8f1d5b00175fe9df49681a80b909d918ac6736",
"libraries/timer/CHANGELOG.json": "2310567c607ed9cca1da3a7230c5a7a190994eaf",
"libraries/timer/CHANGELOG.md": "6630e4f8e3274a6782ac877a92f0c8190fd97d22",
"libraries/timer/CHANGELOG.json": "d787576b0293eccf43274d3f6eb45ed58ac8ffeb",
"libraries/timer/CHANGELOG.md": "82c48c3181da23023f21d14dbccfae5a031a1c41",
"libraries/timer/README.md": "7f830ac91ec14685c4a58740621276e081ea59ac",
"libraries/timer/config/rig.json": "54137d20557298060eb70cf9e72e9ce1c7b7e130",
"libraries/timer/package.json": "a97d643033988496a56b07fb663ad96e9dda1584",
"libraries/timer/src/index.ts": "fc8164dffb985288d4e67610f3298a593eab80d8",
"libraries/timer/package.json": "7c1cb0d8505921a69ef3db602cfcae79138fdef5",
"libraries/timer/src/index.ts": "4fcf0640aae65f25bb80579d58cac89bf949d129",
"libraries/timer/src/provider.ts": "1eda08ee9fd78d61e146c2454e6daf26a5e97846",

@@ -12,0 +12,0 @@ "libraries/timer/src/timer.ts": "83f5f19ce94ac103156375da54b0f21b6d2bda48",

@@ -5,2 +5,8 @@ {

{
"version": "0.1.16",
"tag": "@nodesuite/timer_v0.1.16",
"date": "Sun, 27 Nov 2022 00:35:17 GMT",
"comments": {}
},
{
"version": "0.1.15",

@@ -7,0 +13,0 @@ "tag": "@nodesuite/timer_v0.1.15",

# Change Log - @nodesuite/timer
This log was last generated on Mon, 03 Oct 2022 05:52:54 GMT and should not be manually modified.
This log was last generated on Sun, 27 Nov 2022 00:35:17 GMT and should not be manually modified.
## 0.1.16
Sun, 27 Nov 2022 00:35:17 GMT
_Version update only_
## 0.1.15

@@ -6,0 +11,0 @@ Mon, 03 Oct 2022 05:52:54 GMT

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var t=class{constructor(){this._startedAt=Date.now();}restart(){return this._startedAt=Date.now(),this._stoppedAt=void 0,this}stop(){return this._stoppedAt=Date.now(),this}get startedAt(){return new Date(this._startedAt)}get stoppedAt(){return this._stoppedAt?new Date(this._stoppedAt):void 0}getDuration(){return this._stoppedAt?this._stoppedAt-this._startedAt:Date.now()-this._startedAt}isRunning(){return this._stoppedAt===void 0}isStopped(){return !!this._stoppedAt}};var i=()=>new t;

@@ -9,2 +7,3 @@

exports.useTimer = i;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy90aW1lci50cyIsIi4uL3NyYy9wcm92aWRlci50cyJdLCJuYW1lcyI6WyJUaW1lciIsInVzZVRpbWVyIl0sIm1hcHBpbmdzIjoiQUFPTyxJQUFNQSxFQUFOLEtBQXdDLENBQXhDLGNBTUwsS0FBUSxXQUFxQixLQUFLLElBQUksRUFjL0IsU0FBZ0IsQ0FDckIsWUFBSyxXQUFhLEtBQUssSUFBSSxFQUMzQixLQUFLLFdBQWEsT0FDWCxJQUNULENBS08sTUFBYSxDQUNsQixZQUFLLFdBQWEsS0FBSyxJQUFJLEVBQ3BCLElBQ1QsQ0FPQSxJQUFXLFdBQWtCLENBQzNCLE9BQU8sSUFBSSxLQUFLLEtBQUssVUFBVSxDQUNqQyxDQU9BLElBQVcsV0FBOEIsQ0FDdkMsT0FBTyxLQUFLLFdBQWEsSUFBSSxLQUFLLEtBQUssVUFBVSxFQUFJLE1BQ3ZELENBT08sYUFBc0IsQ0FDM0IsT0FBTyxLQUFLLFdBQ1IsS0FBSyxXQUFhLEtBQUssV0FDdkIsS0FBSyxJQUFJLEVBQUksS0FBSyxVQUN4QixDQU9PLFdBQXFCLENBQzFCLE9BQU8sS0FBSyxhQUFlLE1BQzdCLENBT08sV0FBcUIsQ0FDMUIsTUFBTyxDQUFDLENBQUMsS0FBSyxVQUNoQixDQUNGLEVDakZPLElBQU1DLEVBQVcsSUFBd0IsSUFBSUQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFBlcmZvcm1hbmNl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hdGhpcy5fc3RvcHBlZEF0XG4gIH1cbn1cbiIsImltcG9ydCB7IFRpbWVyIH0gZnJvbSBcIi4vdGltZXJcIlxuaW1wb3J0IHR5cGUgeyBQZXJmb3JtYW5jZVRpbWVyIH0gZnJvbSBcIi4vdHlwZXNcIlxuXG4vKipcbiAqIENyZWF0ZXMgYSBuZXcgdGltZXIgaW5zdGFuY2UuXG4gKi9cbmV4cG9ydCBjb25zdCB1c2VUaW1lciA9ICgpOiBQZXJmb3JtYW5jZVRpbWVyID0+IG5ldyBUaW1lcigpXG4iXX0=
{
"$schema": "https://json.schemastore.org/package",
"name": "@nodesuite/timer",
"version": "0.1.15",
"version": "0.1.16",
"description": "Light-weight performance timer.",

@@ -29,13 +29,11 @@ "keywords": [

"dependencies": {
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},
"devDependencies": {
"@nodesuite/eslint-config": "0.1.15",
"@nodesuite/node-rig": "0.1.15",
"@rushstack/eslint-config": "^3.0.1",
"@rushstack/heft": "^0.47.9",
"@types/node": "^18.7.18",
"@typescript-eslint/parser": "^5.37.0",
"ava": "^4.3.3",
"barrelsby": "^2.4.0",
"@rushstack/eslint-config": "^3.1.1",
"@rushstack/heft": "^0.48.8",
"@types/node": "^18.11.9",
"@typescript-eslint/parser": "^5.44.0",
"ava": "^5.1.0",
"barrelsby": "^2.5.1",
"c8": "^7.12.0",

@@ -46,5 +44,7 @@ "dpdm": "^3.10.0",

"npm-run-all": "^4.1.5",
"sort-package-json": "^1.57.0",
"tsup": "^6.2.3",
"typescript": "4.7.4"
"sort-package-json": "^2.1.0",
"tsup": "^6.5.0",
"typescript": "4.7.4",
"@nodesuite/eslint-config": "0.1.16",
"@nodesuite/node-rig": "0.1.16"
},

@@ -51,0 +51,0 @@ "engines": {

@@ -1,7 +0,3 @@

/**
* @file Automatically generated by barrelsby.
*/
export * from "./provider"
export * from "./timer"
export * from "./types"

Sorry, the diff of this file is too big to display

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