Socket
Socket
Sign inDemoInstall

offset-polygon

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.0 to 0.9.1

docs/snowpack/pkg/common/index-fbcaf5b0.js

2

docs/demo/Control.svelte.js

@@ -18,3 +18,3 @@ import './Control.svelte.css.proxy.js';

text
} from "../_snowpack/pkg/svelte/internal.js";
} from "../snowpack/pkg/svelte/internal.js";

@@ -21,0 +21,0 @@ function create_fragment(ctx) {

@@ -24,5 +24,5 @@ import './Demo.svelte.css.proxy.js';

transition_out
} from "../_snowpack/pkg/svelte/internal.js";
} from "../snowpack/pkg/svelte/internal.js";
import { onMount } from '../_snowpack/pkg/svelte.js';
import { onMount } from '../snowpack/pkg/svelte.js';
import Draggable from './Draggable.svelte.js';

@@ -29,0 +29,0 @@ import Control from './Control.svelte.js';

@@ -14,3 +14,3 @@ import './Draggable.svelte.css.proxy.js';

svg_element
} from "../_snowpack/pkg/svelte/internal.js";
} from "../snowpack/pkg/svelte/internal.js";

@@ -17,0 +17,0 @@ function create_fragment(ctx) {

@@ -10,3 +10,3 @@ {

"start": "snowpack dev",
"build-demo": "rm -rf ./docs && snowpack build && git add .",
"build-demo": "rm -rf ./docs && snowpack build && git add ./docs/",
"types": "tsc ./src/offset-polygon.ts --declaration --emitDeclarationOnly --outDir lib",

@@ -13,0 +13,0 @@ "build": "esbuild --bundle --sourcemap --format=esm ./src/offset-polygon.ts --outfile=lib/offset-polygon.js",

@@ -19,4 +19,5 @@ const root = process.cwd();

out: "docs",
baseUrl: "/offset-polygon"
baseUrl: "/offset-polygon",
metaUrlPath: "snowpack"
}
};
{
"name": "offset-polygon",
"version": "0.9.0",
"version": "0.9.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/offset-polygon.js",

@@ -17,3 +17,3 @@ # Offset Polygon

* `offset` - number, how much should the polygon be offset. Positive values will create add margin, and negative padding.
* `arcSegments` - number, default `0`. When set corners of the generated polygon will be rounded, by adding arc segments.
* `arcSegments` - number, default `0`. When set, corners of the generated polygon will be rounded by an arc formed of straight line segments.

@@ -20,0 +20,0 @@ Returns newly generated polygon vertices as an array of vector objects `{ x: number, y: number }`.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc