🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@uoctamika/libraryjs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uoctamika/libraryjs - npm Package Compare versions

Comparing version
1.1.4
to
1.2.0
+1
-1
dist/cjs/stdio/printf.d.ts

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

export declare function printf(format: string, ...args: any[]): void;
export declare function printf(format: string, ...args: unknown[]): number;

@@ -61,3 +61,5 @@ "use strict";

}
process.stdout.write(parts.join(''));
const output = parts.join('');
process.stdout.write(output);
return output.length;
}

@@ -58,3 +58,5 @@ import { inspect } from 'util';

}
process.stdout.write(parts.join(''));
const output = parts.join('');
process.stdout.write(output);
return output.length;
}
{
"name": "@uoctamika/libraryjs",
"version": "1.1.4",
"version": "1.2.0",
"description": " A lightweight JavaScript & TypeScript utility library - just import and use. No configuration needed, functions are ready to use",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

@@ -53,5 +53,4 @@ # libraryjs

import { stdio } from '@uoctamika/libraryjs';
const { stdio } = require('@uoctamika/libraryjs');
const {stdio } = require('@uoctamika/libraryjs');
stdio.printf(format: string, ...args: any[]): void;

@@ -104,5 +103,5 @@

This function returns no value ("void").
This function returns number (int).
Output is written directly to "stdout" using "process.stdout.write()".
determine how much outputs is writing into stdout.

@@ -109,0 +108,0 @@ Unlike "console.log()", "printf()" does not automatically append a newline character. To print a new line, explicitly include "\n" in the format string.