chore: downgrade source-map-support for stack "fix" (#20026)
* chore: downgrade source-map-support for stack "fix" * lint?
Simen Bekkhus committed
Oct 14, 2020 at 21:45 UTC
020d3aa4e8df4455274b79b29e2452ae7f430ec0
2 files changed
+7
-7
fixtures/legacy-jsx-runtimes/react-17/react-17.test.js
+4
-4
@@ -318,9 +318,9 @@ it('should give context for PropType errors in nested components.', () => {
318
}
319
expect(() => ReactTestUtils.renderIntoDocument(<ParentComp />)).toErrorDev(
320
'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' +
324
' in ParentComp (at **)'
325
);
326
});
@@ -377,7 +377,7 @@ it('should check default prop values', () => {
377
).toErrorDev(
378
'Warning: Failed prop type: The prop `prop` is marked as required in ' +
379
'`RequiredPropComponent`, but its value is `null`.\n' +
380
- ' in construct (at **)' // Jest/Node issue
380
+ ' in RequiredPropComponent (at **)'
381
);
382
});
383
fixtures/legacy-jsx-runtimes/yarn.lock
+3
-3
@@ -3247,9 +3247,9 @@ source-map-resolve@^0.5.0:
3247
urix "^0.1.0"
3248
3249
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==
3253
dependencies:
3254
buffer-from "^1.0.0"
3255
source-map "^0.6.0"