From b804c0b98a43aa4680a49ce5e0ba9329326678b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 02:25:41 +0000 Subject: [PATCH] Bump roughjs from 4.5.2 to 4.6.6 (#74) * Bump roughjs from 4.5.2 to 4.6.6 Bumps [roughjs](https://github.com/pshihn/rough) from 4.5.2 to 4.6.6. - [Release notes](https://github.com/pshihn/rough/releases) - [Changelog](https://github.com/rough-stuff/rough/blob/master/CHANGELOG.md) - [Commits](https://github.com/pshihn/rough/commits) --- updated-dependencies: - dependency-name: roughjs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Update snapshots --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Liu --- memory-viz/package.json | 2 +- .../src/tests/__snapshots__/draw.spec.tsx.snap | 8 ++++---- package-lock.json | 14 ++++++++++---- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/memory-viz/package.json b/memory-viz/package.json index 023df9cf..a9b88082 100644 --- a/memory-viz/package.json +++ b/memory-viz/package.json @@ -44,7 +44,7 @@ "@xmldom/xmldom": "^0.8.10", "commander": "^12.1.0", "deepmerge": "^4.3.1", - "roughjs": "^4.5.0" + "roughjs": "^4.6.6" }, "devDependencies": { "@babel/core": "^7.20.7", diff --git a/memory-viz/src/tests/__snapshots__/draw.spec.tsx.snap b/memory-viz/src/tests/__snapshots__/draw.spec.tsx.snap index 9dbc681c..a22bde17 100644 --- a/memory-viz/src/tests/__snapshots__/draw.spec.tsx.snap +++ b/memory-viz/src/tests/__snapshots__/draw.spec.tsx.snap @@ -1329,7 +1329,7 @@ exports[`draw function renders custom style (without presets) 1`] = ` path { stroke: rgb(0, 0, 0); } - "David is cool!"id19str" + "David is cool!"id19str" `; exports[`draw function renders diagrams with provided mix of roughjs_config options 1`] = ` @@ -1365,7 +1365,7 @@ exports[`draw function renders diagrams with provided mix of roughjs_config opti path { stroke: rgb(0, 0, 0); } - "hello"id42str" + "hello"id42str" `; exports[`draw function renders diagrams with provided roughjs_config 'fill' and 'fillStyle' options 1`] = ` @@ -1401,7 +1401,7 @@ exports[`draw function renders diagrams with provided roughjs_config 'fill' and path { stroke: rgb(0, 0, 0); } - "hello"id42str" + "hello"id42str" `; exports[`draw function renders diagrams with provided roughjs_config 'fill' option 1`] = ` @@ -1437,7 +1437,7 @@ exports[`draw function renders diagrams with provided roughjs_config 'fill' opti path { stroke: rgb(0, 0, 0); } - "hello"id42str" + "hello"id42str" `; exports[`draw function renders diagrams with provided roughjs_config 'roughness' option 1`] = ` diff --git a/package-lock.json b/package-lock.json index 688590b8..5dafe0a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -95,7 +95,7 @@ "@xmldom/xmldom": "^0.8.10", "commander": "^12.1.0", "deepmerge": "^4.3.1", - "roughjs": "^4.5.0" + "roughjs": "^4.6.6" }, "bin": { "memory-viz": "bin/cli.js" @@ -10215,6 +10215,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/hachure-fill": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/hachure-fill/-/hachure-fill-0.5.2.tgz", + "integrity": "sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==" + }, "node_modules/handle-thing": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", @@ -18711,10 +18716,11 @@ } }, "node_modules/roughjs": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.5.2.tgz", - "integrity": "sha512-2xSlLDKdsWyFxrveYWk9YQ/Y9UfK38EAMRNkYkMqYBJvPX8abCa9PN0x3w02H8Oa6/0bcZICJU+U95VumPqseg==", + "version": "4.6.6", + "resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.6.6.tgz", + "integrity": "sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==", "dependencies": { + "hachure-fill": "^0.5.2", "path-data-parser": "^0.1.0", "points-on-curve": "^0.2.0", "points-on-path": "^0.2.1"