From 0bd4238fc01affaf0bafdf98f1fe3002324bda03 Mon Sep 17 00:00:00 2001 From: MRH Date: Fri, 16 Jun 2023 12:22:56 +0330 Subject: [PATCH 1/2] license change & readme change & added new version --- LICENSE | 21 +++++++++++++++++++++ README.md | 9 ++++++--- package.json | 4 ++-- 3 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..611fb20 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) <2022 - now> MohammadReza Hayati + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index e01fed8..a528d27 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,12 @@ ### A utility package for the Persian programmer community - - - +[![npm version](https://img.shields.io/npm/v/persian_util.svg?style=flat-square)](https://www.npmjs.org/package/persian_util) +[![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=persian_util&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=persian_util) +[![npm bundle size](https://img.shields.io/bundlephobia/minzip/persian_util?style=flat-square)](https://bundlephobia.com/package/persian_util@latest) +[![npm downloads](https://img.shields.io/npm/dm/persian_util.svg?style=flat-square)](https://npm-stat.com/charts.html?package=persian_util) +[![code helpers](https://www.codetriage.com/persian_util/persian_util/badges/users.svg)](https://www.codetriage.com/persian_util/persian_util) +[![Known Vulnerabilities](https://snyk.io/test/npm/persian_util/badge.svg)](https://snyk.io/test/npm/persian_util) # Usage/Examples diff --git a/package.json b/package.json index b0555d4..9c1b32e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "persian_util", - "version": "1.0.38", + "version": "1.0.39", "description": "A repository for the Persian programmer community", "main": "./build/index.js", "types": "./build/index.d.ts", @@ -20,7 +20,7 @@ "persian_util" ], "author": "mohammadreza hayati", - "license": "ISC", + "license": "MIT", "bugs": { "url": "https://github.com/mohammadrezahayati/persian_util/issues" }, From 7786a7d3997be493f89bdd1d03003676fb9d68cb Mon Sep 17 00:00:00 2001 From: MRH Date: Fri, 16 Jun 2023 12:32:10 +0330 Subject: [PATCH 2/2] readme change --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a528d27..5c71908 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=persian_util&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=persian_util) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/persian_util?style=flat-square)](https://bundlephobia.com/package/persian_util@latest) [![npm downloads](https://img.shields.io/npm/dm/persian_util.svg?style=flat-square)](https://npm-stat.com/charts.html?package=persian_util) -[![code helpers](https://www.codetriage.com/persian_util/persian_util/badges/users.svg)](https://www.codetriage.com/persian_util/persian_util) +[![code helpers](https://www.codetriage.com/mohammadrezahayati/persian_util/badges/users.svg)](https://www.codetriage.com/persian_util/persian_util) [![Known Vulnerabilities](https://snyk.io/test/npm/persian_util/badge.svg)](https://snyk.io/test/npm/persian_util) # Usage/Examples