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

ffcreator

Package Overview
Dependencies
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffcreator - npm Package Compare versions

Comparing version 1.3.10 to 1.3.11

22

lib/core/center.js

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

getTaskState(id) {
for(let taskObj of this.queue){
for (let taskObj of this.queue) {
if (id === taskObj.id) return taskObj.state;

@@ -99,6 +99,6 @@ }

getResultFile(id) {
for(let taskObj of this.queue){
for (let taskObj of this.queue) {
if (id === taskObj.id) return taskObj.file;
}
return null;

@@ -317,11 +317,13 @@ }

creator.on('complete', () => {
this.progress.add(taskObj.id);
const file = creator.getFile();
const result = {id: taskObj.id, file, taskObj};
taskObj.state = 'complete';
taskObj.file = file;
try {
this.progress.add(taskObj.id);
const file = creator.getFile();
const result = {id: taskObj.id, file, taskObj};
taskObj.state = 'complete';
taskObj.file = file;
this.event.emit('single-complete', result);
FFLogger.info(`Creator production completed. id:${result.id} file: ${file}`);
} catch (e) {}
this.event.emit('single-complete', result);
setTimeout(this.nextTask.bind(this), this.delay);
FFLogger.info(`Creator production completed. id:${result.id} file: ${file}`);
});

@@ -328,0 +330,0 @@ },

{
"name": "ffcreator",
"version": "1.3.10",
"version": "1.3.11",
"description": "FFCreator is a lightweight and flexible short video production library",

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

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