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.36 to 4.0.0-esm.17

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.36",
"version": "4.0.0-esm.17+da08690d2",
"description": "Utility functions and components for SVG shapes",

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

},
"gitHead": "623bf1e883e7b26b9d02458037c930ccbe8857e4"
"gitHead": "da08690d241e1f5d6dde8a8d89f3379a54ec7681"
}
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