1
0
Fork 0
Commit graph

9046 commits

Author SHA1 Message Date
Jonathan Haas
55e776db2c add unit tests for circleSegment method 2024-07-12 07:29:11 +02:00
Jonathan Haas
dd1b4f1a14 feature(core): add path.circleSegment() method and documentation 2024-07-11 18:38:04 +02:00
Jonathan Haas
1ee4864761 fix(core): Fix typo in path.clean() method 2024-07-02 18:41:18 +02:00
dependabot[bot]
b8813079c8
chore(deps-dev): bump mocha from 10.5.0 to 10.5.2
Bumps [mocha](https://github.com/mochajs/mocha) from 10.5.0 to 10.5.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.5.0...v10.5.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-27 04:50:38 +00:00
dependabot[bot]
a690e8f8e2
chore(deps): bump execa from 9.2.0 to 9.3.0
Bumps [execa](https://github.com/sindresorhus/execa) from 9.2.0 to 9.3.0.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v9.2.0...v9.3.0)

---
updated-dependencies:
- dependency-name: execa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-26 04:17:51 +00:00
dependabot[bot]
af8bcbf1fc
chore(deps-dev): bump mocha from 10.4.0 to 10.5.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.4.0 to 10.5.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.4.0...v10.5.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 04:35:58 +00:00
joostdecock
9718d9580b chore: Update dependencies and contributors 2024-06-12 15:25:33 +02:00
Joost De Cock
ebfd10d2eb
Merge pull request #6768 from freesewing/dependabot/npm_and_yarn/sinon-18.0.0
chore(deps-dev): Bump sinon from 17.0.2 to 18.0.0
2024-06-12 15:09:51 +02:00
Joost De Cock
e2a8e85ba2
Merge pull request #6778 from jlvandenhout/fix/check-only-text-elements
fix(rehype-jargon): Ignore `em` elements that contain nested elements
2024-06-12 15:01:08 +02:00
Joost De Cock
fcbbf2b498
Merge pull request #6837 from freesewing/issue-6816
fix(core): Handle path splits on start or end points
2024-06-12 14:57:40 +02:00
joostdecock
eded9e9d3a fix(core): Handle path splits on start or end points
In some edge cases, like when splitting a path on or very close to its
start or end point, `Path.split()` will return an array in which one of
the elements is not a Path object, but rather an empty array.

That is rather combersome to check for, so this changes that behaviour
and will return null for such cases.

I've also updated the documentation to clarify this behaviour.

Fixes #6816

This also fixes a bug when a path was being split on its end point.
2024-06-12 13:24:42 +02:00
dependabot[bot]
72baf4669f
chore(deps): bump execa from 9.0.2 to 9.2.0
Bumps [execa](https://github.com/sindresorhus/execa) from 9.0.2 to 9.2.0.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v9.0.2...v9.2.0)

---
updated-dependencies:
- dependency-name: execa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 04:41:44 +00:00
dependabot[bot]
db5ecd1eac
chore(deps-dev): Bump sinon from 17.0.2 to 18.0.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 17.0.2 to 18.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v17.0.2...v18.0.0)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 16:05:08 +00:00
dependabot[bot]
deb56f565d
---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 04:15:10 +00:00
dependabot[bot]
b1fb3d7743
---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 04:29:05 +00:00
Jeroen van den Hout
4d6233b4bc
check if node only contains text nodes 2024-05-17 22:59:50 +02:00
dependabot[bot]
e0420f423d
chore(deps): Bump execa from 9.0.1 to 9.0.2
Bumps [execa](https://github.com/sindresorhus/execa) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: execa
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 04:21:12 +00:00
joostdecock
21f386f56e prerelease: v3.3.0-rc.1 2024-05-11 17:30:26 +02:00
joostdecock
0842b0411a chore: Update dependencies and prebuild artifacts 2024-05-11 17:08:05 +02:00
Joost De Cock
9efdcf4d26
Merge pull request #6730 from freesewing/dependabot/npm_and_yarn/execa-9.0.1
chore(deps): Bump execa from 8.0.1 to 9.0.1
2024-05-11 16:56:54 +02:00
dependabot[bot]
51c00db10e
chore(deps): Bump execa from 8.0.1 to 9.0.1
Bumps [execa](https://github.com/sindresorhus/execa) from 8.0.1 to 9.0.1.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v8.0.1...v9.0.1)

---
updated-dependencies:
- dependency-name: execa
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 05:02:10 +00:00
dependabot[bot]
6ff2f8d4b6
chore(deps-dev): Bump chai from 5.1.0 to 5.1.1
Bumps [chai](https://github.com/chaijs/chai) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 05:00:32 +00:00
joostdecock
1b2167aad1 chore: Dependencies and prebuild artifacts update 2024-05-04 17:05:28 +02:00
Joost De Cock
b4a1216a5c
Merge branch 'develop' into jane 2024-05-04 16:40:24 +02:00
joostdecock
13a390e707 chore: Merged in cleaned up lily branch 2024-05-04 16:23:03 +02:00
dependabot[bot]
73662ab39f
chore(deps-dev): Bump mocha from 10.3.0 to 10.4.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.3.0...v10.4.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 17:23:44 +00:00
joostdecock
9b182bc056 fix(org): React dependency issue 2024-04-28 16:58:06 +02:00
joostdecock
aaf4e04fd1 chore: Dependency updates 2024-04-27 16:12:28 +02:00
joostdecock
6ca891ae6f chore: Update dependencies and contributors 2024-04-27 15:29:01 +02:00
Joost De Cock
f82ebd97d8
Merge pull request #6558 from HaasJona/add/path-angle
add(core): Add Path.angleAt(point) method
2024-04-18 19:02:26 +02:00
Jonathan Haas
ed608b52a0
Add documentation and rename method 2024-04-18 10:53:30 +02:00
Joost De Cock
281a04c37f
Merge pull request #6527 from HaasJona/fix/path-offset
fix(core): Path.offset(...) improvements
2024-04-16 19:07:55 +02:00
Jonathan Haas
789ff3f8ca Fix test 2024-04-15 19:31:01 +02:00
Jonathan Haas
85946eb716 Add clarifying comment 2024-04-15 18:43:39 +02:00
Jonathan Haas
25059b818f Add test for path.angleAt 2024-04-15 18:28:49 +02:00
Jonathan Haas
d2731a6d88 add(core): Add Path.angleAt(point) method 2024-04-15 18:28:49 +02:00
Jonathan Haas
1909955d73 Make pointOnCurve behaviour match documentation 2024-04-15 18:28:09 +02:00
dependabot[bot]
0269f81ead
chore(deps-dev): Bump mocha from 10.3.0 to 10.4.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.3.0...v10.4.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 17:56:32 +00:00
Jonathan Haas
080874dd88
fix(core): Path.offset(...) no longer fails on very short curves or zero length paths. Fixes #6519 2024-04-08 08:25:09 +02:00
joostdecock
04505691d6 Merge branch 'develop' into joost 2024-04-06 18:05:18 +02:00
joostdecock
f8d9aeb035 chore: Changelog/all-contributors update
Updated the changelog after recent features/fixes by @haasjona and
@woutervdub

Re-ran reconfigure to update README's with the updated contributor list.
2024-04-06 18:00:10 +02:00
Jonathan Haas
849563d1ec
add(core): Add Path.rotate(...) function analogue to Point.rotate(...) 2024-04-05 14:45:20 +02:00
anna-puk
61cfffabf4 Merge remote-tracking branch 'remotes/upstream/develop' into lily-leggings-(fresh-start) 2024-03-28 22:18:47 +01:00
anna-puk
f4b015d3e2 got lily to work in the lab (by merging code from elsewhere) 2024-03-28 17:35:45 +01:00
dependabot[bot]
633b87272a
chore(deps-dev): Bump mocha from 10.3.0 to 10.4.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.3.0...v10.4.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 04:07:47 +00:00
Joost De Cock
5bb261c946 chore: Reconfigure after adding new contributor 2024-03-25 19:49:59 +01:00
anna-puk
799b2432ee Start fixing some stuff and Merge branch 'develop' of https://github.com/freesewing/freesewing into lily-leggings-(fresh-start) 2024-03-24 22:46:45 +01:00
Zee
a26979ca86 initialises Jane 2024-03-24 13:46:54 +00:00
joostdecock
b2b2e0cf73 chore: dependencies update 2024-03-23 11:36:28 +01:00
dependabot[bot]
d8b625a37a
chore(deps): Bump axios from 1.6.7 to 1.6.8
Bumps [axios](https://github.com/axios/axios) from 1.6.7 to 1.6.8.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.7...v1.6.8)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 04:42:00 +00:00