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

remotion

Package Overview
Dependencies
Maintainers
0
Versions
1001
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remotion - npm Package Compare versions

Comparing version 4.0.256 to 4.0.257

1

dist/cjs/input-props-serialization.d.ts

@@ -16,2 +16,3 @@ export type SerializedJSONWithCustomFields = {

export declare const deserializeJSONWithCustomFields: <T = Record<string, unknown>>(data: string) => T;
export declare const serializeThenDeserialize: (props: Record<string, unknown>) => Record<string, unknown>;
export declare const serializeThenDeserializeInStudio: (props: Record<string, unknown>) => Record<string, unknown>;

19

dist/cjs/input-props-serialization.js
"use strict";
// Must keep this file in sync with the one in packages/lambda/src/shared/serialize-props.ts!
Object.defineProperty(exports, "__esModule", { value: true });
exports.serializeThenDeserializeInStudio = exports.deserializeJSONWithCustomFields = exports.serializeJSONWithDate = exports.FILE_TOKEN = exports.DATE_TOKEN = void 0;
exports.serializeThenDeserializeInStudio = exports.serializeThenDeserialize = exports.deserializeJSONWithCustomFields = exports.serializeJSONWithDate = exports.FILE_TOKEN = exports.DATE_TOKEN = void 0;
const get_remotion_environment_js_1 = require("./get-remotion-environment.js");
const static_file_js_1 = require("./static-file.js");
exports.DATE_TOKEN = 'remotion-date:';

@@ -51,3 +50,3 @@ exports.FILE_TOKEN = 'remotion-file:';

if (typeof value === 'string' && value.startsWith(exports.FILE_TOKEN)) {
return (0, static_file_js_1.staticFile)(value.replace(exports.FILE_TOKEN, ''));
return `${window.remotion_staticBase}/${value.replace(exports.FILE_TOKEN, '')}`;
}

@@ -58,2 +57,10 @@ return value;

exports.deserializeJSONWithCustomFields = deserializeJSONWithCustomFields;
const serializeThenDeserialize = (props) => {
return (0, exports.deserializeJSONWithCustomFields)((0, exports.serializeJSONWithDate)({
data: props,
indent: 2,
staticBase: window.remotion_staticBase,
}).serializedString);
};
exports.serializeThenDeserialize = serializeThenDeserialize;
const serializeThenDeserializeInStudio = (props) => {

@@ -63,7 +70,3 @@ // Serializing once in the Studio, to catch potential serialization errors before

if ((0, get_remotion_environment_js_1.getRemotionEnvironment)().isStudio) {
return (0, exports.deserializeJSONWithCustomFields)((0, exports.serializeJSONWithDate)({
data: props,
indent: 2,
staticBase: window.remotion_staticBase,
}).serializedString);
return (0, exports.serializeThenDeserialize)(props);
}

@@ -70,0 +73,0 @@ return props;

@@ -6,2 +6,2 @@ /**

*/
export declare const VERSION = "4.0.256";
export declare const VERSION = "4.0.257";

@@ -10,2 +10,2 @@ "use strict";

*/
exports.VERSION = '4.0.256';
exports.VERSION = '4.0.257';

@@ -6,3 +6,3 @@ {

"name": "remotion",
"version": "4.0.256",
"version": "4.0.257",
"description": "Make videos programmatically",

@@ -32,3 +32,3 @@ "main": "dist/cjs/index.js",

"eslint": "9.14.0",
"@remotion/eslint-config-internal": "4.0.256"
"@remotion/eslint-config-internal": "4.0.257"
},

@@ -35,0 +35,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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