🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

image-stroke-v2

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-stroke-v2 - npm Package Compare versions

Comparing version

to
0.9.2

6

lib/src/index.d.ts

@@ -29,2 +29,6 @@ export declare type Options = {

}
export default ImageStroke;
declare const _default: {
ImageStroke: typeof ImageStroke;
StrokeMethodFactory: typeof StrokeMethodFactory;
};
export default _default;

9

lib/src/index.js

@@ -25,4 +25,4 @@ import { utils } from './utils';

this.glCanvas = null;
this.method = () => { };
this.useMethod = useMethod;
this.method = () => { StrokeMethodFactory.rotate(); };
this.useMethod = useMethod || StrokeMethodFactory.rotate();
}

@@ -76,2 +76,5 @@ getCanvas(useMethod = this.useMethod) {

}
export default ImageStroke;
export default {
ImageStroke,
StrokeMethodFactory
};
{
"name": "image-stroke-v2",
"version": "0.9.1",
"version": "0.9.2",
"description": "Makes stroke for a image with transparent background.",

@@ -5,0 +5,0 @@ "scripts": {