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

facebook-api-video-upload

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

facebook-api-video-upload - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

3

index.js

@@ -94,4 +94,3 @@ 'use strict';

function facebookApiVideoUpload(args) {
return Promise.resolve(streamToPromise(args.stream))
.then(buffer => buffer)
return streamToPromise(args.stream)
.then(buffer => [buffer, apiInit(args, buffer.length)])

@@ -98,0 +97,0 @@ .spread((buffer, res) => {

{
"name": "facebook-api-video-upload",
"version": "1.4.0",
"version": "1.4.1",
"description": "A handy function to upload video in chunk on the facebook graph.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -20,3 +20,3 @@ [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)

id: yourid, //The id represent {page_id || user_id || event_id || group_id}
stream: fs.createReadStream('./test/fixture/fixture.mp4') //path to the video,
stream: fs.createReadStream('./test/fixture/fixture.mp4'), //path to the video,
title: "my video",

@@ -23,0 +23,0 @@ description: "my description"

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