Sign In

@arcjet/sprintf

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/sprintf - npm Package Compare versions

Comparing version
1.9.1
to
1.10.0-rc.0
+9
-9
dist/index.d.ts
//#region src/index.d.ts
/**
* Format a string with placeholders using the provided arguments.
*
* @param template
* Template.
* @param values
* Values to interpolate.
* @returns
* Formatted string.
*/
* Format a string with placeholders using the provided arguments.
*
* @param template
* Template.
* @param values
* Values to interpolate.
* @returns
* Formatted string.
*/
declare function sprintf(template: string, ...values: unknown[]): string;
//#endregion
export { sprintf as default, sprintf };
{
"name": "@arcjet/sprintf",
"version": "1.9.1",
"version": "1.10.0-rc.0",
"description": "Arcjet platform-independent replacement for util.format",

@@ -46,3 +46,3 @@ "keywords": [

"build": "tsdown",
"typecheck": "tsgo --noEmit",
"typecheck": "tsc --noEmit",
"test-api": "node --test -- test/*.test.ts",

@@ -54,5 +54,5 @@ "test-coverage": "node --experimental-test-coverage --test -- test/*.test.ts",

"devDependencies": {
"@types/node": "22.19.21",
"tsdown": "0.22.3",
"typescript": "6.0.3"
"@types/node": "22.20.1",
"tsdown": "0.22.7",
"typescript": "7.0.2"
},

@@ -59,0 +59,0 @@ "engines": {