Skip to content

Commit

Permalink
⬆️ Upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Jan 25, 2020
1 parent 90d9555 commit a68d94e
Show file tree
Hide file tree
Showing 8 changed files with 5,601 additions and 5,074 deletions.
2 changes: 1 addition & 1 deletion dist/bundle/wretch.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/bundle/wretch.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/wretcher.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export declare class Wretcher {
_url: string;
_options: WretcherOptions;
_catchers: Map<number | string, (error: WretcherError, originalRequest: Wretcher) => void>;
_resolvers: Array<(resolver: ResponseChain, originalRequest: Wretcher) => any>;
_resolvers: ((resolver: ResponseChain, originalRequest: Wretcher) => any)[];
_middlewares: ConfiguredMiddleware[];
_deferredChain: DeferredCallback[];
protected constructor(_url: string, _options: WretcherOptions, _catchers?: Map<number | string, (error: WretcherError, originalRequest: Wretcher) => void>, _resolvers?: Array<(resolver: ResponseChain, originalRequest: Wretcher) => any>, _middlewares?: ConfiguredMiddleware[], _deferredChain?: DeferredCallback[]);
protected constructor(_url: string, _options: WretcherOptions, _catchers?: Map<number | string, (error: WretcherError, originalRequest: Wretcher) => void>, _resolvers?: ((resolver: ResponseChain, originalRequest: Wretcher) => any)[], _middlewares?: ConfiguredMiddleware[], _deferredChain?: DeferredCallback[]);
static factory(url?: string, options?: WretcherOptions): Wretcher;
private selfFactory;
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/wretcher.js.map

Large diffs are not rendered by default.

10,634 changes: 5,580 additions & 5,054 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,29 @@
"license": "MIT",
"devDependencies": {
"@types/form-data": "^2.5.0",
"@types/jest": "^24.0.15",
"@types/node": "^12.7.11",
"abortcontroller-polyfill": "^1.3.0",
"@types/jest": "^24.9.1",
"@types/node": "^13.5.0",
"abortcontroller-polyfill": "^1.4.0",
"browserstack-runner": "^0.9.0",
"concurrently": "^4.1.2",
"conventional-changelog-cli": "^2.0.23",
"concurrently": "^5.0.2",
"conventional-changelog-cli": "^2.0.31",
"conventional-changelog-wretch": "file:scripts/conventional-changelog-wretch",
"coveralls": "^3.0.6",
"coveralls": "^3.0.9",
"dtrace-provider": "^0.8.8",
"form-data": "^3.0.0",
"jest": "^24.1.0",
"jest": "^25.1.0",
"node-fetch": "^2.6.0",
"restify": "^8.4.0",
"restify": "^8.5.1",
"restify-cors-middleware": "^1.1.1",
"rimraf": "^3.0.0",
"rollup": "^1.23.1",
"rollup": "^1.29.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"ts-jest": "^24.1.0",
"ts-jest": "^25.0.0",
"tslib": "^1.10.0",
"tslint": "^5.20.0",
"typescript": "^3.6.3"
"tslint": "^6.0.0",
"typescript": "^3.7.5"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion src/wretcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class Wretcher {
public _url: string,
public _options: WretcherOptions,
public _catchers: Map<number | string, (error: WretcherError, originalRequest: Wretcher) => void> = new Map(),
public _resolvers: Array<(resolver: ResponseChain, originalRequest: Wretcher) => any> = [],
public _resolvers: ((resolver: ResponseChain, originalRequest: Wretcher) => any)[] = [],
public _middlewares: ConfiguredMiddleware[] = [],
public _deferredChain: DeferredCallback[] = []) {}

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"declarationDir": "dist",
"noImplicitAny": false,
"sourceMap": true,
"inlineSources": true
"inlineSources": true,
"moduleResolution": "node"
},
"include": [
"src/**/*"
Expand Down

0 comments on commit a68d94e

Please sign in to comment.