svg-path-commander 2.0.8 → 2.0.9

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.
Files changed (97) hide show
  1. package/.eslintrc.cjs +0 -0
  2. package/.lgtm.yml +0 -0
  3. package/.prettierrc.json +0 -0
  4. package/LICENSE +0 -0
  5. package/README.md +4 -4
  6. package/cypress/e2e/svg-path-commander.spec.ts +0 -0
  7. package/cypress/fixtures/shapeObjects.js +0 -0
  8. package/cypress/fixtures/shapes.js +0 -0
  9. package/cypress/fixtures/simpleShapes.js +0 -0
  10. package/cypress/plugins/esbuild-istanbul.ts +0 -0
  11. package/cypress/plugins/tsCompile.ts +0 -0
  12. package/cypress/support/commands.ts +0 -0
  13. package/cypress/support/e2e.ts +0 -0
  14. package/cypress/test.html +0 -0
  15. package/cypress.config.ts +0 -0
  16. package/dist/svg-path-commander.cjs +0 -0
  17. package/dist/svg-path-commander.cjs.map +1 -1
  18. package/dist/svg-path-commander.d.ts +0 -0
  19. package/dist/svg-path-commander.js +0 -0
  20. package/dist/svg-path-commander.js.map +1 -1
  21. package/dist/svg-path-commander.mjs +0 -0
  22. package/dist/svg-path-commander.mjs.map +1 -1
  23. package/dts.config.ts +0 -0
  24. package/package.json +34 -29
  25. package/src/convert/pathToAbsolute.ts +0 -0
  26. package/src/convert/pathToCurve.ts +0 -0
  27. package/src/convert/pathToRelative.ts +0 -0
  28. package/src/convert/pathToString.ts +0 -0
  29. package/src/index.ts +0 -0
  30. package/src/interface.ts +0 -0
  31. package/src/math/distanceSquareRoot.ts +0 -0
  32. package/src/math/midPoint.ts +0 -0
  33. package/src/math/polygonArea.ts +0 -0
  34. package/src/math/polygonLength.ts +0 -0
  35. package/src/math/rotateVector.ts +0 -0
  36. package/src/options/options.ts +0 -0
  37. package/src/parser/error.ts +0 -0
  38. package/src/parser/finalizeSegment.ts +0 -0
  39. package/src/parser/invalidPathValue.ts +0 -0
  40. package/src/parser/isArcCommand.ts +0 -0
  41. package/src/parser/isDigit.ts +0 -0
  42. package/src/parser/isDigitStart.ts +0 -0
  43. package/src/parser/isPathCommand.ts +0 -0
  44. package/src/parser/isSpace.ts +0 -0
  45. package/src/parser/paramsCount.ts +0 -0
  46. package/src/parser/paramsParser.ts +0 -0
  47. package/src/parser/parsePathString.ts +0 -0
  48. package/src/parser/pathParser.ts +0 -0
  49. package/src/parser/scanFlag.ts +0 -0
  50. package/src/parser/scanParam.ts +0 -0
  51. package/src/parser/scanSegment.ts +0 -0
  52. package/src/parser/skipSpaces.ts +0 -0
  53. package/src/process/arcToCubic.ts +0 -0
  54. package/src/process/fixArc.ts +0 -0
  55. package/src/process/getSVGMatrix.ts +0 -0
  56. package/src/process/lineToCubic.ts +0 -0
  57. package/src/process/normalizePath.ts +0 -0
  58. package/src/process/normalizeSegment.ts +0 -0
  59. package/src/process/optimizePath.ts +0 -0
  60. package/src/process/projection2d.ts +0 -0
  61. package/src/process/quadToCubic.ts +0 -0
  62. package/src/process/reverseCurve.ts +0 -0
  63. package/src/process/reversePath.ts +0 -0
  64. package/src/process/roundPath.ts +0 -0
  65. package/src/process/segmentToCubic.ts +0 -0
  66. package/src/process/shortenSegment.ts +0 -0
  67. package/src/process/splitCubic.ts +0 -0
  68. package/src/process/splitPath.ts +0 -0
  69. package/src/process/transformPath.ts +0 -0
  70. package/src/types.ts +0 -0
  71. package/src/util/getClosestPoint.ts +0 -0
  72. package/src/util/getDrawDirection.ts +0 -0
  73. package/src/util/getPathArea.ts +0 -0
  74. package/src/util/getPathBBox.ts +0 -0
  75. package/src/util/getPointAtLength.ts +0 -0
  76. package/src/util/getPropertiesAtLength.ts +0 -0
  77. package/src/util/getPropertiesAtPoint.ts +0 -0
  78. package/src/util/getSegmentAtLength.ts +0 -0
  79. package/src/util/getSegmentOfPoint.ts +0 -0
  80. package/src/util/getTotalLength.ts +0 -0
  81. package/src/util/isAbsoluteArray.ts +0 -0
  82. package/src/util/isCurveArray.ts +0 -0
  83. package/src/util/isNormalizedArray.ts +0 -0
  84. package/src/util/isPathArray.ts +0 -0
  85. package/src/util/isPointInStroke.ts +0 -0
  86. package/src/util/isRelativeArray.ts +0 -0
  87. package/src/util/isValidPath.ts +0 -0
  88. package/src/util/pathLengthFactory.ts +0 -0
  89. package/src/util/segmentArcFactory.ts +0 -0
  90. package/src/util/segmentCubicFactory.ts +0 -0
  91. package/src/util/segmentLineFactory.ts +0 -0
  92. package/src/util/segmentQuadFactory.ts +0 -0
  93. package/src/util/shapeParams.ts +0 -0
  94. package/src/util/shapeToPath.ts +0 -0
  95. package/src/util/shapeToPathArray.ts +0 -0
  96. package/tsconfig.json +2 -1
  97. package/vite.config.ts +0 -0
package/.eslintrc.cjs CHANGED
File without changes
package/.lgtm.yml CHANGED
File without changes
package/.prettierrc.json CHANGED
File without changes
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -4,10 +4,10 @@
4
4
  [![NPM Version](https://img.shields.io/npm/v/svg-path-commander.svg)](https://www.npmjs.com/package/svg-path-commander)
5
5
  [![NPM Downloads](https://img.shields.io/npm/dm/svg-path-commander.svg)](http://npm-stat.com/charts.html?svg-path-commander)
6
6
  [![jsDeliver](https://img.shields.io/jsdelivr/npm/hw/svg-path-commander)](https://www.jsdelivr.com/package/npm/svg-path-commander)
7
- [![typescript version](https://img.shields.io/badge/typescript-5.1.6-brightgreen)](https://www.typescriptlang.org/)
8
- [![cypress version](https://img.shields.io/badge/cypress-12.16.0-brightgreen)](https://www.cypress.io/)
9
- [![eslint version](https://img.shields.io/badge/eslint-8.44.0-brightgreen)](https://github.com/eslint)
10
- [![vite version](https://img.shields.io/badge/vite-4.3.9-brightgreen)](https://vitejs.dev/)
7
+ [![typescript version](https://img.shields.io/badge/typescript-5.3.2-brightgreen)](https://www.typescriptlang.org/)
8
+ [![cypress version](https://img.shields.io/badge/cypress-12.17.4-brightgreen)](https://www.cypress.io/)
9
+ [![eslint version](https://img.shields.io/badge/eslint-8.54.0-brightgreen)](https://github.com/eslint)
10
+ [![vite version](https://img.shields.io/badge/vite-4.5.0-brightgreen)](https://vitejs.dev/)
11
11
  [![prettier version](https://img.shields.io/badge/prettier-2.8.8-brightgreen)](https://prettier.io/)
12
12
 
13
13
  ![image](./docs/assets/SVGPathCommander.svg)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/cypress/test.html CHANGED
File without changes
package/cypress.config.ts CHANGED
File without changes
File without changes