Comparing version 7.0.0 to 7.0.1
@@ -1,2 +0,2 @@ | ||
declare const hirestime: () => import("./getElapsor").Elapsor; | ||
import hirestime from './hirestime'; | ||
export default hirestime; |
@@ -1,1 +0,1 @@ | ||
var n=function(n){return Number(n.toFixed(2))},r=function(r,e){var t=function(){return n(e())};return t.startedAt=function(){return r},t.seconds=t.s=function(){return n(e()/1e3)},t.milliseconds=t.ms=function(){return n(e())},t.microseconds=t.us=function(){return n(1e3*e())},t.nanoseconds=t.ns=function(){return n(1e6*e())},t},e=function(n){return 1e3*n[0]+n[1]/1e6},t="undefined"!=typeof process&&process.hrtime?function(){var n=process.hrtime();return r(e(n),function(){return e(process.hrtime(n))})}:"undefined"!=typeof window&&window.performance?function(){var n=window.performance.now();return r(n,function(){return window.performance.now()-n})}:function(){var n=Date.now();return r(n,function(){return Date.now()-n})};export{t as default}; | ||
var n=function(n){return 1e3*n[0]+n[1]/1e6},r=function(n){return Number(n.toFixed(2))},e=function(n,e){var t=function(){return r(e())};return t.startedAt=function(){return n},t.seconds=t.s=function(){return r(e()/1e3)},t.milliseconds=t.ms=function(){return r(e())},t.microseconds=t.us=function(){return r(1e3*e())},t.nanoseconds=t.ns=function(){return r(1e6*e())},t},t="undefined"!=typeof process&&process.hrtime?function(){var r=process.hrtime();return e(n(r),function(){return n(process.hrtime(r))})}:"undefined"!=typeof window&&window.performance?function(){var n=window.performance.now();return e(n,function(){return window.performance.now()-n})}:function(){var n=Date.now();return e(n,function(){return Date.now()-n})};export{t as default}; |
@@ -1,1 +0,1 @@ | ||
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n||self).hirestime=e()}(this,function(){var n=function(n){return Number(n.toFixed(2))},e=function(e,r){var t=function(){return n(r())};return t.startedAt=function(){return e},t.seconds=t.s=function(){return n(r()/1e3)},t.milliseconds=t.ms=function(){return n(r())},t.microseconds=t.us=function(){return n(1e3*r())},t.nanoseconds=t.ns=function(){return n(1e6*r())},t},r=function(n){return 1e3*n[0]+n[1]/1e6};return"undefined"!=typeof process&&process.hrtime?function(){var n=process.hrtime();return e(r(n),function(){return r(process.hrtime(n))})}:"undefined"!=typeof window&&window.performance?function(){var n=window.performance.now();return e(n,function(){return window.performance.now()-n})}:function(){var n=Date.now();return e(n,function(){return Date.now()-n})}}); | ||
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n||self).hirestime=e()}(this,function(){var n=function(n){return 1e3*n[0]+n[1]/1e6},e=function(n){return Number(n.toFixed(2))},r=function(n,r){var t=function(){return e(r())};return t.startedAt=function(){return n},t.seconds=t.s=function(){return e(r()/1e3)},t.milliseconds=t.ms=function(){return e(r())},t.microseconds=t.us=function(){return e(1e3*r())},t.nanoseconds=t.ns=function(){return e(1e6*r())},t};return"undefined"!=typeof process&&process.hrtime?function(){var e=process.hrtime();return r(n(e),function(){return n(process.hrtime(e))})}:"undefined"!=typeof window&&window.performance?function(){var n=window.performance.now();return r(n,function(){return window.performance.now()-n})}:function(){var n=Date.now();return r(n,function(){return Date.now()-n})}}); |
{ | ||
"name": "hirestime", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "thin wrapper around process.hrtime", |
Sorry, the diff of this file is not supported yet
6978
8
29