-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from yola/update-dependencies
Update dependencies.
- Loading branch information
Showing
44 changed files
with
13,371 additions
and
10,437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
14.21.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
module.exports = { | ||
moduleDirectories: ['node_modules', './'], | ||
collectCoverageFrom: ['src/**/*.js', '!**/node_modules/**'], | ||
testEnvironment: 'jsdom', | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import browserTypes from '../constants/browser-types' | ||
import browserTypes from '../constants/browser-types'; | ||
|
||
const isChrome = (parser) => { | ||
const browserType = parser.getBrowserName(); | ||
return browserType === browserTypes.CHROME; | ||
} | ||
}; | ||
|
||
export default isChrome; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import browserTypes from '../constants/browser-types' | ||
import browserTypes from '../constants/browser-types'; | ||
|
||
const isChromium = (parser) => { | ||
const browserType = parser.getBrowserName(); | ||
return browserType === browserTypes.CHROMIUM; | ||
} | ||
}; | ||
|
||
export default isChromium; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import browserTypes from '../constants/browser-types' | ||
import browserTypes from '../constants/browser-types'; | ||
|
||
const isEdge = (parser) => { | ||
const browserType = parser.getBrowserName(); | ||
return browserType === browserTypes.EDGE; | ||
} | ||
}; | ||
|
||
export default isEdge; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import browserTypes from '../constants/browser-types' | ||
import browserTypes from '../constants/browser-types'; | ||
|
||
const isFirefox = (parser) => { | ||
const browserType = parser.getBrowserName(); | ||
return browserType === browserTypes.FIREFOX; | ||
} | ||
}; | ||
|
||
export default isFirefox; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import browserTypes from '../constants/browser-types' | ||
import browserTypes from '../constants/browser-types'; | ||
|
||
const isIE = (parser) => { | ||
const browserType = parser.getBrowserName(); | ||
return browserType === browserTypes.IE; | ||
} | ||
}; | ||
|
||
export default isIE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import browserTypes from '../constants/browser-types' | ||
import browserTypes from '../constants/browser-types'; | ||
|
||
const isOpera = (parser) => { | ||
const browserType = parser.getBrowserName(); | ||
return browserType === browserTypes.OPERA; | ||
} | ||
}; | ||
|
||
export default isOpera; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import browserTypes from '../constants/browser-types' | ||
import browserTypes from '../constants/browser-types'; | ||
|
||
const isSafari = (parser) => { | ||
const browserType = parser.getBrowserName(); | ||
return browserType === browserTypes.SAFARI; | ||
} | ||
}; | ||
|
||
export default isSafari; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
export default { | ||
MOBILE: 'mobile', | ||
TABLET: 'tablet', | ||
DESKTOP: 'desktop' | ||
DESKTOP: 'desktop', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import getVersion from './get-version'; | ||
import isSatisfied from './is-satisfied' | ||
import isSatisfied from './is-satisfied'; | ||
|
||
export default { | ||
getVersion, | ||
isSatisfied | ||
} | ||
isSatisfied, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,5 @@ export default { | |
isLinux, | ||
isMacOS, | ||
isWindows, | ||
isChromeOS | ||
isChromeOS, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import osTypes from '../constants/os-types' | ||
import osTypes from '../constants/os-types'; | ||
|
||
const isAndroid = (parser) => { | ||
const osType = parser.getOSName(); | ||
return osType === osTypes.ANDROID; | ||
} | ||
}; | ||
|
||
export default isAndroid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import osTypes from '../constants/os-types' | ||
import osTypes from '../constants/os-types'; | ||
|
||
const isIOS = (parser) => { | ||
const osType = parser.getOSName(); | ||
return osType === osTypes.IOS; | ||
} | ||
}; | ||
|
||
export default isIOS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.