Comparing version 2.3.0 to 2.3.1
155
CHANGELOG.md
@@ -1,5 +0,19 @@ | ||
2.3.0 / 2020-05-31 | ||
------------------ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
## [2.3.1] - 2021-02-17 | ||
### Changed | ||
- Updated TS definition. | ||
## [2.3.0] - 2020-05-31 | ||
### Added | ||
- Added `SvgPath.from()` method. | ||
### Changed | ||
- Dev deps bump. | ||
@@ -9,5 +23,4 @@ - Use `nyc` for coverage reports. | ||
2.2.3 / 2020-01-19 | ||
------------------ | ||
## [2.2.3] - 2020-01-19 | ||
### Fixed | ||
- Fix arc flags parse (accept 0 or 1 only), #41. | ||
@@ -17,5 +30,4 @@ - Typo fix in error message. | ||
2.2.2 / 2019-04-27 | ||
------------------ | ||
## [2.2.2] - 2019-04-27 | ||
### Changed | ||
- Dev deps bump. | ||
@@ -25,5 +37,4 @@ - Fix typescript definitions, #32. | ||
2.2.1 / 2016-12-24 | ||
------------------ | ||
## [2.2.1] - 2016-12-24 | ||
### Changed | ||
- Update typescript definition for ts@2, #28. | ||
@@ -33,7 +44,8 @@ - Replace unicode characters with ascii ones, #27. | ||
2.2.0 / 2016-09-11 | ||
------------------ | ||
## [2.2.0] - 2016-09-11 | ||
### Added | ||
- Added `.skewX()` & `.skewY()` shortcuts. | ||
- Added typescript definitions. | ||
### Changed | ||
- Dropped `Makefile`, use npm instead. | ||
@@ -43,17 +55,14 @@ - Deps bump & cleanup. | ||
2.1.6 / 2016-03-09 | ||
------------------ | ||
## [2.1.6] - 2016-03-09 | ||
### Fixed | ||
- Fixed arc transforms for edge cases (precision + sweep flag), #23. | ||
2.1.5 / 2016-01-03 | ||
------------------ | ||
## [2.1.5] - 2016-01-03 | ||
### Changed | ||
- Improved parser error messages. | ||
2.1.4 / 2016-01-03 | ||
------------------ | ||
## [2.1.4] - 2016-01-03 | ||
### Fixed | ||
- More strict params count and exponent parse. | ||
@@ -64,23 +73,19 @@ - Properly correct round error on contour end. | ||
2.1.3 / 2015-12-30 | ||
------------------ | ||
## [2.1.3] - 2015-12-30 | ||
### Fixed | ||
- Fixed `.unarc()` - expand zero-radius arcs to lines. | ||
2.1.2 / 2015-12-22 | ||
------------------ | ||
## [2.1.2] - 2015-12-22 | ||
### Fixed | ||
- Fixed arc transforms, #13. Thanks to @kpym. | ||
2.1.1 / 2015-12-07 | ||
------------------ | ||
## [2.1.1] - 2015-12-07 | ||
### Fixed | ||
- Don't collapse `M` & `m` commands on output. | ||
2.1.0 / 2015-10-27 | ||
------------------ | ||
## [2.1.0] - 2015-10-27 | ||
### Fixed | ||
- First `m` in path should be processed as absolute (`M`). | ||
@@ -90,18 +95,20 @@ - Don't force first `M` -> `m` on `.rel()`. | ||
2.0.0 / 2015-04-16 | ||
------------------ | ||
## [2.0.0] - 2015-04-16 | ||
### Changed | ||
- Unified transformations math. | ||
- Evaluate curried transforms lazily. | ||
- 100% tests coverage. | ||
- Minor optimisations & code refactoring. | ||
- Unified transformations math. | ||
### Added | ||
- Added `.matrix` and `.rotate()`. | ||
- Added `.unarc()` - convert arcs to curves. | ||
- Evaluate curried transforms lazily. | ||
### Fixed | ||
- Fixed `.unshort()` - now relative commands processed too. | ||
- Fixed `.round()` - no more precision loss on relative coordinated. | ||
- 100% tests coverage. | ||
- Minor optimisations & code refactoring. | ||
1.0.7 / 2014-12-05 | ||
------------------ | ||
## [1.0.7] - 2014-12-05 | ||
### Changed | ||
- Parser rewrite (1.5x speedup). | ||
@@ -111,23 +118,19 @@ - Exposed `.err` property with text of error (empty on success). | ||
1.0.6 / 2014-06-15 | ||
------------------ | ||
## [1.0.6] - 2014-06-15 | ||
### Changed | ||
- Maintenance release - docs & build scripts update. | ||
1.0.5 / 2014-04-09 | ||
------------------ | ||
## [1.0.5] - 2014-04-09 | ||
### Added | ||
- Fixed line terminators handle in parser. | ||
1.0.4 / 2014-03-14 | ||
------------------ | ||
## [1.0.4] - 2014-03-14 | ||
### Added | ||
- Added .transform() support. | ||
1.0.3 / 2014-02-23 | ||
------------------ | ||
## [1.0.3] - 2014-02-23 | ||
### Changed | ||
- Parser rewrite (2x speed gain). | ||
@@ -137,18 +140,38 @@ - toString(): skip command name on repeaded sequences. | ||
1.0.2 / 2013-12-03 | ||
------------------ | ||
## [1.0.2] - 2013-12-03 | ||
### Fixed | ||
- Fixed arcs roundung (missed type cast), by @kolya-ay. | ||
1.0.1 / 2013-10-02 | ||
------------------ | ||
## [1.0.1] - 2013-10-02 | ||
### Fixed | ||
- Fixed params parse: 29.5.5 -> 29.5, 0.5. | ||
1.0.0 / 2013-09-26 | ||
------------------ | ||
## [1.0.0] - 2013-09-26 | ||
### Changed | ||
- First release. | ||
- First release. | ||
[2.3.1]: https://github.com/fontello/svgpath/compare/2.3.0...2.3.1 | ||
[2.3.0]: https://github.com/fontello/svgpath/compare/2.2.3...2.3.0 | ||
[2.2.3]: https://github.com/fontello/svgpath/compare/2.2.2...2.2.3 | ||
[2.2.2]: https://github.com/fontello/svgpath/compare/2.2.1...2.2.2 | ||
[2.2.1]: https://github.com/fontello/svgpath/compare/2.2.0...2.2.1 | ||
[2.2.0]: https://github.com/fontello/svgpath/compare/2.1.6...2.2.0 | ||
[2.1.6]: https://github.com/fontello/svgpath/compare/2.1.5...2.1.6 | ||
[2.1.5]: https://github.com/fontello/svgpath/compare/2.1.4...2.1.5 | ||
[2.1.4]: https://github.com/fontello/svgpath/compare/2.1.3...2.1.4 | ||
[2.1.3]: https://github.com/fontello/svgpath/compare/2.1.2...2.1.3 | ||
[2.1.2]: https://github.com/fontello/svgpath/compare/2.1.1...2.1.2 | ||
[2.1.1]: https://github.com/fontello/svgpath/compare/2.1.0...2.1.1 | ||
[2.1.0]: https://github.com/fontello/svgpath/compare/2.0.0...2.1.0 | ||
[2.0.0]: https://github.com/fontello/svgpath/compare/1.0.7...2.0.0 | ||
[1.0.7]: https://github.com/fontello/svgpath/compare/1.0.6...1.0.7 | ||
[1.0.6]: https://github.com/fontello/svgpath/compare/1.0.5...1.0.6 | ||
[1.0.5]: https://github.com/fontello/svgpath/compare/1.0.4...1.0.5 | ||
[1.0.4]: https://github.com/fontello/svgpath/compare/1.0.3...1.0.4 | ||
[1.0.3]: https://github.com/fontello/svgpath/compare/1.0.2...1.0.3 | ||
[1.0.2]: https://github.com/fontello/svgpath/compare/1.0.1...1.0.2 | ||
[1.0.1]: https://github.com/fontello/svgpath/compare/1.0.0...1.0.1 | ||
[1.0.0]: https://github.com/fontello/svgpath/releases/tag/1.0.0 |
@@ -6,2 +6,3 @@ declare module "svgpath" { | ||
abs(): SvgPath; | ||
rel(): SvgPath; | ||
scale(sx: number, sy?: number): SvgPath; | ||
@@ -8,0 +9,0 @@ translate(x: number, y?: number): SvgPath; |
{ | ||
"name": "svgpath", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Low level toolkit for SVG paths transformations.", | ||
@@ -19,4 +19,3 @@ "keywords": [ | ||
"test": "npm run lint && nyc mocha", | ||
"coverage": "npm run test && nyc report --reporter html", | ||
"report-coveralls": "nyc report --reporter=text-lcov | coveralls" | ||
"covreport": "nyc report --reporter html && nyc report --reporter lcov" | ||
}, | ||
@@ -31,7 +30,6 @@ "files": [ | ||
"benchmark": "^2.1.1", | ||
"coveralls": "^3.0.3", | ||
"eslint": "^7.1.0", | ||
"mocha": "^7.2.0", | ||
"mocha": "^8.0.1", | ||
"nyc": "^15.0.1" | ||
} | ||
} |
svgpath | ||
======= | ||
[![Build Status](https://img.shields.io/travis/fontello/svgpath/master.svg?style=flat)](https://travis-ci.org/fontello/svgpath) | ||
[![CI](https://github.com/fontello/svgpath/workflows/CI/badge.svg)](https://github.com/fontello/svgpath/actions) | ||
[![NPM version](https://img.shields.io/npm/v/svgpath.svg?style=flat)](https://www.npmjs.org/package/svgpath) | ||
@@ -6,0 +6,0 @@ [![Coverage Status](https://img.shields.io/coveralls/fontello/svgpath/master.svg?style=flat)](https://coveralls.io/r/fontello/svgpath?branch=master) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45541
5
1188