Skip to content

Commit

Permalink
chore: downgrade source-map-support for stack "fix" (#20026)
Browse files Browse the repository at this point in the history
* chore: downgrade source-map-support for stack "fix"

* lint?
  • Loading branch information
SimenB committed Oct 14, 2020
1 parent 4eb5891 commit 020d3aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions fixtures/legacy-jsx-runtimes/react-17/react-17.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ it('should give context for PropType errors in nested components.', () => {
}
expect(() => ReactTestUtils.renderIntoDocument(<ParentComp />)).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 **)'
);
});
Expand Down Expand Up @@ -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 **)'
);
});

Expand Down
6 changes: 3 additions & 3 deletions fixtures/legacy-jsx-runtimes/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 020d3aa

Please sign in to comment.