Skip to content

Commit ce0fe2c

Browse files
committed
FRIDGE-948 Fixed axios.create is not a function when initializing a Worker (#405)
1 parent ab4fd6f commit ce0fe2c

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2.0.2
2+
==========
3+
Bug Fixes
4+
----------
5+
- Fixed `axios.create is not a function` when initializing a Worker
6+
17
2.0.1
28
==========
39
New Features

lib/util/Request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import _ from 'lodash';
2-
import * as axios from 'axios';
2+
import axios from 'axios';
33
import * as https from 'https';
44
import Configuration from './Configuration';
55
import Logger from './Logger';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"url": "https://github.com/twilio/twilio-taskrouter.js.git"
5656
},
5757
"dependencies": {
58-
"axios": "^1.6.0",
58+
"axios": "^1.6.7",
5959
"events": "3.3.0",
6060
"jwt-decode": "^3.1.2",
6161
"lodash": "^4.17.21",

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,12 +1848,12 @@ axios@^0.26.1:
18481848
dependencies:
18491849
follow-redirects "^1.14.8"
18501850

1851-
axios@^1.6.0:
1852-
version "1.6.0"
1853-
resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.0.tgz#f1e5292f26b2fd5c2e66876adc5b06cdbd7d2102"
1854-
integrity sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==
1851+
axios@^1.6.7:
1852+
version "1.6.7"
1853+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.7.tgz#7b48c2e27c96f9c68a2f8f31e2ab19f59b06b0a7"
1854+
integrity sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==
18551855
dependencies:
1856-
follow-redirects "^1.15.0"
1856+
follow-redirects "^1.15.4"
18571857
form-data "^4.0.0"
18581858
proxy-from-env "^1.1.0"
18591859

@@ -2948,10 +2948,10 @@ follow-redirects@^1.14.8:
29482948
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
29492949
integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==
29502950

2951-
follow-redirects@^1.15.0:
2952-
version "1.15.3"
2953-
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a"
2954-
integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==
2951+
follow-redirects@^1.15.4:
2952+
version "1.15.5"
2953+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.5.tgz#54d4d6d062c0fa7d9d17feb008461550e3ba8020"
2954+
integrity sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==
29552955

29562956
for-each@^0.3.3:
29572957
version "0.3.3"

0 commit comments

Comments
 (0)