deps: update (#459)
This commit is contained in:
parent
d183b58fee
commit
a5336818df
4 changed files with 2415 additions and 1714 deletions
|
@ -1,13 +1,13 @@
|
|||
import getOS from '../src/get-os';
|
||||
|
||||
describe('getOS', () => {
|
||||
test('test', () => {
|
||||
test('os type', () => {
|
||||
expect(getOS('linux')).toBe('Linux');
|
||||
expect(getOS('darwin')).toBe('macOS');
|
||||
expect(getOS('win32')).toBe('Windows');
|
||||
});
|
||||
|
||||
test('test exception', () => {
|
||||
test('exception', () => {
|
||||
expect(() => {
|
||||
getOS('centos');
|
||||
}).toThrowError('centos is not supported');
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import getURL from '../src/get-url';
|
||||
|
||||
describe('getURL()', () => {
|
||||
test('test', () => {
|
||||
test('get a URL to an asset for each platform', () => {
|
||||
const baseURL = 'https://github.com/gohugoio/hugo/releases/download/v0.58.2';
|
||||
const urlLinux = `${baseURL}/hugo_0.58.2_Linux-64bit.tar.gz`;
|
||||
const urlLinuxExtended = `${baseURL}/hugo_extended_0.58.2_Linux-64bit.tar.gz`;
|
||||
|
|
4119
package-lock.json
generated
4119
package-lock.json
generated
File diff suppressed because it is too large
Load diff
14
package.json
14
package.json
|
@ -64,19 +64,19 @@
|
|||
"@types/jest": "^26.0.14",
|
||||
"@types/node": "~12",
|
||||
"@types/node-fetch": "^2.5.7",
|
||||
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
||||
"@typescript-eslint/parser": "^2.34.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.4.0",
|
||||
"@typescript-eslint/parser": "^4.4.0",
|
||||
"@vercel/ncc": "^0.24.1",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-plugin-jest": "^23.20.0",
|
||||
"eslint": "^7.11.0",
|
||||
"eslint-plugin-jest": "^24.1.0",
|
||||
"husky": "^4.3.0",
|
||||
"jest": "^25.5.4",
|
||||
"jest": "^26.5.3",
|
||||
"jest-circus": "^26.5.3",
|
||||
"lint-staged": "^10.4.0",
|
||||
"nock": "^13.0.4",
|
||||
"prettier": "2.1.2",
|
||||
"standard-version": "^9.0.0",
|
||||
"ts-jest": "^25.5.1",
|
||||
"typescript": "^3.9.7"
|
||||
"ts-jest": "^26.4.1",
|
||||
"typescript": "^4.0.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue