Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

snapsave-media-downloader

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snapsave-media-downloader - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

dist/index.js

@@ -14,5 +14,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

try {
const fb_regex = /(https|http):\/\/(?:(?:www\.facebook\.com\/(?:(?:(?:video\.php)||(?:watch\/))\?v=\d+|(?:[0-9a-zA-Z-_.]+\/(?:(?:video|(post))(?:s))\/)(?:[0-9a-zA-Z-_.]+(?:\/\d+)*)))|(?:fb\.watch\/(?:\w|-)+)|(?:www\.facebook\.com\/reel\/\d+)|(?:www\.facebook\.com\/share\/(v|r)\/[a-zA-Z0-9]+\/)\/?)/;
const ig_regex = /((?:https?:\/\/)?(?:www\.)?instagram\.com\/(?:p|reel|reels|tv|stories)\/([^/?#&]+)).*/g;
if (!url.match(fb_regex) && !url.match(ig_regex))
const fbRegex = /(https|http):\/\/(?:(?:www\.facebook\.com\/(?:(?:(?:video\.php)||(?:watch\/))\?v=\d+|(?:[0-9a-zA-Z-_.]+\/(?:(?:video|(post))(?:s))\/)(?:[0-9a-zA-Z-_.]+(?:\/\d+)*)))|(?:fb\.watch\/(?:\w|-)+)|(?:www\.facebook\.com\/reel\/\d+)|(?:www\.facebook\.com\/share\/(v|r)\/[a-zA-Z0-9]+\/)\/?)/;
const igRegex = /((?:https?:\/\/)?(?:www\.)?instagram\.com\/(?:p|reel|reels|tv|stories)\/([^/?#&]+)).*/g;
if (!url.match(fbRegex) && !url.match(igRegex))
return { status: false, msg: "Link Url not valid" };

@@ -19,0 +19,0 @@ function decodeSnapApp(args) {

{
"name": "snapsave-media-downloader",
"version": "1.0.4",
"version": "1.0.5",
"description": "Download Instagram and Facebook Media using snapsave.app downloader",

@@ -39,13 +39,12 @@ "type": "module",

},
"dependencies": {
"devDependencies": {
"@stylistic/eslint-plugin": "^2.3.0",
"@types/node": "^20.14.11",
"@typescript-eslint/parser": "^7.16.1",
"changelogen": "^0.5.5",
"cheerio": "1.0.0-rc.12",
"eslint": "^9.0.0",
"eslint": "^9.7.0",
"ofetch": "^1.3.4",
"typescript-eslint": "^7.7.0"
},
"devDependencies": {
"@types/node": "^20.12.7",
"shx": "^0.3.4",
"typescript": "^5.4.5"
"typescript": "^5.5.3"
},

@@ -52,0 +51,0 @@ "scripts": {

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