New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

social-links

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

social-links - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

LICENSE

2

package.json
{
"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

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