Comparing version 3.1.1 to 3.1.2
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
12
4
31723
510
1