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 4.2.2 to 4.2.3

11

dist/src/log.js

@@ -9,3 +9,2 @@ "use strict";

const boolean_1 = require("boolean");
const detect_node_1 = __importDefault(require("detect-node"));
const fast_json_stringify_1 = __importDefault(require("fast-json-stringify"));

@@ -39,8 +38,6 @@ const globalthis_1 = __importDefault(require("globalthis"));

let logFactory = factories_1.createLogger;
if (detect_node_1.default) {
// eslint-disable-next-line node/no-process-env
const enabled = boolean_1.boolean((_a = process.env.ROARR_LOG) !== null && _a !== void 0 ? _a : '');
if (!enabled) {
logFactory = factories_1.createMockLogger;
}
// eslint-disable-next-line node/no-process-env
const enabled = boolean_1.boolean((_a = process.env.ROARR_LOG) !== null && _a !== void 0 ? _a : '');
if (!enabled) {
logFactory = factories_1.createMockLogger;
}

@@ -47,0 +44,0 @@ exports.default = logFactory((message) => {

@@ -18,2 +18,3 @@ {

},
"browser": "./dist/src/browser.js",
"dependencies": {

@@ -32,3 +33,2 @@ "boolean": "^3.0.2",

"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/detect-node": "^2.0.0",
"@types/globalthis": "^1.0.1",

@@ -82,3 +82,3 @@ "@types/json-stringify-safe": "^5.0.0",

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