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

@jsenv/utils

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/utils - npm Package Compare versions

Comparing version 1.7.4 to 1.7.5

logs/number_distribution.js

2

package.json
{
"name": "@jsenv/utils",
"version": "1.7.4",
"version": "1.7.5",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {

import cluster from "node:cluster"
import { fileURLToPath } from "node:url"
import { parentPort } from "node:worker_threads"
import { createLogger } from "@jsenv/logger"

@@ -44,2 +45,7 @@ import { Abort, raceProcessTeardownEvents } from "@jsenv/abort"

}
const logger = createLogger({ logLevel })
if (parentPort) {
enabled = false
logger.warn(`Cannot make process reloadable as it is a worker`)
}
if (!enabled) {

@@ -53,3 +59,2 @@ return {

const logger = createLogger({ logLevel })
const startWorker = () => {

@@ -56,0 +61,0 @@ cluster.fork()

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