File tree Expand file tree Collapse file tree 5 files changed +24
-24
lines changed Expand file tree Collapse file tree 5 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 3939 " dist"
4040 ],
4141 "dependencies" : {
42- "@types/lru-cache" : " ^4 .1.1 " ,
43- "lru-cache" : " ^5.1.1 " ,
44- "tslib" : " ^1.9 .0" ,
45- "util" : " ^0.11.1 "
42+ "@types/lru-cache" : " ^5 .1.0 " ,
43+ "lru-cache" : " ^6.0.0 " ,
44+ "tslib" : " ^2.1 .0" ,
45+ "util" : " ^0.12.3 "
4646 },
4747 "peerDependencies" : {
4848 "axios" : " *"
4949 },
5050 "devDependencies" : {
51- "@types/node" : " ^10.0.3 " ,
52- "@types/sinon" : " ^4.3.1 " ,
53- "ava" : " ^0.25 .0" ,
54- "axios" : " ^0.18.0 " ,
55- "codecov" : " ^3.1.0 " ,
56- "husky" : " ^0.14.1 " ,
57- "np" : " ^6.1 .0" ,
58- "nyc" : " ^13 .1.0" ,
59- "rollup" : " ^1.12.4 " ,
51+ "@types/node" : " ^14.14.22 " ,
52+ "@types/sinon" : " ^9.0.10 " ,
53+ "ava" : " ^3.15 .0" ,
54+ "axios" : " ^0.21.1 " ,
55+ "codecov" : " ^3.8.1 " ,
56+ "husky" : " ^4.3.8 " ,
57+ "np" : " ^7.2 .0" ,
58+ "nyc" : " ^15 .1.0" ,
59+ "rollup" : " ^2.37.1 " ,
6060 "rollup-plugin-commonjs" : " ^10.0.0" ,
6161 "rollup-plugin-node-builtins" : " ^2.1.2" ,
6262 "rollup-plugin-node-resolve" : " ^5.0.0" ,
63- "rollup-plugin-terser" : " ^6.1.0 " ,
64- "rollup-plugin-uglify" : " ^6.0.2 " ,
65- "sinon" : " ^5.0 .3" ,
66- "tslint" : " ^5.8.0 " ,
67- "tslint-eslint-rules" : " ^4.1.1 " ,
68- "typescript" : " ^2.8.1 "
63+ "rollup-plugin-terser" : " ^7.0.2 " ,
64+ "rollup-plugin-uglify" : " ^6.0.4 " ,
65+ "sinon" : " ^9.2 .3" ,
66+ "tslint" : " ^5.20.1 " ,
67+ "tslint-eslint-rules" : " ^5.4.0 " ,
68+ "typescript" : " ^4.1.3 "
6969 },
7070 "ava" : {
71- "files" : " lib/**/__tests__/**/*.js"
71+ "files" : [ " lib/**/__tests__/**/*.js" ]
7272 }
7373}
Original file line number Diff line number Diff line change 44 * @since 2017-10-16
55 */
66
7- import { test } from 'ava' ;
7+ import test from 'ava' ;
88import axios , { AxiosPromise } from 'axios' ;
99import LRUCache from 'lru-cache' ;
1010import { spy } from 'sinon' ;
Original file line number Diff line number Diff line change 44 * @since 2017-10-16
55 */
66
7- import { test } from 'ava' ;
7+ import test from 'ava' ;
88import axios from 'axios' ;
99import LRUCache from 'lru-cache' ;
1010import { spy } from 'sinon' ;
Original file line number Diff line number Diff line change 44 * @since 2017-10-17
55 */
66
7- import { test } from 'ava' ;
7+ import test from 'ava' ;
88import buildSortedURL from '../buildSortedURL' ;
99
1010test ( 'build a simple url without params' , t => {
Original file line number Diff line number Diff line change 44 * @since 2018/3/19 下午11:22
55 */
66
7- import { test } from 'ava' ;
7+ import test from 'ava' ;
88import isCacheLike from '../isCacheLike' ;
99
1010test ( 'a object with specified method will be regard as cache' , t => {
You can’t perform that action at this time.
0 commit comments