Skip to content

Commit

Permalink
Fix master (diegomura#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomura authored Nov 2, 2020
1 parent 4fb410f commit 5040c22
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@react-pdf/fontkit": "^1.13.0",
"@react-pdf/pdfkit": "^1.4.2",
"@react-pdf/png-js": "^1.0.0",
"@react-pdf/textkit": "^0.4.1",
"@react-pdf/textkit": "^0.3.7",
"blob-stream": "^0.1.3",
"cross-fetch": "^3.0.4",
"emoji-regex": "^8.0.0",
Expand Down
2 changes: 0 additions & 2 deletions src/utils/painter.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export const availableMethods = [
'strokeOpacity',
'fillAndStroke',
'bezierCurveTo',
'linearGradient',
'radialGradient',
'quadraticCurveTo',
];

Expand Down
1 change: 1 addition & 0 deletions tests/utils/dummyRoot.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default {
instance.fillColor = jest.fn().mockReturnValue(instance);
instance.fillOpacity = jest.fn().mockReturnValue(instance);
instance.roundedRect = jest.fn().mockReturnValue(instance);
instance.fillAndStroke = jest.fn().mockReturnValue(instance);
instance.radialGradient = jest.fn().mockReturnValue(instance);
instance.registerFont = jest.fn().mockReturnValue(instance);
instance.lineWidth = jest.fn().mockReturnValue(instance);
Expand Down
47 changes: 25 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -941,15 +941,16 @@
resolved "https://registry.yarnpkg.com/@react-pdf/png-js/-/png-js-1.0.0.tgz#00fcb969dca4ce82a0a7673413ade039e47b361e"
integrity sha1-APy5adykzoKgp2c0E63gOeR7Nh4=

"@react-pdf/textkit@^0.4.1":
version "0.4.1"
resolved "https://registry.yarnpkg.com/@react-pdf/textkit/-/textkit-0.4.1.tgz#9240773cd3e1d3cd86ffc2eb0bcc2dd3f51af376"
integrity sha512-B8Z7qgFHm5tDB4yvFrFdPjETnVCaL+E63w9WbBObB0fRZHx051+DNCU+b6zlIyXYV+2OdPAkUAMPm+lkdBu5hw==
"@react-pdf/textkit@^0.3.7":
version "0.3.7"
resolved "https://registry.yarnpkg.com/@react-pdf/textkit/-/textkit-0.3.7.tgz#67bcc4d952ad1cd738b3cb38c8396219450f536b"
integrity sha512-JyK06VofTG4/6Mxv9ugqGyKS/nnbg7MXXHmzeYLP+wwxZsgiatjybVBSXI+DW+++UeyUKLrCYQh2RaxliRm+NQ==
dependencies:
"@babel/runtime" "^7.4.3"
"@react-pdf/unicode-properties" "^2.2.0"
babel-runtime "^6.26.0"
hyphen "^1.1.1"
ramda "^0.26.1"
unicode-properties "^1.3.1"

"@react-pdf/unicode-properties@^2.2.0":
version "2.2.0"
Expand Down Expand Up @@ -1390,12 +1391,20 @@ babel-preset-jest@^24.3.0:
"@babel/plugin-syntax-object-rest-spread" "^7.0.0"
babel-plugin-jest-hoist "^24.3.0"

babel-runtime@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4=
dependencies:
core-js "^2.4.0"
regenerator-runtime "^0.11.0"

balanced-match@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=

base64-js@^1.1.2, base64-js@^1.3.0:
base64-js@^1.1.2:
version "1.3.1"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1"
integrity sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==
Expand Down Expand Up @@ -1835,6 +1844,11 @@ copy-descriptor@^0.1.0:
resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=

core-js@^2.4.0:
version "2.6.11"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==

core-js@^2.5.7:
version "2.6.5"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895"
Expand Down Expand Up @@ -5381,6 +5395,11 @@ regenerate@^1.4.0:
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11"
integrity sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==

regenerator-runtime@^0.11.0:
version "0.11.1"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==

regenerator-runtime@^0.12.0:
version "0.12.1"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de"
Expand Down Expand Up @@ -6403,14 +6422,6 @@ unicode-match-property-value-ecmascript@^1.0.2:
resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.0.2.tgz#9f1dc76926d6ccf452310564fd834ace059663d4"
integrity sha512-Rx7yODZC1L/T8XKo/2kNzVAQaRE88AaMvI1EF/Xnj3GW2wzN6fop9DDWuFAKUVFH7vozkz26DzP0qyWLKLIVPQ==

unicode-properties@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/unicode-properties/-/unicode-properties-1.3.1.tgz#cc642b6314bde2c691d65dd94cece09ed84f1282"
integrity sha512-nIV3Tf3LcUEZttY/2g4ZJtGXhWwSkuLL+rCu0DIAMbjyVPj+8j5gNVz4T/sVbnQybIsd5SFGkPKg/756OY6jlA==
dependencies:
base64-js "^1.3.0"
unicode-trie "^2.0.0"

unicode-property-aliases-ecmascript@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.4.tgz#5a533f31b4317ea76f17d807fa0d116546111dd0"
Expand All @@ -6424,14 +6435,6 @@ unicode-trie@^0.3.0:
pako "^0.2.5"
tiny-inflate "^1.0.0"

unicode-trie@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/unicode-trie/-/unicode-trie-2.0.0.tgz#8fd8845696e2e14a8b67d78fa9e0dd2cad62fec8"
integrity sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==
dependencies:
pako "^0.2.5"
tiny-inflate "^1.0.0"

union-value@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4"
Expand Down

0 comments on commit 5040c22

Please sign in to comment.