svg-path-commander 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,6 +17,7 @@ A modern set of Typescript tools for manipulating the `d` (description) attribut
17
17
 
18
18
  While you may find familiar tools inside, this library brings ***new additions***:
19
19
  * the build in `getBBox`, `getPointAtLength` and `getTotalLength` are more reliable and much more accurate than the native methods, not to mention their world class performance ratings;
20
+ * thanks to the community contributions we've implemented useful tools like `getPropertiesAtLength`, `getSegmentOfPoint` or `isPointInStroke`;
20
21
  * a tool that can *reverse path draw direction* without altering path commands, even with specific shorthand path commands;
21
22
  * a unique tool that can *reverse path draw direction* for path strings with only 'C' path commands;
22
23
  * a new and unique tool to *apply transform functions to path commands* via the modern *DOMMatrix* API.
@@ -46,7 +47,7 @@ npm install svg-path-commander
46
47
 
47
48
  # CDN
48
49
  ```html
49
- <script src="https://cdn.jsdelivr.net/npm/svg-path-commander/dist/svg-path-commander.min.js">
50
+ <script src="https://cdn.jsdelivr.net/npm/svg-path-commander/dist/svg-path-commander.js">
50
51
  ```
51
52
 
52
53
  # Quick Guide
@@ -1,6 +1,5 @@
1
1
  /// <reference types="cypress" />
2
2
 
3
- // import SVGPathCommander from '../../src/svg-path-commander';
4
3
  import SVGPathCommander from '../../src/index';
5
4
  import invalidPathValue from '../../src/parser/invalidPathValue';
6
5
  import error from '../../src/parser/error';
package/package.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "name": "svg-path-commander",
3
3
  "author": "thednp",
4
4
  "license": "MIT",
5
- "version": "2.0.1",
6
- "description": "TypeScript tools for SVG processing and converting path data",
5
+ "version": "2.0.2",
6
+ "description": "Modern TypeScript tools for SVG",
7
7
  "source": "src/index.ts",
8
8
  "main": "dist/svg-path-commander.js",
9
9
  "module": "dist/svg-path-commander.cjs",