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

stream-web

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-web - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

4

dist/main.js

@@ -19,3 +19,3 @@ 'use strict';

var tryGetFromStreamList = exports.tryGetFromStreamList = function tryGetFromStreamList(streamList) {
var tryGetFromStreamList = exports.tryGetFromStreamList = async function tryGetFromStreamList(streamList) {
var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : './download';

@@ -27,3 +27,3 @@ var prefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'vd';

var promiseList = (0, _pytils.mapx)(streamList, function (fileName, url) {
var promiseList = (0, _pytils.mapx)(streamList, function (url, fileName) {
return streamPromise(fileName, url);

@@ -30,0 +30,0 @@ });

{
"name": "stream-web",
"version": "0.5.1",
"version": "0.5.2",
"description": "stream video using crawls",

@@ -23,3 +23,3 @@ "main": "dist/main.js",

"dependencies": {
"html-parse-regex": "^1.1.1",
"html-parse-regex": "^1.1.2",
"pytils": "^1.31.0"

@@ -26,0 +26,0 @@ },

@@ -11,3 +11,3 @@ import { mkdir, getPathToFile, stream, cannotBeUndefined } from './utils'

export const tryGetFromStreamList = (streamList, path = './download', prefix = 'vd', format = 'mp4') => {
export const tryGetFromStreamList = async (streamList, path = './download', prefix = 'vd', format = 'mp4') => {
const streamPromise = _streamPromise(

@@ -18,3 +18,3 @@ getPathToFile(path, prefix, format))

streamList,
(fileName, url) => streamPromise(fileName, url))
(url, fileName) => streamPromise(fileName, url))

@@ -21,0 +21,0 @@ Promise

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