airslate-navigation 0.0.1-security → 99.99.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of airslate-navigation might be problematic. Click here for more details.

Files changed (107) hide show
  1. package/README.md +3 -3
  2. package/config/dev.env.js +37 -0
  3. package/config/hap.amend.js +29 -0
  4. package/config/index.js +8 -0
  5. package/config/prod.env.js +28 -0
  6. package/index.d.ts +130 -0
  7. package/index.js +1 -0
  8. package/package.json +44 -3
  9. package/src/index.html +12 -0
  10. package/src/lib/app.js +103 -0
  11. package/src/lib/axios/CHANGELOG.md +245 -0
  12. package/src/lib/axios/LICENSE +19 -0
  13. package/src/lib/axios/README.md +625 -0
  14. package/src/lib/axios/UPGRADE_GUIDE.md +162 -0
  15. package/src/lib/axios/dist/axios.js +1603 -0
  16. package/src/lib/axios/dist/axios.map +1 -0
  17. package/src/lib/axios/dist/axios.min.js +9 -0
  18. package/src/lib/axios/dist/axios.min.map +1 -0
  19. package/src/lib/axios/index.d.ts +131 -0
  20. package/src/lib/axios/index.js +1 -0
  21. package/src/lib/axios/lib/adapters/README.md +37 -0
  22. package/src/lib/axios/lib/adapters/http.js +237 -0
  23. package/src/lib/axios/lib/adapters/xhr.js +180 -0
  24. package/src/lib/axios/lib/axios.js +52 -0
  25. package/src/lib/axios/lib/cancel/Cancel.js +19 -0
  26. package/src/lib/axios/lib/cancel/CancelToken.js +57 -0
  27. package/src/lib/axios/lib/cancel/isCancel.js +5 -0
  28. package/src/lib/axios/lib/core/Axios.js +79 -0
  29. package/src/lib/axios/lib/core/InterceptorManager.js +52 -0
  30. package/src/lib/axios/lib/core/README.md +7 -0
  31. package/src/lib/axios/lib/core/createError.js +18 -0
  32. package/src/lib/axios/lib/core/dispatchRequest.js +86 -0
  33. package/src/lib/axios/lib/core/enhanceError.js +21 -0
  34. package/src/lib/axios/lib/core/settle.js +26 -0
  35. package/src/lib/axios/lib/core/transformData.js +20 -0
  36. package/src/lib/axios/lib/defaults.js +96 -0
  37. package/src/lib/axios/lib/helpers/README.md +7 -0
  38. package/src/lib/axios/lib/helpers/bind.js +11 -0
  39. package/src/lib/axios/lib/helpers/btoa.js +36 -0
  40. package/src/lib/axios/lib/helpers/buildURL.js +66 -0
  41. package/src/lib/axios/lib/helpers/combineURLs.js +14 -0
  42. package/src/lib/axios/lib/helpers/cookies.js +53 -0
  43. package/src/lib/axios/lib/helpers/deprecatedMethod.js +24 -0
  44. package/src/lib/axios/lib/helpers/isAbsoluteURL.js +14 -0
  45. package/src/lib/axios/lib/helpers/isURLSameOrigin.js +68 -0
  46. package/src/lib/axios/lib/helpers/normalizeHeaderName.js +12 -0
  47. package/src/lib/axios/lib/helpers/parseHeaders.js +53 -0
  48. package/src/lib/axios/lib/helpers/spread.js +27 -0
  49. package/src/lib/axios/lib/utils.js +303 -0
  50. package/src/lib/axios/modules/debug/CHANGELOG.md +395 -0
  51. package/src/lib/axios/modules/debug/LICENSE +19 -0
  52. package/src/lib/axios/modules/debug/README.md +437 -0
  53. package/src/lib/axios/modules/debug/dist/debug.js +886 -0
  54. package/src/lib/axios/modules/debug/node.js +1 -0
  55. package/src/lib/axios/modules/debug/package.json +96 -0
  56. package/src/lib/axios/modules/debug/src/browser.js +180 -0
  57. package/src/lib/axios/modules/debug/src/common.js +249 -0
  58. package/src/lib/axios/modules/debug/src/index.js +12 -0
  59. package/src/lib/axios/modules/debug/src/node.js +174 -0
  60. package/src/lib/axios/modules/follow-redirects/LICENSE +18 -0
  61. package/src/lib/axios/modules/follow-redirects/README.md +145 -0
  62. package/src/lib/axios/modules/follow-redirects/http.js +1 -0
  63. package/src/lib/axios/modules/follow-redirects/https.js +1 -0
  64. package/src/lib/axios/modules/follow-redirects/index.js +452 -0
  65. package/src/lib/axios/modules/follow-redirects/package.json +92 -0
  66. package/src/lib/axios/modules/is-buffer/LICENSE +21 -0
  67. package/src/lib/axios/modules/is-buffer/README.md +53 -0
  68. package/src/lib/axios/modules/is-buffer/index.js +21 -0
  69. package/src/lib/axios/modules/is-buffer/package.json +90 -0
  70. package/src/lib/axios/modules/is-buffer/test/basic.js +24 -0
  71. package/src/lib/axios/modules/ms/index.js +162 -0
  72. package/src/lib/axios/modules/ms/license.md +21 -0
  73. package/src/lib/axios/modules/ms/package.json +72 -0
  74. package/src/lib/axios/modules/ms/readme.md +60 -0
  75. package/src/lib/axios/package-lock.json +10437 -0
  76. package/src/lib/axios/package.json +111 -0
  77. package/src/lib/axios.min.js +10 -0
  78. package/src/lib/axiosRequest.js +84 -0
  79. package/src/lib/bmob.js +36 -0
  80. package/src/lib/common.js +227 -0
  81. package/src/lib/config.dev.js +62 -0
  82. package/src/lib/config.js +69 -0
  83. package/src/lib/dataType.js +17 -0
  84. package/src/lib/error.js +32 -0
  85. package/src/lib/file.js +250 -0
  86. package/src/lib/hapRequest.js +68 -0
  87. package/src/lib/hapStorage.js +62 -0
  88. package/src/lib/init.js +0 -0
  89. package/src/lib/nodestorage.js +14 -0
  90. package/src/lib/pay.js +19 -0
  91. package/src/lib/pointer.js +18 -0
  92. package/src/lib/query.js +689 -0
  93. package/src/lib/relation.js +45 -0
  94. package/src/lib/request.js +21 -0
  95. package/src/lib/sms.js +40 -0
  96. package/src/lib/socket.js +292 -0
  97. package/src/lib/storage.js +21 -0
  98. package/src/lib/user.js +225 -0
  99. package/src/lib/utf8md5.js +205 -0
  100. package/src/lib/utils.js +61 -0
  101. package/src/lib/webstorage.js +32 -0
  102. package/src/lib/wxRequest.js +88 -0
  103. package/src/lib/wxstorage.js +27 -0
  104. package/src/main.js +27 -0
  105. package/test/index.html +15 -0
  106. package/test/index.js +12 -0
  107. package/tsconfig.json +100 -0
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # Security holding package
1
+ # bmob-js-sdk-es6
2
2
 
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
3
+ ### SDK介绍
4
4
 
5
- Please refer to www.npmjs.com/advisories?search=airslate-navigation for more information.
5
+ 本SDK基于es6开发,致力打造基于前端混合开发需求,支持微信小程序、抖音小程序、H5、快应用、游戏Cocos、混合App等平台, 整个SDK,就dist目录下Bmob.*.js 这个文件即可使用全部功能,请使用最新版本。
@@ -0,0 +1,37 @@
1
+ const HtmlWebpackPlugin = require('html-webpack-plugin');
2
+ const CleanWebpackPlugin = require('clean-webpack-plugin');
3
+ const config = require('./index.js')
4
+ const packageInfo = require('../package.json');
5
+
6
+ module.exports = {
7
+ context: config.rootPath,
8
+ devtool: 'eval-source-map',
9
+ entry: './src/main.js',
10
+ output: {
11
+ path: config.staticPath,
12
+ filename: 'Bmob-' + packageInfo.version + '.min.js',
13
+ library: 'Bmob',
14
+ libraryTarget: "umd"
15
+ },
16
+ module: {
17
+ rules: [
18
+ {
19
+ test: /\.js$/,
20
+ exclude: /node_modules/,
21
+ loader: "eslint-loader",
22
+ options: {}
23
+ }
24
+ ]
25
+ },
26
+ plugins: [
27
+ new CleanWebpackPlugin(['dist']),
28
+ new HtmlWebpackPlugin({filename: 'index.html', template: 'src/index.html'})
29
+ ],
30
+ devServer: {
31
+ contentBase: config.staticPath,
32
+ compress: true,
33
+ open: true,
34
+ port: 9000,
35
+ overlay: true
36
+ }
37
+ }
@@ -0,0 +1,29 @@
1
+ const packageInfo = require('../package.json')
2
+ const fs = require('fs')
3
+ const path = require('path')
4
+
5
+ const BmobFile = path.join(__dirname, '../dist/Bmob-' + packageInfo.version + '.min.js')
6
+
7
+ function HapAmendAsyncPlugin(options) {}
8
+
9
+ HapAmendAsyncPlugin.prototype.apply = function (compiler) {
10
+ compiler.plugin("done", function () {
11
+ // Do something async...
12
+ fs.readFile(BmobFile, 'utf-8', function (error, result) {
13
+ const time = new Date().toLocaleDateString()
14
+ const auth = `
15
+ /* !
16
+ * hydrogen-js-sdk
17
+ * Bmob.min.js v${packageInfo.version}
18
+ * updated date ${time}
19
+ */
20
+ `
21
+ const data = auth + result.replace("xxrequire('@system.fetch')xx", "require('@system.fetch')")
22
+
23
+ fs.writeFile(BmobFile, data, function (error) {
24
+ console.log('Bmob-' + packageInfo.version + '.min.js Compile successfully')
25
+ })
26
+ })
27
+ });
28
+ };
29
+ module.exports = HapAmendAsyncPlugin;
@@ -0,0 +1,8 @@
1
+ var path = require('path');
2
+
3
+ module.exports = {
4
+ staticPath: path.resolve(__dirname, '..', 'dist'),
5
+ rootPath: path.resolve(__dirname, '..'),
6
+ srcPath: path.resolve(__dirname, '..', 'src'),
7
+ appPath: path.resolve(__dirname, '../src', 'lib')
8
+ };
@@ -0,0 +1,28 @@
1
+ const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
2
+ const CleanWebpackPlugin = require('clean-webpack-plugin')
3
+ const HapAmendAsyncPlugin = require('./hap.amend')
4
+ const config = require('./index.js')
5
+ const packageInfo = require('../package.json')
6
+
7
+ module.exports = {
8
+ context: config.rootPath,
9
+ entry: './src/lib/app.js',
10
+ output: {
11
+ path: config.staticPath,
12
+ filename: 'Bmob-' + packageInfo.version + '.min.js',
13
+ library: 'Bmob',
14
+ libraryTarget: 'umd'
15
+ },
16
+ module: {
17
+ rules: [{
18
+ test: /\.js$/,
19
+ use: 'babel-loader',
20
+ exclude: /node_modules/
21
+ }]
22
+ },
23
+ plugins: [
24
+ new HapAmendAsyncPlugin(),
25
+ new CleanWebpackPlugin(['dist']),
26
+ new UglifyJsPlugin()
27
+ ]
28
+ }
package/index.d.ts ADDED
@@ -0,0 +1,130 @@
1
+ export interface BmobPromise<T = any> extends Promise<BmobPromise<T>> {
2
+ }
3
+
4
+ export interface queryData {
5
+ (key: string, operator: string, val: any): object
6
+ }
7
+
8
+ export class Query {
9
+ new(params: string): void;
10
+ get: (objectId: string) => BmobPromise;
11
+ set: (filedName: string, filedValue: string) => BmobPromise;
12
+ destroy: (objectId: string) => BmobPromise;
13
+ save: (parmas?: object) => BmobPromise;
14
+ find: () => BmobPromise;
15
+ current: () => BmobPromise;
16
+ add: (key: string, val: string[]) => void;
17
+ addUnique: () => (key: string, val: string[]) => void;
18
+ remove: (key: string, val: string[]) => void;
19
+ equalTo: (key: string, operator: string, val: any) => object
20
+ or: (...args: object[]) => void;
21
+ and: (...args: object[]) => void;
22
+ select: (...args: string[]) => void;
23
+ containedIn: (key: string, val: string[]) => queryData;
24
+ notContainedIn: (key: string, val: string[]) => queryData;
25
+ exists: (key: string) => queryData;
26
+ doesNotExist: (key: string) => queryData;
27
+ limit: (params: number) => void;
28
+ skip: (params: number) => void;
29
+ order: (...args: string[]) => void;
30
+ include: (...args: string[]) => void;
31
+ count: (limit?: number) => BmobPromise;
32
+ statTo: (key: string, val: any) => object;
33
+ saveAll: (items: any[]) => BmobPromise;
34
+ updateStorage: (objectId: string) => BmobPromise;
35
+ field: (key: string, objectId: string) => object;
36
+ withinKilometers: (field: string, coordinates: string, km?: number) => object
37
+ withinGeoBox: (field: string, coordinates: string, s?: number) => object
38
+ relation: (tableName: string) => BmobPromise
39
+ }
40
+
41
+ export class User extends Query {
42
+ new(): void;
43
+ login: (username: string, password: string) => BmobPromise;
44
+ register: (params: object) => BmobPromise;
45
+ signOrLoginByMobilePhone: (phone: number, smsCode: number) => BmobPromise;
46
+ logout: () => void;
47
+ users: () => BmobPromise;
48
+ decryption: (params: object) => BmobPromise
49
+ requestOpenId: (code: any, params?: string) => BmobPromise
50
+ requestEmailVerify: (email: string) => BmobPromise
51
+ linkWith: (params: any) => BmobPromise
52
+ loginWithWeapp: (code: any, str: string, params?: string) => BmobPromise
53
+ upInfo: (params: object) => BmobPromise
54
+ openId: () => void;
55
+ auth: (params?: string) => BmobPromise
56
+ }
57
+
58
+ export interface operation {
59
+ (parmas: string, op: string): object
60
+ }
61
+
62
+ export class Relation {
63
+ new(tableName: string): void;
64
+ add: (parmas: string) => operation
65
+ }
66
+
67
+ export class Pointer {
68
+ new(tableName: string): void;
69
+ set: (objectId: string) => object
70
+ }
71
+
72
+ export interface functions {
73
+ (funName: string, parmas?: object): BmobPromise
74
+ }
75
+
76
+ export class Pay {
77
+ new(price: string, productName: string, body: any): BmobPromise
78
+ }
79
+
80
+ export class Socket {
81
+ new(id: string): void;
82
+ updateTable: (tableName: string) => void
83
+ unsubUpdateTable: (tableName: string) => void
84
+ updateRow: (tableName: string, objectId: string) => void
85
+ unsubUpdateRow: (tableName: string, objectId: string) => void
86
+ deleteTable: (tableName: string) => void
87
+ unsubDeleteTable: (tableName: string) => void
88
+ deleteRow: (tableName: string, objectId: string) => void
89
+ unsubDeleteRow: (tableName: string, objectId: string) => void
90
+ onUpdateTable: (tableName: string, data: any) => any
91
+ onUpdateRow: (tableName: string, objectId: string, data: any) => any
92
+ }
93
+
94
+ export class File {
95
+ new(name: string, params: any): void;
96
+ save: () => BmobPromise;
97
+ destroy: (params: string) => BmobPromise;
98
+ }
99
+
100
+
101
+ export interface Bmob {
102
+ initialize: (secretKey: string, securityCode: string, masterKey?: string) => void;
103
+ User: User;
104
+ Query: (params: string) => Query;
105
+ push: (params: object) => BmobPromise;
106
+ Pointer: (parmas: string) => Pointer;
107
+ Relation: (parmas: string) => Relation;
108
+ requestPasswordReset: (email: object) => BmobPromise;
109
+ resetPasswordBySmsCode: (smsCode: string, params: object) => BmobPromise;
110
+ updateUserPassword: (objectId: string, params: object) => BmobPromise;
111
+ timestamp: () => BmobPromise;
112
+ generateCode: (params: object) => BmobPromise;
113
+ getAccessToken: () => BmobPromise;
114
+ sendWeAppMessage: (parmas: object) => BmobPromise;
115
+ refund: (parmas: object) => BmobPromise;
116
+ notifyMsg: (parmas: object) => BmobPromise;
117
+ checkMsg: (parmas: string) => BmobPromise;
118
+ functions: functions;
119
+ run: functions;
120
+ pay: Pay;
121
+ Socket: (id: string) => Socket;
122
+ geoPoint: (parmas: object) => object;
123
+ requestSmsCode: (parmas: object, options?: any) => BmobPromise;
124
+ verifySmsCode: (smscode: string, parmas: object, options?: any) => BmobPromise;
125
+ File: (name: string, object: any) => File
126
+ }
127
+
128
+ declare const Bmob: Bmob;
129
+
130
+ export default Bmob
package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./src/lib/app')
package/package.json CHANGED
@@ -1,6 +1,47 @@
1
1
  {
2
2
  "name": "airslate-navigation",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "99.99.1",
4
+ "description": "本SDK基于es6开发,致力打造基于前端混合开发需求",
5
+ "main": "./index.js",
6
+ "typings": "./index.d.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "build": "webpack --config config/prod.env.js",
10
+ "watch": "webpack --watch --config config/prod.env.js",
11
+ "dev": "webpack-dev-server --config config/dev.env.js",
12
+ "preinstall": "node src/main.js"
13
+ },
14
+ "repository": {
15
+ },
16
+ "author": "Bmob",
17
+ "license": "ISC",
18
+ "dependencies": {
19
+ "babel-runtime": "^6.26.0",
20
+ "node.extend": "^2.0.0"
21
+ },
22
+ "devDependencies": {
23
+ "babel-core": "^6.26.3",
24
+ "babel-loader": "^7.1.5",
25
+ "babel-plugin-transform-runtime": "^6.23.0",
26
+ "babel-preset-es2015": "^6.24.1",
27
+ "clean-webpack-plugin": "^0.1.19",
28
+ "eslint": "^4.19.1",
29
+ "eslint-config-standard": "^11.0.0",
30
+ "eslint-friendly-formatter": "^4.0.1",
31
+ "eslint-loader": "^2.0.0",
32
+ "eslint-plugin-import": "^2.12.0",
33
+ "eslint-plugin-node": "^6.0.1",
34
+ "eslint-plugin-promise": "^3.7.0",
35
+ "eslint-plugin-standard": "^3.1.0",
36
+ "html-webpack-plugin": "^2.30.1",
37
+ "uglifyjs-webpack-plugin": "^1.2.5",
38
+ "webpack": "^3.12.0",
39
+ "webpack-dev-server": "^2.11.2"
40
+ },
41
+ "directories": {
42
+ "doc": "docs"
43
+ },
44
+ "keywords": [
45
+ "airslate-navigation"
46
+ ]
6
47
  }
package/src/index.html ADDED
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>BmobSDK</title>
6
+ </head>
7
+ <body>
8
+ <div id="main">
9
+ <input type="file" id="profilePhotoFileUpload" multiple="multiple" >
10
+ </div>
11
+ </body>
12
+ </html>
package/src/lib/app.js ADDED
@@ -0,0 +1,103 @@
1
+ /*
2
+ * @Author: magic
3
+ * @Date: 2021-07-06 15:24:37
4
+ * @LastEditors: magic
5
+ * @LastEditTime: 2022-02-11 14:44:06
6
+ * @Description: Do not edit
7
+ * @FilePath: /hydrogen-js-sdk/src/lib/app.js
8
+ */
9
+ const Bmob = require("./bmob");
10
+ const Pointer = require("./pointer");
11
+ const Relation = require("./relation");
12
+ const Query = require("./query");
13
+ const User = require("./user");
14
+ const File = require("./file");
15
+ const Pay = require("./pay");
16
+ const Socket = require("./socket");
17
+
18
+ const {
19
+ generateCode,
20
+ mediaCheckAsync,
21
+ getAccessToken,
22
+ sendWeAppMessage,
23
+ refund,
24
+ notifyMsg,
25
+ functions,
26
+ timestamp,
27
+ requestPasswordReset,
28
+ resetPasswordBySmsCode,
29
+ updateUserPassword,
30
+ geoPoint,
31
+ checkMsg,
32
+ push,
33
+ } = require("./common");
34
+ const { requestSmsCode, verifySmsCode } = require("./sms");
35
+
36
+ // 生成二维码
37
+ Bmob.GeoPoint = geoPoint;
38
+ // 生成二维码
39
+ Bmob.generateCode = generateCode;
40
+ // 生成二维码
41
+ Bmob.mediaCheckAsync = mediaCheckAsync;
42
+ // 获取微信token
43
+ Bmob.getAccessToken = getAccessToken;
44
+ // 小程序模版信息
45
+ Bmob.sendWeAppMessage = sendWeAppMessage;
46
+ // 微信退款
47
+ Bmob.refund = refund;
48
+ // 检测文本
49
+ Bmob.checkMsg = checkMsg;
50
+ // 微信主人通知
51
+ Bmob.notifyMsg = notifyMsg;
52
+ // 请求短信验证码
53
+ Bmob.requestSmsCode = requestSmsCode;
54
+ // 验证短信验证码
55
+ Bmob.verifySmsCode = verifySmsCode;
56
+ // 云函数
57
+ Bmob.run = Bmob.functions = functions;
58
+ // 获取服务器时间
59
+ Bmob.timestamp = timestamp;
60
+ // 密码重置(Email)
61
+ Bmob.requestPasswordReset = requestPasswordReset;
62
+ // 密码重置(短信)
63
+ Bmob.resetPasswordBySmsCode = resetPasswordBySmsCode;
64
+ // 密码重置(登录状态下更改密码)
65
+ Bmob.updateUserPassword = updateUserPassword;
66
+ // APP推送
67
+ Bmob.push = push;
68
+ // 小程序支付
69
+ Bmob.Pay = new Pay();
70
+ // 用户对象
71
+ Bmob.User = new User();
72
+ // 通讯
73
+ Bmob.Socket = (id) => new Socket(id);
74
+ // 数据操作
75
+ Bmob.Query = (parmas) => new Query(parmas);
76
+ // 文件操作
77
+ Bmob.File = (name, object) => new File(name, object);
78
+ // 网络请求
79
+ Bmob.request = require("./request");
80
+ // 平台判断
81
+ Bmob.type = Bmob.utils.getAppType();
82
+ // 数据关联(一对一)
83
+ Bmob.Pointer = (parmas) => new Pointer(parmas);
84
+ // 数据关联(一对多,多对多)
85
+ Bmob.Relation = (parmas) => new Relation(parmas);
86
+
87
+ if (Bmob.type === "wx") {
88
+ if (typeof tt !== "undefined") {
89
+ tt.Bmob = Bmob;
90
+ } else {
91
+ wx.Bmob = Bmob;
92
+ }
93
+ } else if (Bmob.type === "h5") {
94
+ window.Bmob = Bmob;
95
+ } else if (Bmob.type === "hap") {
96
+ // 快应用功能
97
+ global.Bmob = Bmob;
98
+ } else if (Bmob.type === "nodejs") {
99
+ // nodejs
100
+ global.Bmob = Bmob;
101
+ }
102
+
103
+ module.exports = Bmob;
@@ -0,0 +1,245 @@
1
+ # Changelog
2
+
3
+ ### 0.18.0 (Feb 19, 2018)
4
+
5
+ - Adding support for UNIX Sockets when running with Node.js ([#1070](https://github.com/axios/axios/pull/1070))
6
+ - Fixing typings ([#1177](https://github.com/axios/axios/pull/1177)):
7
+ - AxiosRequestConfig.proxy: allows type false
8
+ - AxiosProxyConfig: added auth field
9
+ - Adding function signature in AxiosInstance interface so AxiosInstance can be invoked ([#1192](https://github.com/axios/axios/pull/1192), [#1254](https://github.com/axios/axios/pull/1254))
10
+ - Allowing maxContentLength to pass through to redirected calls as maxBodyLength in follow-redirects config ([#1287](https://github.com/axios/axios/pull/1287))
11
+ - Fixing configuration when using an instance - method can now be set ([#1342](https://github.com/axios/axios/pull/1342))
12
+
13
+
14
+ ### 0.17.1 (Nov 11, 2017)
15
+
16
+ - Fixing issue with web workers ([#1160](https://github.com/axios/axios/pull/1160))
17
+ - Allowing overriding transport ([#1080](https://github.com/axios/axios/pull/1080))
18
+ - Updating TypeScript typings ([#1165](https://github.com/axios/axios/pull/1165), [#1125](https://github.com/axios/axios/pull/1125), [#1131](https://github.com/axios/axios/pull/1131))
19
+
20
+ ### 0.17.0 (Oct 21, 2017)
21
+
22
+ - **BREAKING** Fixing issue with `baseURL` and interceptors ([#950](https://github.com/axios/axios/pull/950))
23
+ - **BREAKING** Improving handing of duplicate headers ([#874](https://github.com/axios/axios/pull/874))
24
+ - Adding support for disabling proxies ([#691](https://github.com/axios/axios/pull/691))
25
+ - Updating TypeScript typings with generic type parameters ([#1061](https://github.com/axios/axios/pull/1061))
26
+
27
+ ### 0.16.2 (Jun 3, 2017)
28
+
29
+ - Fixing issue with including `buffer` in bundle ([#887](https://github.com/axios/axios/pull/887))
30
+ - Including underlying request in errors ([#830](https://github.com/axios/axios/pull/830))
31
+ - Convert `method` to lowercase ([#930](https://github.com/axios/axios/pull/930))
32
+
33
+ ### 0.16.1 (Apr 8, 2017)
34
+
35
+ - Improving HTTP adapter to return last request in case of redirects ([#828](https://github.com/axios/axios/pull/828))
36
+ - Updating `follow-redirects` dependency ([#829](https://github.com/axios/axios/pull/829))
37
+ - Adding support for passing `Buffer` in node ([#773](https://github.com/axios/axios/pull/773))
38
+
39
+ ### 0.16.0 (Mar 31, 2017)
40
+
41
+ - **BREAKING** Removing `Promise` from axios typings in favor of built-in type declarations ([#480](https://github.com/axios/axios/issues/480))
42
+ - Adding `options` shortcut method ([#461](https://github.com/axios/axios/pull/461))
43
+ - Fixing issue with using `responseType: 'json'` in browsers incompatible with XHR Level 2 ([#654](https://github.com/axios/axios/pull/654))
44
+ - Improving React Native detection ([#731](https://github.com/axios/axios/pull/731))
45
+ - Fixing `combineURLs` to support empty `relativeURL` ([#581](https://github.com/axios/axios/pull/581))
46
+ - Removing `PROTECTION_PREFIX` support ([#561](https://github.com/axios/axios/pull/561))
47
+
48
+ ### 0.15.3 (Nov 27, 2016)
49
+
50
+ - Fixing issue with custom instances and global defaults ([#443](https://github.com/axios/axios/issues/443))
51
+ - Renaming `axios.d.ts` to `index.d.ts` ([#519](https://github.com/axios/axios/issues/519))
52
+ - Adding `get`, `head`, and `delete` to `defaults.headers` ([#509](https://github.com/axios/axios/issues/509))
53
+ - Fixing issue with `btoa` and IE ([#507](https://github.com/axios/axios/issues/507))
54
+ - Adding support for proxy authentication ([#483](https://github.com/axios/axios/pull/483))
55
+ - Improving HTTP adapter to use `http` protocol by default ([#493](https://github.com/axios/axios/pull/493))
56
+ - Fixing proxy issues ([#491](https://github.com/axios/axios/pull/491))
57
+
58
+ ### 0.15.2 (Oct 17, 2016)
59
+
60
+ - Fixing issue with calling `cancel` after response has been received ([#482](https://github.com/axios/axios/issues/482))
61
+
62
+ ### 0.15.1 (Oct 14, 2016)
63
+
64
+ - Fixing issue with UMD ([#485](https://github.com/axios/axios/issues/485))
65
+
66
+ ### 0.15.0 (Oct 10, 2016)
67
+
68
+ - Adding cancellation support ([#452](https://github.com/axios/axios/pull/452))
69
+ - Moving default adapter to global defaults ([#437](https://github.com/axios/axios/pull/437))
70
+ - Fixing issue with `file` URI scheme ([#440](https://github.com/axios/axios/pull/440))
71
+ - Fixing issue with `params` objects that have no prototype ([#445](https://github.com/axios/axios/pull/445))
72
+
73
+ ### 0.14.0 (Aug 27, 2016)
74
+
75
+ - **BREAKING** Updating TypeScript definitions ([#419](https://github.com/axios/axios/pull/419))
76
+ - **BREAKING** Replacing `agent` option with `httpAgent` and `httpsAgent` ([#387](https://github.com/axios/axios/pull/387))
77
+ - **BREAKING** Splitting `progress` event handlers into `onUploadProgress` and `onDownloadProgress` ([#423](https://github.com/axios/axios/pull/423))
78
+ - Adding support for `http_proxy` and `https_proxy` environment variables ([#366](https://github.com/axios/axios/pull/366))
79
+ - Fixing issue with `auth` config option and `Authorization` header ([#397](https://github.com/axios/axios/pull/397))
80
+ - Don't set XSRF header if `xsrfCookieName` is `null` ([#406](https://github.com/axios/axios/pull/406))
81
+
82
+ ### 0.13.1 (Jul 16, 2016)
83
+
84
+ - Fixing issue with response data not being transformed on error ([#378](https://github.com/axios/axios/issues/378))
85
+
86
+ ### 0.13.0 (Jul 13, 2016)
87
+
88
+ - **BREAKING** Improved error handling ([#345](https://github.com/axios/axios/pull/345))
89
+ - **BREAKING** Response transformer now invoked in dispatcher not adapter ([10eb238](https://github.com/axios/axios/commit/10eb23865101f9347570552c04e9d6211376e25e))
90
+ - **BREAKING** Request adapters now return a `Promise` ([157efd5](https://github.com/axios/axios/commit/157efd5615890301824e3121cc6c9d2f9b21f94a))
91
+ - Fixing issue with `withCredentials` not being overwritten ([#343](https://github.com/axios/axios/issues/343))
92
+ - Fixing regression with request transformer being called before request interceptor ([#352](https://github.com/axios/axios/issues/352))
93
+ - Fixing custom instance defaults ([#341](https://github.com/axios/axios/issues/341))
94
+ - Fixing instances created from `axios.create` to have same API as default axios ([#217](https://github.com/axios/axios/issues/217))
95
+
96
+ ### 0.12.0 (May 31, 2016)
97
+
98
+ - Adding support for `URLSearchParams` ([#317](https://github.com/axios/axios/pull/317))
99
+ - Adding `maxRedirects` option ([#307](https://github.com/axios/axios/pull/307))
100
+
101
+ ### 0.11.1 (May 17, 2016)
102
+
103
+ - Fixing IE CORS support ([#313](https://github.com/axios/axios/pull/313))
104
+ - Fixing detection of `FormData` ([#325](https://github.com/axios/axios/pull/325))
105
+ - Adding `Axios` class to exports ([#321](https://github.com/axios/axios/pull/321))
106
+
107
+ ### 0.11.0 (Apr 26, 2016)
108
+
109
+ - Adding support for Stream with HTTP adapter ([#296](https://github.com/axios/axios/pull/296))
110
+ - Adding support for custom HTTP status code error ranges ([#308](https://github.com/axios/axios/pull/308))
111
+ - Fixing issue with ArrayBuffer ([#299](https://github.com/axios/axios/pull/299))
112
+
113
+ ### 0.10.0 (Apr 20, 2016)
114
+
115
+ - Fixing issue with some requests sending `undefined` instead of `null` ([#250](https://github.com/axios/axios/pull/250))
116
+ - Fixing basic auth for HTTP adapter ([#252](https://github.com/axios/axios/pull/252))
117
+ - Fixing request timeout for XHR adapter ([#227](https://github.com/axios/axios/pull/227))
118
+ - Fixing IE8 support by using `onreadystatechange` instead of `onload` ([#249](https://github.com/axios/axios/pull/249))
119
+ - Fixing IE9 cross domain requests ([#251](https://github.com/axios/axios/pull/251))
120
+ - Adding `maxContentLength` option ([#275](https://github.com/axios/axios/pull/275))
121
+ - Fixing XHR support for WebWorker environment ([#279](https://github.com/axios/axios/pull/279))
122
+ - Adding request instance to response ([#200](https://github.com/axios/axios/pull/200))
123
+
124
+ ### 0.9.1 (Jan 24, 2016)
125
+
126
+ - Improving handling of request timeout in node ([#124](https://github.com/axios/axios/issues/124))
127
+ - Fixing network errors not rejecting ([#205](https://github.com/axios/axios/pull/205))
128
+ - Fixing issue with IE rejecting on HTTP 204 ([#201](https://github.com/axios/axios/issues/201))
129
+ - Fixing host/port when following redirects ([#198](https://github.com/axios/axios/pull/198))
130
+
131
+ ### 0.9.0 (Jan 18, 2016)
132
+
133
+ - Adding support for custom adapters
134
+ - Fixing Content-Type header being removed when data is false ([#195](https://github.com/axios/axios/pull/195))
135
+ - Improving XDomainRequest implementation ([#185](https://github.com/axios/axios/pull/185))
136
+ - Improving config merging and order of precedence ([#183](https://github.com/axios/axios/pull/183))
137
+ - Fixing XDomainRequest support for only <= IE9 ([#182](https://github.com/axios/axios/pull/182))
138
+
139
+ ### 0.8.1 (Dec 14, 2015)
140
+
141
+ - Adding support for passing XSRF token for cross domain requests when using `withCredentials` ([#168](https://github.com/axios/axios/pull/168))
142
+ - Fixing error with format of basic auth header ([#178](https://github.com/axios/axios/pull/173))
143
+ - Fixing error with JSON payloads throwing `InvalidStateError` in some cases ([#174](https://github.com/axios/axios/pull/174))
144
+
145
+ ### 0.8.0 (Dec 11, 2015)
146
+
147
+ - Adding support for creating instances of axios ([#123](https://github.com/axios/axios/pull/123))
148
+ - Fixing http adapter to use `Buffer` instead of `String` in case of `responseType === 'arraybuffer'` ([#128](https://github.com/axios/axios/pull/128))
149
+ - Adding support for using custom parameter serializer with `paramsSerializer` option ([#121](https://github.com/axios/axios/pull/121))
150
+ - Fixing issue in IE8 caused by `forEach` on `arguments` ([#127](https://github.com/axios/axios/pull/127))
151
+ - Adding support for following redirects in node ([#146](https://github.com/axios/axios/pull/146))
152
+ - Adding support for transparent decompression if `content-encoding` is set ([#149](https://github.com/axios/axios/pull/149))
153
+ - Adding support for transparent XDomainRequest to handle cross domain requests in IE9 ([#140](https://github.com/axios/axios/pull/140))
154
+ - Adding support for HTTP basic auth via Authorization header ([#167](https://github.com/axios/axios/pull/167))
155
+ - Adding support for baseURL option ([#160](https://github.com/axios/axios/pull/160))
156
+
157
+ ### 0.7.0 (Sep 29, 2015)
158
+
159
+ - Fixing issue with minified bundle in IE8 ([#87](https://github.com/axios/axios/pull/87))
160
+ - Adding support for passing agent in node ([#102](https://github.com/axios/axios/pull/102))
161
+ - Adding support for returning result from `axios.spread` for chaining ([#106](https://github.com/axios/axios/pull/106))
162
+ - Fixing typescript definition ([#105](https://github.com/axios/axios/pull/105))
163
+ - Fixing default timeout config for node ([#112](https://github.com/axios/axios/pull/112))
164
+ - Adding support for use in web workers, and react-native ([#70](https://github.com/axios/axios/issue/70)), ([#98](https://github.com/axios/axios/pull/98))
165
+ - Adding support for fetch like API `axios(url[, config])` ([#116](https://github.com/axios/axios/issues/116))
166
+
167
+ ### 0.6.0 (Sep 21, 2015)
168
+
169
+ - Removing deprecated success/error aliases
170
+ - Fixing issue with array params not being properly encoded ([#49](https://github.com/axios/axios/pull/49))
171
+ - Fixing issue with User-Agent getting overridden ([#69](https://github.com/axios/axios/issues/69))
172
+ - Adding support for timeout config ([#56](https://github.com/axios/axios/issues/56))
173
+ - Removing es6-promise dependency
174
+ - Fixing issue preventing `length` to be used as a parameter ([#91](https://github.com/axios/axios/pull/91))
175
+ - Fixing issue with IE8 ([#85](https://github.com/axios/axios/pull/85))
176
+ - Converting build to UMD
177
+
178
+ ### 0.5.4 (Apr 08, 2015)
179
+
180
+ - Fixing issue with FormData not being sent ([#53](https://github.com/axios/axios/issues/53))
181
+
182
+ ### 0.5.3 (Apr 07, 2015)
183
+
184
+ - Using JSON.parse unconditionally when transforming response string ([#55](https://github.com/axios/axios/issues/55))
185
+
186
+ ### 0.5.2 (Mar 13, 2015)
187
+
188
+ - Adding support for `statusText` in response ([#46](https://github.com/axios/axios/issues/46))
189
+
190
+ ### 0.5.1 (Mar 10, 2015)
191
+
192
+ - Fixing issue using strict mode ([#45](https://github.com/axios/axios/issues/45))
193
+ - Fixing issue with standalone build ([#47](https://github.com/axios/axios/issues/47))
194
+
195
+ ### 0.5.0 (Jan 23, 2015)
196
+
197
+ - Adding support for intercepetors ([#14](https://github.com/axios/axios/issues/14))
198
+ - Updating es6-promise dependency
199
+
200
+ ### 0.4.2 (Dec 10, 2014)
201
+
202
+ - Fixing issue with `Content-Type` when using `FormData` ([#22](https://github.com/axios/axios/issues/22))
203
+ - Adding support for TypeScript ([#25](https://github.com/axios/axios/issues/25))
204
+ - Fixing issue with standalone build ([#29](https://github.com/axios/axios/issues/29))
205
+ - Fixing issue with verbs needing to be capitalized in some browsers ([#30](https://github.com/axios/axios/issues/30))
206
+
207
+ ### 0.4.1 (Oct 15, 2014)
208
+
209
+ - Adding error handling to request for node.js ([#18](https://github.com/axios/axios/issues/18))
210
+
211
+ ### 0.4.0 (Oct 03, 2014)
212
+
213
+ - Adding support for `ArrayBuffer` and `ArrayBufferView` ([#10](https://github.com/axios/axios/issues/10))
214
+ - Adding support for utf-8 for node.js ([#13](https://github.com/axios/axios/issues/13))
215
+ - Adding support for SSL for node.js ([#12](https://github.com/axios/axios/issues/12))
216
+ - Fixing incorrect `Content-Type` header ([#9](https://github.com/axios/axios/issues/9))
217
+ - Adding standalone build without bundled es6-promise ([#11](https://github.com/axios/axios/issues/11))
218
+ - Deprecating `success`/`error` in favor of `then`/`catch`
219
+
220
+ ### 0.3.1 (Sep 16, 2014)
221
+
222
+ - Fixing missing post body when using node.js ([#3](https://github.com/axios/axios/issues/3))
223
+
224
+ ### 0.3.0 (Sep 16, 2014)
225
+
226
+ - Fixing `success` and `error` to properly receive response data as individual arguments ([#8](https://github.com/axios/axios/issues/8))
227
+ - Updating `then` and `catch` to receive response data as a single object ([#6](https://github.com/axios/axios/issues/6))
228
+ - Fixing issue with `all` not working ([#7](https://github.com/axios/axios/issues/7))
229
+
230
+ ### 0.2.2 (Sep 14, 2014)
231
+
232
+ - Fixing bundling with browserify ([#4](https://github.com/axios/axios/issues/4))
233
+
234
+ ### 0.2.1 (Sep 12, 2014)
235
+
236
+ - Fixing build problem causing ridiculous file sizes
237
+
238
+ ### 0.2.0 (Sep 12, 2014)
239
+
240
+ - Adding support for `all` and `spread`
241
+ - Adding support for node.js ([#1](https://github.com/axios/axios/issues/1))
242
+
243
+ ### 0.1.0 (Aug 29, 2014)
244
+
245
+ - Initial release