Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

perfect-freehand

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perfect-freehand - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 0.4.4
- Fixes typings.
## 0.4.3

@@ -2,0 +6,0 @@

26

dist/types.d.ts
export interface StrokeOptions {
size: number;
thinning: number;
smoothing: number;
streamline: number;
easing: (pressure: number) => number;
simulatePressure: boolean;
start: {
taper: number;
easing: (distance: number) => number;
size?: number;
thinning?: number;
smoothing?: number;
streamline?: number;
easing?: (pressure: number) => number;
simulatePressure?: boolean;
start?: {
taper?: number;
easing?: (distance: number) => number;
};
end: {
taper: number;
easing: (distance: number) => number;
end?: {
taper?: number;
easing?: (distance: number) => number;
};
last: boolean;
last?: boolean;
}

@@ -18,0 +18,0 @@ export interface StrokePoint {

{
"version": "0.4.3",
"version": "0.4.4",
"name": "perfect-freehand",

@@ -4,0 +4,0 @@ "author": {

export interface StrokeOptions {
size: number
thinning: number
smoothing: number
streamline: number
easing: (pressure: number) => number
simulatePressure: boolean
start: {
taper: number
easing: (distance: number) => number
size?: number
thinning?: number
smoothing?: number
streamline?: number
easing?: (pressure: number) => number
simulatePressure?: boolean
start?: {
taper?: number
easing?: (distance: number) => number
}
end: {
taper: number
easing: (distance: number) => number
end?: {
taper?: number
easing?: (distance: number) => number
}
last: boolean
last?: boolean
}

@@ -18,0 +18,0 @@

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