From 020d3aa4e8df4455274b79b29e2452ae7f430ec0 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 14 Oct 2020 21:45:54 +0200 Subject: [PATCH] chore: downgrade source-map-support for stack "fix" (#20026) * chore: downgrade source-map-support for stack "fix" * lint? --- fixtures/legacy-jsx-runtimes/react-17/react-17.test.js | 8 ++++---- fixtures/legacy-jsx-runtimes/yarn.lock | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fixtures/legacy-jsx-runtimes/react-17/react-17.test.js b/fixtures/legacy-jsx-runtimes/react-17/react-17.test.js index 6e47d4655c2c5..a3687536499cc 100644 --- a/fixtures/legacy-jsx-runtimes/react-17/react-17.test.js +++ b/fixtures/legacy-jsx-runtimes/react-17/react-17.test.js @@ -318,9 +318,9 @@ it('should give context for PropType errors in nested components.', () => { } expect(() => ReactTestUtils.renderIntoDocument()).toErrorDev( 'Warning: Failed prop type: ' + - 'Invalid prop `color` of type `number` supplied to `MyComp`, ' + - 'expected `string`.\n' + - ' in fn (at **)\n' + // Jest/Node issue + 'Invalid prop `color` of type `number` supplied to `MyComp`, ' + + 'expected `string`.\n' + + ' in color (at **)\n' + ' in ParentComp (at **)' ); }); @@ -377,7 +377,7 @@ it('should check default prop values', () => { ).toErrorDev( 'Warning: Failed prop type: The prop `prop` is marked as required in ' + '`RequiredPropComponent`, but its value is `null`.\n' + - ' in construct (at **)' // Jest/Node issue + ' in RequiredPropComponent (at **)' ); }); diff --git a/fixtures/legacy-jsx-runtimes/yarn.lock b/fixtures/legacy-jsx-runtimes/yarn.lock index 0311bc8df1680..fe5d0c7955c2a 100644 --- a/fixtures/legacy-jsx-runtimes/yarn.lock +++ b/fixtures/legacy-jsx-runtimes/yarn.lock @@ -3247,9 +3247,9 @@ source-map-resolve@^0.5.0: urix "^0.1.0" source-map-support@^0.5.6: - version "0.5.19" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" - integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw== + version "0.5.13" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" + integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== dependencies: buffer-from "^1.0.0" source-map "^0.6.0"