New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

stringf

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stringf - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+1
-1
index.js

@@ -34,2 +34,2 @@ exports.Format = function(s, m) {

return output;
}
};
{
"name": "stringf",
"version": "1.0.1",
"version": "1.0.2",
"description": "Dead simple string formatter",

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

@@ -36,2 +36,20 @@ # Sringf [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![npm version](https://badge.fury.io/js/stringf.svg)](https://badge.fury.io/js/stringf)

# Test
## Go
```sh
go test
```
## Js
```sh
npm test
```
# Testcase
| String | Parameter map | Output |
|-----------|---------------|-----------|
| hi #name | name: `Thanh` | hi Thanh |
| hi #num | num: `2108` | hi 2108 |
| ##abc | abc: `bcd` | #abc |
# Pseudocode to implement in your own language

@@ -38,0 +56,0 @@