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

@jsenv/humanize

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/humanize - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

3

dist/browser/jsenv_humanize_browser.js

@@ -686,3 +686,4 @@ const createDetailedMessage = (message, details = {}) => {

// primitives
// tslint:disable:ordered-imports
const humanize = (value, {

@@ -689,0 +690,0 @@ parenthesis = false,

@@ -891,4 +891,5 @@ import process$1 from "node:process";

// primitives
// tslint:disable:ordered-imports
const humanize = (

@@ -895,0 +896,0 @@ value,

{
"name": "@jsenv/humanize",
"version": "1.2.4",
"version": "1.2.5",
"description": "Generate messages meant to read by humans",

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

@@ -0,3 +1,3 @@

import { takeFileSnapshot } from "@jsenv/snapshot";
import { writeFileSync } from "node:fs";
import { takeFileSnapshot } from "@jsenv/snapshot";

@@ -4,0 +4,0 @@ import { generateContentFrame } from "@jsenv/humanize";

import { assert } from "@jsenv/assert";
import {
setRoundedPrecision,
setCeiledPrecision,
setFlooredPrecision,
setPrecision,
setRoundedPrecision,
} from "@jsenv/humanize/src/utils/decimals.js";

@@ -9,0 +9,0 @@

@@ -6,26 +6,26 @@ ------------ 23 executions ready ------------

✔ 02/23 _tests/byte/memory.test.js [node/0.03s] (2 completed)
✔ 03/23 _tests/content_frame/content_frame.test.js [node/0.08s] (3 completed)
✔ 04/23 _tests/js_value/_inspect.test.html [chromium/0.5s] (4 completed)
✔ 03/23 _tests/content_frame/content_frame.test.js [node/0.1s] (3 completed)
✔ 04/23 _tests/js_value/_inspect.test.html [chromium/0.3s] (4 completed)
✔ 05/23 _tests/js_value/_inspect.test.html [firefox/0.2s] (5 completed)
✔ 06/23 _tests/js_value/_inspect.test.html [webkit/0.5s] (6 completed)
✔ 07/23 _tests/js_value/array.test.js [node/0.03s] (7 completed)
✔ 07/23 _tests/js_value/array.test.js [node/0.04s] (7 completed)
✔ 08/23 _tests/js_value/biginit.test.js [node/0.03s] (8 completed)
✔ 09/23 _tests/js_value/boolean.test.js [node/0.06s] (9 completed)
✔ 10/23 _tests/js_value/date.test.js [node/0.06s] (10 completed)
✔ 11/23 _tests/js_value/error.test.js [node/0.05s] (11 completed)
✔ 12/23 _tests/js_value/function.test.js [node/0.07s] (12 completed)
✔ 13/23 _tests/js_value/instance.test.js [node/0.06s] (13 completed)
✔ 14/23 _tests/js_value/null.test.js [node/0.2s] (14 completed)
✔ 15/23 _tests/js_value/number.test.js [node/0.1s] (15 completed)
✔ 16/23 _tests/js_value/object.test.js [node/0.2s] (16 completed)
✔ 17/23 _tests/js_value/regexp.test.js [node/0.06s] (17 completed)
✔ 18/23 _tests/js_value/string.test.js [node/0.07s] (18 completed)
✔ 19/23 _tests/js_value/symbol.test.js [node/0.03s] (19 completed)
✔ 20/23 _tests/js_value/undefined.test.js [node/0.03s] (20 completed)
✔ 21/23 _tests/time/decimals.test.js [node/0.03s] (21 completed)
✔ 22/23 _tests/time/duration.test.js [node/0.03s] (22 completed)
✔ 09/23 _tests/js_value/boolean.test.js [node/0.04s] (9 completed)
✔ 10/23 _tests/js_value/date.test.js [node/0.03s] (10 completed)
✔ 11/23 _tests/js_value/error.test.js [node/0.03s] (11 completed)
✔ 12/23 _tests/js_value/function.test.js [node/0.03s] (12 completed)
✔ 13/23 _tests/js_value/instance.test.js [node/0.03s] (13 completed)
✔ 14/23 _tests/js_value/null.test.js [node/0.06s] (14 completed)
✔ 15/23 _tests/js_value/number.test.js [node/0.05s] (15 completed)
✔ 16/23 _tests/js_value/object.test.js [node/0.04s] (16 completed)
✔ 17/23 _tests/js_value/regexp.test.js [node/0.04s] (17 completed)
✔ 18/23 _tests/js_value/string.test.js [node/0.03s] (18 completed)
✔ 19/23 _tests/js_value/symbol.test.js [node/0.02s] (19 completed)
✔ 20/23 _tests/js_value/undefined.test.js [node/0.02s] (20 completed)
✔ 21/23 _tests/time/decimals.test.js [node/0.02s] (21 completed)
✔ 22/23 _tests/time/duration.test.js [node/0.02s] (22 completed)
✔ 23/23 _tests/time/ellapsed.test.js [node/0.02s] (all completed)
------------ 23 executions done -------------
status: all completed
duration: 2.6s (setup: 0.4s, execution: 2.5s, teardown: 0.2s)
duration: 2.4s (setup: 0.4s, execution: 2.3s, teardown: 0.2s)
---------------------------------------------

@@ -0,1 +1,3 @@

// tslint:disable:ordered-imports
// primitives

@@ -2,0 +4,0 @@ import { inspectBoolean } from "./boolean.js";

@@ -5,4 +5,4 @@ /*

import ansiEscapes from "ansi-escapes";
import stringWidth from "string-width";
import ansiEscapes from "ansi-escapes";

@@ -9,0 +9,0 @@ export const createDynamicLog = ({

import {
LOG_LEVEL_DEBUG,
LOG_LEVEL_ERROR,
LOG_LEVEL_INFO,
LOG_LEVEL_OFF,
LOG_LEVEL_WARN,
LOG_LEVEL_ERROR,
LOG_LEVEL_OFF,
} from "./LOG_LEVELS.js";

@@ -8,0 +8,0 @@

@@ -0,1 +1,3 @@

// tslint:disable:ordered-imports
export { createDetailedMessage } from "./log/detailed_message.js";

@@ -2,0 +4,0 @@ export { ANSI } from "./ansi/ansi_browser.js";

@@ -0,1 +1,3 @@

// tslint:disable:ordered-imports
export { createDetailedMessage } from "./log/detailed_message.js";

@@ -2,0 +4,0 @@ export { ANSI } from "./ansi/ansi_node.js";

@@ -0,3 +1,3 @@

import { ANSI } from "../ansi/ansi_browser.js";
import { createUnicode } from "./unicode_runtime_agnostic.js";
import { ANSI } from "../ansi/ansi_browser.js";

@@ -4,0 +4,0 @@ export const UNICODE = createUnicode({

import isUnicodeSupported from "is-unicode-supported";
import { ANSI } from "../ansi/ansi_node.js";
import { createUnicode } from "./unicode_runtime_agnostic.js";
import { ANSI } from "../ansi/ansi_node.js";

@@ -5,0 +5,0 @@ export const UNICODE = createUnicode({

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