Skip to content

Commit c49be51

Browse files
updated: dependencies and fixed npm audit
1 parent 7abbf46 commit c49be51

File tree

6 files changed

+1340
-201
lines changed

6 files changed

+1340
-201
lines changed

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ branches:
66
only:
77
- master
88

9-
before_install:
10-
11-
12-
- npm i @gianlucaguarini/[email protected]
13-
14-
159
before_script:
1610
- npm run build
1711

index.next.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ export default function domToArray(els) {
88
if (!Array.isArray(els)) {
99
// is it a node list?
1010
if (
11-
/^\[object (HTMLCollection|NodeList|Object)\]$/
12-
.test(Object.prototype.toString.call(els))
11+
/^\[object (HTMLCollection|NodeList|Object)\]$/
12+
.test(Object.prototype.toString.call(els))
1313
&& typeof els.length === 'number'
14-
)
14+
)
1515
return Array.from(els)
1616
else
1717
// if it's a single node

0 commit comments

Comments
 (0)