• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spautz / react-hibernate / 10893842371

16 Sep 2024 11:48PM CUT coverage: 90.476% (-0.7%) from 91.176%
10893842371

push

github

web-flow
build(deps): bump express from 4.19.2 to 4.21.0 (#65)

Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steven Pautz <spautz@gmail.com>

21 of 23 branches covered (91.3%)

Branch coverage included in aggregate %.

74 of 82 relevant lines covered (90.24%)

14.07 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/packages/react-pauseable-containers/src/PauseableComponentContainer.tsx
1
import PropTypes from 'prop-types';
1✔
2
import React, { ReactNode } from 'react';
1✔
3

4
import { PauseableContainerProps } from './types';
5

6
// This is based on https://github.com/reactjs/react-static-container/ -- but with types
7
class PauseableComponentContainer extends React.Component<PauseableContainerProps> {
8
  static propTypes = {
1✔
9
    children: PropTypes.node.isRequired,
10
    shouldUpdate: PropTypes.bool.isRequired,
11
  };
12

13
  shouldComponentUpdate(nextProps: PauseableContainerProps): boolean {
14
    return nextProps.shouldUpdate;
2✔
15
  }
16

17
  render(): ReactNode {
18
    return this.props.children;
3✔
19
  }
20
}
21

22
export { PauseableComponentContainer };
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc