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 3.1.3 to 3.2.0

6

dist/factories/createLogger.js

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

Object.defineProperty(exports, "__esModule", { value: true });
const approximate_now_1 = require("approximate-now");
const detect_node_1 = __importDefault(require("detect-node"));

@@ -65,3 +66,3 @@ const globalthis_1 = __importDefault(require("globalthis"));

const log = (a, b, c, d, e, f, g, h, i, j) => {
const time = Date.now();
const time = approximate_now_1.approximateTime.now;
const sequence = globalThis.ROARR.sequence++;

@@ -114,5 +115,2 @@ let context;

return createLogger((message) => {
if (typeof context !== 'function') {
throw new TypeError('Unexpected state.');
}
const nextMessage = context(message);

@@ -119,0 +117,0 @@ if (typeof nextMessage !== 'object' || nextMessage === null) {

"use strict";
/* eslint-disable import/exports-last */
Object.defineProperty(exports, "__esModule", { value: true });

@@ -19,2 +19,3 @@ {

"dependencies": {
"approximate-now": "^1.0.0",
"boolean": "^3.0.2",

@@ -73,6 +74,6 @@ "detect-node": "^2.0.4",

"scripts": {
"benchmark": "ROARR_LOG=true babel-node test/benchmark.js",
"benchmark": "ROARR_LOG=true ts-node --transpile-only test/benchmark.ts",
"build": "del-cli ./dist && tsc",
"create-readme": "gitdown ./.README/README.md --output-file ./README.md",
"dev": "NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch",
"dev": "tsc --watch",
"lint": "eslint ./src ./test && tsc --noEmit",

@@ -82,3 +83,3 @@ "test": "NODE_ENV=test ava --serial --verbose"

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