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

roarr

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roarr - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

22

dist/src/factories/createRoarrInitialGlobalState.js

@@ -26,12 +26,18 @@ "use strict";

if (detect_node_1.default && (currentIsLatestVersion || !newState.write)) {
// eslint-disable-next-line @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires
const AsyncLocalStorage = require('async_hooks').AsyncLocalStorage;
const asyncLocalStorage = new AsyncLocalStorage();
newState = {
...newState,
...createNodeWriter_1.default(),
asyncLocalStorage,
};
try {
// eslint-disable-next-line @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires
const AsyncLocalStorage = require('async_hooks').AsyncLocalStorage;
const asyncLocalStorage = new AsyncLocalStorage();
newState = {
...newState,
...createNodeWriter_1.default(),
asyncLocalStorage,
};
}
catch (_a) {
// eslint-disable-next-line no-console
console.warn('async_hooks are unavailable; Roarr.child will not function as expected');
}
}
return newState;
};

@@ -81,3 +81,3 @@ {

"typings": "./dist/src/log.d.ts",
"version": "7.0.0"
"version": "7.0.1"
}
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