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

perf-deets

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perf-deets - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

13

index.js

@@ -86,6 +86,11 @@ let buffer = 40000;

function isWorker() {
return (
typeof WorkerGlobalScope !== 'undefined' &&
self instanceof WorkerGlobalScope
// TODO: To support other environments/setups, we should abstract how
// to communicate to this package and allow custom protocols. While
// the message handler below is just a convenience, to log data we
// currently use `postMessage` which makes assumptions about the
// environment
if (globalThis.addEventListener == null) {
throw new Error(
'perf-deets currently only supports browser and web worker environments. ' +
'Other environments should alias the package to `perf-deets/noop`.'
);

@@ -92,0 +97,0 @@ }

{
"name": "perf-deets",
"version": "1.0.13",
"version": "1.0.14",
"main": "./index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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