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

@remotion/shapes

Package Overview
Dependencies
Maintainers
1
Versions
361
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remotion/shapes - npm Package Compare versions

Comparing version 3.3.38 to 3.3.39

dist/components/return-type.d.ts

6

dist/make-circle.d.ts
export declare type MakeCircleProps = {
cx?: number | string;
cy?: number | string;
radius?: number | string;
radius: number;
};
export declare const makeCircle: ({ cx, cy, radius, }: MakeCircleProps) => string;
export declare const makeCircle: ({ radius }: MakeCircleProps) => string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeCircle = void 0;
const makeCircle = ({ cx = 50, cy = 50, radius = 50, }) => {
const makeCircle = ({ radius }) => {
const cx = radius;
const cy = radius;
return `M ${cx} ${cy} m -${radius} 0 a ${radius} ${radius} 0 1 0 ${radius * 2} 0 ${radius} ${radius} 0 1 0 ${-radius * 2} 0`;
};
exports.makeCircle = makeCircle;
export declare type MakeEllipseOptions = {
rx?: number | string;
ry?: number | string;
rx: number;
ry: number;
};
export declare const makeEllipse: ({ rx, ry }: MakeEllipseOptions) => string;
export declare type MakeRectOptions = {
x?: number;
y?: number;
width: number;
height: number;
};
export declare const makeRect: ({ x, y, width, height }: MakeRectOptions) => string;
export declare const makeRect: ({ width, height }: MakeRectOptions) => string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeRect = void 0;
const makeRect = ({ x = 0, y = 0, width, height }) => {
const makeRect = ({ width, height }) => {
const x = 0;
const y = 0;
return `M ${x} ${y} l ${width} 0 l 0 ${height} l ${-width} 0 Z`;
};
exports.makeRect = makeRect;
{
"name": "@remotion/shapes",
"version": "3.3.38",
"version": "3.3.39",
"description": "Utility functions and components for SVG shapes",

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

},
"gitHead": "ac58695e452e58deb5c010f09bcc94d036930e6c"
"gitHead": "5a07260074fe3a6db2cdba0001503c665951414d"
}
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