Skip to content

Commit 92a2275

Browse files
authored
fix(dependencies): update dependencies (#180)
1 parent e8ebba2 commit 92a2275

File tree

8 files changed

+13980
-9361
lines changed

8 files changed

+13980
-9361
lines changed

.huskyrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "npm run lint",
4+
"commit-msg": "npm run commitmsg",
5+
"pre-push": "npm run test"
6+
}
7+
}

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12.14.1

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ language: node_js
22
cache:
33
directories:
44
- ~/.npm
5-
notifications:
6-
email: true
7-
node_js:
8-
- '8'
9-
install: npm install
105
before_install:
11-
- npm install -g npm@5
126
- npm install -g greenkeeper-lockfile@1
137
jobs:
148
include:

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
[![Greenkeeper badge](https://badges.greenkeeper.io/jaebradley/github-languages-client.svg)](https://greenkeeper.io/)
44
[![Build Status](https://travis-ci.org/jaebradley/github-languages-client.svg?branch=master)](https://travis-ci.org/jaebradley/github-languages-client)
5-
[![Codecov](https://img.shields.io/codecov/c/github/jaebradley/github-languages-client.svg)](https://codecov.io/gh/jaebradley/github-languages-client)
6-
[![npm](https://img.shields.io/npm/dt/github-languages-client.svg)](github-https://www.npmjs.com/package/github-languages-client-client)
5+
[![codecov](https://codecov.io/gh/jaebradley/github-languages-client/branch/master/graph/badge.svg)](https://codecov.io/gh/jaebradley/github-languages-client)
76
[![npm](https://img.shields.io/npm/v/github-languages-client.svg)](https://www.npmjs.com/package/github-languages-client)
7+
![npm bundle size](https://img.shields.io/bundlephobia/minzip/github-languages-client)
8+
[![npm-total-downloads](https://img.shields.io/npm/dt/github-languages-client.svg)](https://www.npmjs.com/package/github-languages-client)
9+
![GitHub](https://img.shields.io/github/license/jaebradley/github-languages-client)
810

911
A `NodeJS` client to get languages GitHub knows about for [`Advanced Search`](https://github.com/search/advanced), for example.
1012

jest.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
testEnvironment: 'node',
3+
testPathIgnorePatterns: [
4+
'<rootDir>/build/',
5+
'<rootDir>/node_modules/',
6+
],
7+
collectCoverage: true,
8+
};

package-lock.json

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

package.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,16 @@
1212
],
1313
"global": false,
1414
"scripts": {
15-
"build": "BABEL_ENV=production rollup -c",
16-
"codecov": "codecov",
17-
"commitmsg": "commitlint -e $GIT_PARAMS",
18-
"is-es5": "es-check es5 build/**/index.cjs.js build/**/index.js",
19-
"lint": "eslint --ext .js .",
20-
"test": "BABEL_ENV=test jest src/ --coverage --no-cache",
15+
"build": "BABEL_ENV=production npx rollup -c",
16+
"codecov": "npx codecov",
17+
"commitmsg": "npx commitlint -e $GIT_PARAMS",
18+
"is-es5": "npx es-check es5 build/**/index.cjs.js build/**/index.js",
19+
"lint": "npx eslint --ext .js .",
20+
"test": "BABEL_ENV=test npx jest src/ --no-cache",
2121
"prepare": "npm run build",
22-
"gc": "commit",
23-
"semantic-release": "semantic-release",
24-
"travis-deploy-once": "travis-deploy-once"
25-
},
26-
"jest": {
27-
"testEnvironment": "node"
22+
"gc": "npx commit",
23+
"semantic-release": "npx semantic-release",
24+
"travis-deploy-once": "npx travis-deploy-once"
2825
},
2926
"keywords": [
3027
"github",
@@ -43,33 +40,36 @@
4340
},
4441
"homepage": "https://github.com/jaebradley/github-languages-client/#readme",
4542
"devDependencies": {
46-
"@babel/cli": "^7.0.0-beta.44",
47-
"@babel/core": "^7.0.0-beta.44",
48-
"@babel/preset-env": "^7.0.0-beta.44",
49-
"@commitlint/cli": "^7.0.0",
50-
"@commitlint/config-angular": "^7.0.1",
51-
"@commitlint/prompt": "^7.0.0",
52-
"@commitlint/prompt-cli": "^7.0.0",
43+
"@babel/cli": "^7.8.4",
44+
"@babel/core": "^7.8.4",
45+
"@babel/preset-env": "^7.8.4",
46+
"@commitlint/cli": "^8.3.5",
47+
"@commitlint/config-angular": "^8.3.4",
48+
"@commitlint/prompt": "^8.3.5",
49+
"@commitlint/prompt-cli": "^8.3.5",
50+
"@rollup/plugin-commonjs": "^11.0.2",
51+
"@rollup/plugin-json": "^4.0.2",
52+
"@rollup/plugin-node-resolve": "^7.1.1",
5353
"babel-core": "^7.0.0-bridge.0",
54-
"codecov": "^3.0.2",
55-
"es-check": "^3.0.0",
56-
"eslint": "^5.0.0",
57-
"eslint-config-airbnb-base": "^13.0.0",
58-
"eslint-plugin-import": "^2.12.0",
59-
"husky": "^1.0.0",
60-
"jest": "^22.4.3",
61-
"rollup": "^0.66.0",
62-
"rollup-plugin-babel": "^4.0.0-beta.4",
63-
"rollup-plugin-babel-minify": "^6.0.0",
64-
"rollup-plugin-commonjs": "^9.1.0",
65-
"rollup-plugin-filesize": "^2.0.0",
66-
"rollup-plugin-json": "^3.0.0",
54+
"bufferutil": "^4.0.1",
55+
"canvas": "^2.6.1",
56+
"codecov": "^3.6.5",
57+
"es-check": "^5.1.0",
58+
"eslint": "^6.8.0",
59+
"eslint-config-airbnb-base": "^14.0.0",
60+
"eslint-plugin-import": "^2.20.1",
61+
"husky": "^4.2.3",
62+
"jest": "^25.1.0",
63+
"rollup": "^1.31.1",
64+
"rollup-plugin-babel": "^4.3.3",
65+
"rollup-plugin-babel-minify": "^9.1.1",
66+
"rollup-plugin-filesize": "^6.2.1",
6767
"rollup-plugin-local-resolve": "^1.0.7",
68-
"rollup-plugin-node-resolve": "^3.3.0",
69-
"semantic-release": "^15.1.5",
70-
"travis-deploy-once": "^5.0.0"
68+
"semantic-release": "^17.0.3",
69+
"travis-deploy-once": "^5.0.11",
70+
"utf-8-validate": "^5.0.2"
7171
},
7272
"dependencies": {
73-
"fuse.js": "^3.2.0"
73+
"fuse.js": "^3.4.6"
7474
}
7575
}

rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import babel from 'rollup-plugin-babel';
2-
import commonjs from 'rollup-plugin-commonjs';
3-
import resolve from 'rollup-plugin-node-resolve';
2+
import commonjs from '@rollup/plugin-commonjs';
3+
import resolve from '@rollup/plugin-node-resolve';
44
import localResolve from 'rollup-plugin-local-resolve';
55
import filesize from 'rollup-plugin-filesize';
66
import minify from 'rollup-plugin-babel-minify';
7-
import json from 'rollup-plugin-json';
7+
import json from '@rollup/plugin-json';
88

99
import pkg from './package.json';
1010

0 commit comments

Comments
 (0)