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

create-video

Package Overview
Dependencies
Maintainers
0
Versions
1016
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-video - npm Package Compare versions

Comparing version 4.0.228 to 4.0.229

5

dist/patch-readme.js

@@ -22,5 +22,8 @@ "use strict";

}
if (c.startsWith('npm run build')) {
if (c.startsWith('npx remotion render')) {
return (0, pkg_managers_1.getRenderCommand)(packageManager);
}
if (c.startsWith('npx remotion upgrade')) {
return (0, pkg_managers_1.getUpgradeCommand)(packageManager);
}
if (c.startsWith('npm run ')) {

@@ -27,0 +30,0 @@ return (0, pkg_managers_1.getRunCommand)(packageManager) + c.replace('npm run', '');

1

dist/pkg-managers.d.ts

@@ -7,4 +7,5 @@ import type { Template } from './templates';

export declare const getRenderCommand: (manager: PackageManager) => "npx remotion render" | "yarn remotion render" | "pnpm exec remotion render" | "bunx remotion render";
export declare const getUpgradeCommand: (manager: PackageManager) => "npx remotion upgrade" | "yarn remotion upgrade" | "pnpm exec remotion upgrade" | "bunx remotion upgrade";
export declare const getDevCommand: (manager: PackageManager, template: Template) => string | undefined;
export declare const getPackageManagerVersion: (manager: PackageManager) => Promise<string>;
export declare const getPackageManagerVersionOrNull: (manager: PackageManager) => Promise<string | null>;

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getPackageManagerVersionOrNull = exports.getPackageManagerVersion = exports.getDevCommand = exports.getRenderCommand = exports.getRunCommand = exports.getInstallCommand = exports.selectPackageManager = void 0;
exports.getPackageManagerVersionOrNull = exports.getPackageManagerVersion = exports.getDevCommand = exports.getUpgradeCommand = exports.getRenderCommand = exports.getRunCommand = exports.getInstallCommand = exports.selectPackageManager = void 0;
const node_child_process_1 = require("node:child_process");

@@ -113,2 +113,18 @@ const node_path_1 = __importDefault(require("node:path"));

exports.getRenderCommand = getRenderCommand;
const getUpgradeCommand = (manager) => {
if (manager === 'npm') {
return `npx remotion upgrade`;
}
if (manager === 'yarn') {
return `yarn remotion upgrade`;
}
if (manager === 'pnpm') {
return `pnpm exec remotion upgrade`;
}
if (manager === 'bun') {
return `bunx remotion upgrade`;
}
throw new TypeError('unknown package manager');
};
exports.getUpgradeCommand = getUpgradeCommand;
const getDevCommand = (manager, template) => {

@@ -115,0 +131,0 @@ if (template.cliId === 'remix' ||

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

"name": "create-video",
"version": "4.0.228",
"version": "4.0.229",
"description": "Create a new Remotion project",

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

"eslint": "9.14.0",
"@remotion/eslint-config-internal": "4.0.228"
"@remotion/eslint-config-internal": "4.0.229"
},

@@ -34,0 +34,0 @@ "homepage": "https://remotion.dev/templates",

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