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

willmendesneto / perf-marks / #521

04 Jul 2021 03:38PM UTC coverage: 90.909%. Remained the same
#521

push

web-flow
fix: upgrade tslib from 2.2.0 to 2.3.0 (#47)

Snyk has created this PR to upgrade tslib from 2.2.0 to 2.3.0.

See this package in npm:


See this project in Snyk:
https://app.snyk.io/org/willmendesneto/project/21b7a114-5d76-473a-95f8-2d56fd7a040e?utm_source=github&utm_medium=upgrade-pr

49 of 57 branches covered (85.96%)

Branch coverage included in aggregate %.

71 of 75 relevant lines covered (94.67%)

6.39 hits per line

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

75.0
/src/is-nodejs-env.ts
1
/**
2
 * Boolean with the result of the check if package
3
 * is running on the browser or in a NodeJS environment
4
 *
5
 * @returns boolean
6
 *
7
 */
8
const isNodeJSEnv = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';
3!
9

10
// Interesting fact:
11
// Some bundlers are resolving `process`, so it needs to check for process.release.name
12
// since it's a NodeJS only environment value.
13
// More details in https://nodejs.org/api/process.html#process_process_release
14
export { isNodeJSEnv };
3✔
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

© 2026 Coveralls, Inc