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

@remotion/player

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remotion/player - npm Package Compare versions

Comparing version

to
3.0.0-lambda.310

@@ -1,4 +0,1 @@

export declare const Loading: React.FC<{
size: number;
}>;
//# sourceMappingURL=Loading.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Loading = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const Loading = ({ size }) => {
const triangle = (opacity, triangleSize) => ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ xmlnsXlink: "http://www.w3.org/1999/xlink", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 400 400", style: {
opacity,
width: triangleSize,
height: triangleSize,
position: 'absolute',
transform: 'rotate(90deg)',
} }, { children: [(0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsxs)("linearGradient", Object.assign({ id: "gradient" }, { children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#42e9f5", stopOpacity: "1", offset: "0" }, void 0), (0, jsx_runtime_1.jsx)("stop", { stopColor: "#4290f5", stopOpacity: "1", offset: "100%" }, void 0)] }), void 0) }, void 0), (0, jsx_runtime_1.jsx)("g", Object.assign({ stroke: 'url("#gradient")', strokeWidth: "100px", strokeLinejoin: "round" }, { children: (0, jsx_runtime_1.jsx)("path", { fill: 'url("#gradient")', d: "M 102 272 a 196 100 0 0 0 195 5 A 196 240 0 0 0 200 102.259 A 196 240 0 0 0 102 272 z", stroke: 'url("#gradient")', strokeWidth: "100px" }, void 0) }), void 0)] }), void 0));
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ style: {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
flex: 1,
height: '100%',
width: '100%',
} }, { children: [triangle(0.2, size), triangle(0.4, (size * 9) / 11), triangle(1, (size * 7) / 11)] }), void 0));
};
exports.Loading = Loading;
//# sourceMappingURL=Loading.js.map

@@ -25,2 +25,6 @@ "use strict";

}
// @ts-expect-error
if (componentProps.defaultProps !== undefined) {
throw new Error('The <Player /> component does not accept `defaultProps`, but some were passed. Use `inputProps` instead.');
}
const component = remotion_1.Internals.useLazyComponent(componentProps);

@@ -27,0 +31,0 @@ const [frame, setFrame] = (0, react_1.useState)(0);

{
"name": "@remotion/player",
"version": "3.0.0-lambda.297+0a5487655",
"version": "3.0.0-lambda.310+7b7d16823",
"description": "Remotion Player",

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

"dependencies": {
"remotion": "3.0.0-lambda.297+0a5487655"
"remotion": "3.0.0-lambda.310+7b7d16823"
},

@@ -53,3 +53,3 @@ "peerDependencies": {

},
"gitHead": "0a548765535f6a9274fb2b059bb85736a39bc894"
"gitHead": "7b7d1682301991fad4194745f79128fe3b39f3bc"
}

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

Sorry, the diff of this file is not supported yet