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

@remotion/streaming

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remotion/streaming - npm Package Compare versions

Comparing version 4.0.173 to 4.0.174

12

dist/make-streamer.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeStreamPayloadMessage = exports.makeStreamer = exports.streamingKey = void 0;
const stream_1 = require("stream");
exports.streamingKey = 'remotion_buffer:';
const magicWordStr = 'remotion_buffer:';
// @ts-expect-error
globalThis._dumpUnreleasedBuffers = new stream_1.EventEmitter();
// @ts-expect-error
globalThis._dumpUnreleasedBuffers.setMaxListeners(201);
const makeStreamer = (onMessage) => {

@@ -77,2 +82,7 @@ const separator = new Uint8Array(magicWordStr.length);

};
const dumpBuffers = () => {
console.log('Request with unused data', { missingData, unprocessedBuffers });
};
// @ts-expect-error
globalThis._dumpUnreleasedBuffers.addListener('dump-unreleased-buffers', dumpBuffers);
const onData = (data) => {

@@ -105,2 +115,4 @@ unprocessedBuffers.push(data);

outputBuffer = new Uint8Array(0);
// @ts-expect-error
globalThis._dumpUnreleasedBuffers.removeListener('dump-unreleased-buffers', dumpBuffers);
},

@@ -107,0 +119,0 @@ };

2

package.json
{
"name": "@remotion/streaming",
"version": "4.0.173",
"version": "4.0.174",
"description": "Internal streaming helpers",

@@ -5,0 +5,0 @@ "main": "dist",

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