Skip to content

Commit 35bf689

Browse files
committed
chore: upgrade dependencies
1 parent fcca8f7 commit 35bf689

File tree

3 files changed

+67
-100
lines changed

3 files changed

+67
-100
lines changed

package-lock.json

Lines changed: 63 additions & 96 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"src"
3535
],
3636
"devDependencies": {
37-
"@types/mocha": "^9.1.0",
37+
"@types/mocha": "^10.0.1",
3838
"c8": "^7.10.0",
3939
"mocha": "^10.0.0",
40-
"rollup": "^2.78.1",
40+
"rollup": "^3.7.4",
4141
"ts-node": "^10.7.0",
4242
"typescript": "^4.6.3"
4343
}

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ const compareStrings = (a: string, b: string) => {
146146
};
147147

148148
const compareSegments = (
149-
a: string | RegExpMatchArray,
150-
b: string | RegExpMatchArray
149+
a: string | string[] | RegExpMatchArray,
150+
b: string | string[] | RegExpMatchArray
151151
) => {
152152
for (let i = 0; i < Math.max(a.length, b.length); i++) {
153153
const r = compareStrings(a[i] || '0', b[i] || '0');

0 commit comments

Comments
 (0)