Socket
Socket
Sign inDemoInstall

initials

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

initials - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

.github/workflows/release.yml

2

index.d.ts

@@ -12,3 +12,3 @@ declare module 'initials' {

function initials(nameOrNames: NameOrNames, options?: Options): string | string[];
function initials<T extends NameOrNames>(nameOrNames: T, options?: Options): T;

@@ -15,0 +15,0 @@ export function find(name: string): string;

{
"name": "initials",
"version": "3.1.1",
"version": "3.1.2",
"description": "initials for names",

@@ -16,6 +16,3 @@ "scripts": {

"test:coverage": "istanbul cover test/initials-test.js",
"test:node": "node test/initials-test.js",
"presemantic-release": "npm run build",
"semantic-release": "semantic-release",
"postsemantic-release": "npm run test:coverage && istanbul-coveralls"
"test:node": "node test/initials-test.js"
},

@@ -26,11 +23,5 @@ "gh-pages-deploy": {

},
"repository": {
"type": "git",
"url": "https://github.com/gr2m/initials.git"
},
"repository": "github:gr2m/initials",
"author": "Gregor Martynus <gregor@martynus.net>",
"license": "MIT",
"bugs": {
"url": "https://github.com/gr2m/initials/issues"
},
"homepage": "http://gr2m.github.io/initials",

@@ -55,3 +46,19 @@ "devDependencies": {

},
"types": "./index.d.ts"
"types": "./index.d.ts",
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
}
}

@@ -6,4 +6,4 @@ Initials. Because JD is shorter than John Doe

[![Build Status](https://travis-ci.org/gr2m/initials.svg?branch=master)](https://travis-ci.org/gr2m/initials)
[![Coverage Status](https://coveralls.io/repos/gr2m/initials/badge.svg?branch=master)](https://coveralls.io/r/gr2m/initials?branch=master)
[![Build Status](https://travis-ci.org/gr2m/initials.svg?branch=main)](https://travis-ci.org/gr2m/initials)
[![Coverage Status](https://coveralls.io/repos/gr2m/initials/badge.svg?branch=main)](https://coveralls.io/r/gr2m/initials?branch=main)
[![Greenkeeper badge](https://badges.greenkeeper.io/gr2m/initials.svg)](https://greenkeeper.io/)

@@ -10,0 +10,0 @@

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