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.1.2 to 1.1.3

49

lib/profiles/index.js
"use strict";
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PREDEFINED_PROFILES = void 0;
var fs = require('fs');
var files = fs.readdirSync(__dirname)
.filter(function (name) { return !name.endsWith('.spec.ts'); })
.filter(function (name) { return name !== 'index.ts'; });
exports.PREDEFINED_PROFILES = [];
files.map(function (file) {
var _a = __read(Object.values(require([__dirname, file].join('/'))), 1), profile = _a[0];
exports.PREDEFINED_PROFILES.push(profile);
});
var behance_1 = require("./behance");
var dribble_1 = require("./dribble");
var facebook_1 = require("./facebook");
var github_1 = require("./github");
var instagram_1 = require("./instagram");
var linkedin_1 = require("./linkedin");
var medium_1 = require("./medium");
var patreon_1 = require("./patreon");
var twitch_1 = require("./twitch");
var twitter_1 = require("./twitter");
var youtube_1 = require("./youtube");
exports.PREDEFINED_PROFILES = [
behance_1.behance,
dribble_1.dribble,
facebook_1.facebook,
github_1.github,
instagram_1.instagram,
linkedin_1.linkedin,
medium_1.medium,
patreon_1.patreon,
twitch_1.twitch,
twitter_1.twitter,
youtube_1.youtube,
];
//# sourceMappingURL=index.js.map
{
"name": "social-links",
"version": "1.1.2",
"version": "1.1.3",
"description": "Validate & sanitize social links",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

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