Skip to content

Commit 020d3aa

Browse files
authored
chore: downgrade source-map-support for stack "fix" (#20026)
* chore: downgrade source-map-support for stack "fix" * lint?
1 parent 4eb5891 commit 020d3aa

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

fixtures/legacy-jsx-runtimes/react-17/react-17.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,9 @@ it('should give context for PropType errors in nested components.', () => {
318318
}
319319
expect(() => ReactTestUtils.renderIntoDocument(<ParentComp />)).toErrorDev(
320320
'Warning: Failed prop type: ' +
321-
'Invalid prop `color` of type `number` supplied to `MyComp`, ' +
322-
'expected `string`.\n' +
323-
' in fn (at **)\n' + // Jest/Node issue
321+
'Invalid prop `color` of type `number` supplied to `MyComp`, ' +
322+
'expected `string`.\n' +
323+
' in color (at **)\n' +
324324
' in ParentComp (at **)'
325325
);
326326
});
@@ -377,7 +377,7 @@ it('should check default prop values', () => {
377377
).toErrorDev(
378378
'Warning: Failed prop type: The prop `prop` is marked as required in ' +
379379
'`RequiredPropComponent`, but its value is `null`.\n' +
380-
' in construct (at **)' // Jest/Node issue
380+
' in RequiredPropComponent (at **)'
381381
);
382382
});
383383

fixtures/legacy-jsx-runtimes/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3247,9 +3247,9 @@ source-map-resolve@^0.5.0:
32473247
urix "^0.1.0"
32483248

32493249
source-map-support@^0.5.6:
3250-
version "0.5.19"
3251-
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
3252-
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
3250+
version "0.5.13"
3251+
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932"
3252+
integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==
32533253
dependencies:
32543254
buffer-from "^1.0.0"
32553255
source-map "^0.6.0"

0 commit comments

Comments
 (0)