just-performance
Advanced tools
Comparing version 4.2.0 to 4.3.0
@@ -1,3 +0,4 @@ | ||
const performance = global.performance; | ||
const universal = typeof globalThis !== "undefined" ? globalThis : global; | ||
const performance = universal.performance; | ||
export { performance }; | ||
//# sourceMappingURL=browser.js.map |
{ | ||
"name": "just-performance", | ||
"version": "4.2.0", | ||
"version": "4.3.0", | ||
"description": "Isomorphic ponyfill wrapping native browser performance and node.js perf_hooks performance", | ||
"license": "MIT", | ||
"type": "module", | ||
"main": "./dist/cjs/node.js", | ||
@@ -8,0 +7,0 @@ "module": "./dist/esm/node.js", |
@@ -1,3 +0,4 @@ | ||
const performance = global.performance; | ||
const universal = typeof globalThis !== "undefined" ? globalThis : global; | ||
const performance = universal.performance; | ||
export { performance }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
165295
17
No