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

microsoft / botbuilder-js / 5623363648

pending completion
5623363648

push

github

web-flow
chore(deps): bump word-wrap (#4507)

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

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

9840 of 12825 branches covered (76.73%)

Branch coverage included in aggregate %.

20125 of 22483 relevant lines covered (89.51%)

7228.0 hits per line

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

16.67
/libraries/adaptive-expressions/src/parser/util.ts
1
/* eslint-disable security/detect-non-literal-regexp */
2
/**
3
 * @module adaptive-expressions
4
 */
5
/**
6
 * Copyright (c) Microsoft Corporation. All rights reserved.
7
 * Licensed under the MIT License.
8
 */
9
/**
10
 * util class
11
 */
12
export class Util {
2✔
13
    /**
14
     * trim char.
15
     *
16
     * @param str input string.
17
     * @param char trim character.
18
     * @returns The trimmed char.
19
     */
20
    static trim(str: string, char: string): string {
21
        if (char !== undefined) {
×
22
            return str.replace(new RegExp(''.concat('^\\', char, '+|\\', char, '+$'), 'g'), '');
×
23
        }
24

25
        return str.trim();
×
26
    }
27
}
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