Skip to content

Commit

Permalink
⬆️ Update dependencies and AVA imports (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
nachogarcia authored Jan 29, 2021
1 parent 4912d4c commit 49e91e4
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,35 +39,35 @@
"dist"
],
"dependencies": {
"@types/lru-cache": "^4.1.1",
"lru-cache": "^5.1.1",
"tslib": "^1.9.0",
"util": "^0.11.1"
"@types/lru-cache": "^5.1.0",
"lru-cache": "^6.0.0",
"tslib": "^2.1.0",
"util": "^0.12.3"
},
"peerDependencies": {
"axios": "*"
},
"devDependencies": {
"@types/node": "^10.0.3",
"@types/sinon": "^4.3.1",
"ava": "^0.25.0",
"axios": "^0.18.0",
"codecov": "^3.1.0",
"husky": "^0.14.1",
"np": "^6.1.0",
"nyc": "^13.1.0",
"rollup": "^1.12.4",
"@types/node": "^14.14.22",
"@types/sinon": "^9.0.10",
"ava": "^3.15.0",
"axios": "^0.21.1",
"codecov": "^3.8.1",
"husky": "^4.3.8",
"np": "^7.2.0",
"nyc": "^15.1.0",
"rollup": "^2.37.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-resolve": "^5.0.0",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-uglify": "^6.0.2",
"sinon": "^5.0.3",
"tslint": "^5.8.0",
"tslint-eslint-rules": "^4.1.1",
"typescript": "^2.8.1"
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-uglify": "^6.0.4",
"sinon": "^9.2.3",
"tslint": "^5.20.1",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^4.1.3"
},
"ava": {
"files": "lib/**/__tests__/**/*.js"
"files": ["lib/**/__tests__/**/*.js"]
}
}
2 changes: 1 addition & 1 deletion src/__tests__/test-cacheAdapterEnhancer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @since 2017-10-16
*/

import { test } from 'ava';
import test from 'ava';
import axios, { AxiosPromise } from 'axios';
import LRUCache from 'lru-cache';
import { spy } from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/test-throttleAdapterEnhancer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @since 2017-10-16
*/

import { test } from 'ava';
import test from 'ava';
import axios from 'axios';
import LRUCache from 'lru-cache';
import { spy } from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/__tests__/test-buildSortedURL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @since 2017-10-17
*/

import { test } from 'ava';
import test from 'ava';
import buildSortedURL from '../buildSortedURL';

test('build a simple url without params', t => {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/__tests__/test-isCacheLike.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @since 2018/3/19 下午11:22
*/

import { test } from 'ava';
import test from 'ava';
import isCacheLike from '../isCacheLike';

test('a object with specified method will be regard as cache', t => {
Expand Down

0 comments on commit 49e91e4

Please sign in to comment.