New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 0.9.1 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": {

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