social-links
Advanced tools
Comparing version 1.4.1 to 1.4.2
{ | ||
"name": "social-links", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Validate & sanitize social links", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
@@ -54,5 +54,5 @@ | ||
const socialLinks = new SocialLinks(); | ||
const profile: Profile = { ... }; | ||
const profileMatches: ProfileMatch[] = [ ... ]; | ||
socialLinks.addProfile('profileName', profile); | ||
socialLinks.addProfile('profileName', profileMatches); | ||
``` | ||
@@ -72,10 +72,2 @@ | ||
### Contributing | ||
Adding new entry to `PREDEFINED_PROFILES`: | ||
- Run npm command `npm run new profile_name` | ||
- Edit generated files `profile_name.ts` & `profile_name.spec.ts` | ||
- Create new PR | ||
### Build | ||
@@ -98,1 +90,5 @@ | ||
``` | ||
### Contributing | ||
[CONTRIBUTING.md](CONTRIBUTING.md) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
131119
147
92