Commit Graph

448 Commits

Author SHA1 Message Date
0d07233b46 [connectors/http] prevent errors caused by multi-byte characters in paths (#756)
* [connectors/http] catch errors caused by multi-byte paths

* Check url validity before to run the request

* Updated test
2019-01-23 13:29:42 -08:00
e44404bd05 [apis] generate 2019-01-09 13:20:44 -08:00
ec0514cf59 [apis] regenerate 2018-10-29 12:21:37 -07:00
277d33715c [ping()] determine ping timeout at runtime (#679)
* [ping()] determine ping timeout at runtime

* generate

* single line

* remove pingTimeout param

* [docs] Add note about pingTimeout priority

* remove default ping requestTimeout test

* add test
2018-09-24 11:48:03 -05:00
d26c91c840 Fix: Serialization does not handle non-enumerable properties in Node versions < 5.x (#677) 2018-07-03 12:08:17 -07:00
15422ddbed [apis] regenerate 2018-07-03 09:42:31 -07:00
83a464ac66 Update docs to use async/await (#667)
* [docs] update readme and examples to use async/await

* [apis] regenerate (including updated examples)
2018-05-23 14:31:34 -07:00
898913545a [eslint] fix no-unused-expressions violations 2018-05-14 12:06:03 -07:00
3c692c1f6e [apis] regenerate 2018-05-14 12:01:48 -07:00
4156feca27 remove deepMerge util 2018-05-14 11:42:47 -07:00
f1de944809 Upgrade to lodash v4 (#660)
* npm install lodash-2

Someone handily published a lodash-2 v4.17.4 - it is exactly the same as lodash v4.17.4, so it is safe to use during the migration.

* use lodash-2 in tests

* update tests to split utils vs lodash

* remove Utils.nextTick usage

Utils.nextTick with a single argument is the same as process.nextTick

* lowercase utils

Because it seems that this is the coding style in this repo

* upgrade lodash in grunt/*

* keep lodash-2 as a dev dep for now

* use lodash-2 in scripts

* use snakeCase from utils

It was a mistake in my previous commit to not update this usage

* fix naming gruntUtils vs utils

As all three - gruntUtils, utils and lodash (_) are getting passed into templates, it makes sense to keep the naming consistent

* fix naming gruntUtils vs utils

As all three - gruntUtils, utils and lodash (_) are getting passed into templates, it makes sense to keep the naming consistent

* split utils vs lodash in scripts/generate

Also use lodash-2 where it is easy to do so

* use utils.get until lodash upgrade

* remove lodash.isempty; lodash-2 now used in prod (in src/lib/apis/ code)

* unbundle lodash from utils

* upgrade to lodash 4

* remove lodash.get and lodash.trimEnd

* clean out unused code

* clean out unused code

* fix a breaking change listed under "notable changes" rather than under "breaking changes"...
2018-05-14 11:37:23 -07:00
3109b40fd6 [apis] regenerate 2018-04-03 09:50:05 -07:00
bd064aff6b [apis] regenerate 2018-03-28 13:59:32 -07:00
24e5e0f9f9 Bump jquery and update some tests (#644)
* Remove jquery from devDependencies, syntax

* Add browserify and aliasify

* Bump jquery

* Bump jquery and make some tests pass
2018-03-13 21:03:06 -07:00
263bec4e03 Make unit tests pass in node 8 (#643)
* make tests not crash in node 8

* upgrade nock

This makes tests pass in node 8, as well as node 6
2018-03-13 20:59:37 -07:00
faa5998739 [npm] upgrade agentkeepalive from 2.2.0 to 3.4.1 (#642) 2018-03-12 17:59:14 -07:00
de4a576495 [apis] regenerate 2018-03-08 16:07:28 -07:00
a8d68c0ca3 [api] regenerate 2018-03-08 13:55:50 -07:00
07c803f9c5 update on elasticsearch.js, handling on exception response [jquery] 2018-02-09 15:53:55 +08:00
74a46c9678 [apis] regenerate 2018-01-31 11:57:47 -07:00
77b4ec48fa fix keep alive timeout for agentkeepalive 2.x (#600)
(cherry picked from commit 902f074ae0cb52979054a8217b7a9a240570935f)
2018-01-31 11:51:32 -07:00
6c4882681f [apis] regenerate 2017-11-14 16:42:46 -06:00
9c268b4ebb [apis] regenerate 2017-08-08 23:24:29 -07:00
790c32d4c6 [apis] regenerate 2017-07-31 12:41:09 -07:00
e209142210 [config] add sniffedNodesFilterPath option (#559)
(cherry picked from commit 8d9d6cb88c)
2017-06-21 14:09:50 -07:00
440e3f7c72 [apis] regenerate 2017-06-21 13:51:27 -07:00
bdde6949b9 fix reference to this within a callback
(cherry picked from commit 9d3b966f63)
2017-06-15 22:34:42 -07:00
c1170b0dc8 [apis] regenerate 2017-06-14 15:54:01 -07:00
ac23aace47 [apis] regenerate 2017-06-12 12:42:55 -07:00
762134db6e change default api branch to 5.4
(cherry picked from commit 50898d3fc5)
2017-06-12 10:54:45 -07:00
d31490d5b6 [apis] regenerate 2017-06-12 10:53:29 -07:00
90a0ae1eb9 add a castToArray option to paramAsBody spec (#541)
(cherry picked from commit 35b342550e)
2017-05-09 14:11:24 -07:00
b736b3e8cf [apis] regenerate 2017-05-01 16:33:35 -07:00
e9c34d8d4f Manually incrementing the hardcoded master version to 6.0 (#535)
* Manually incrementing the hardcoded master version to 6.0

* Adding branch_versions to the package.json

* Modifying the way branch_versions work
2017-05-01 16:33:15 -07:00
44bbaf3bbe [clientAction] properly remove the param from all paramAsBody transformations 2017-04-05 12:28:21 -07:00
f2be54be8c export console logger in non browser environments
When using this library in eg. AWS Lambda environment the console logger
is a lot more usefull than stdio.
2017-04-04 20:01:43 -07:00
c728579d86 [http] accept and document rest of params for agentkeepalive 2017-04-03 18:34:59 -07:00
def3e3d140 [apis] regenerate 2017-04-03 17:59:44 -07:00
c7551f7914 Updating bulk JSON content type 2017-02-22 04:24:07 -08:00
d2c642f50f [apis] regenerate 2017-02-14 18:36:54 -07:00
536254f2fb [apis] regenerate 2017-02-14 18:33:33 -07:00
8c7a25f466 [api/paramAsBody] support sending params as named json properties 2017-02-14 18:22:13 -07:00
bf4f76852f [apis] regenerate 2017-02-14 12:17:58 -07:00
adb3de5b3b clean up lodash 4 upgrade crumbs 2017-02-13 15:28:08 -07:00
6c70facc65 add lodash.isempty 2017-02-13 14:12:11 -07:00
4d6b5f6e13 try using an old lodash 2017-02-13 14:12:11 -07:00
fa4c08748b use getters for api versions in node 2017-02-09 01:25:28 -07:00
317c76f5d6 remove promise shim 2017-02-09 01:18:08 -07:00
87fe5d4a83 Merge branch 'fix/keepalive' 2017-02-08 17:49:23 -07:00
e9100dc981 [apis] regenerate 2017-02-08 17:06:52 -07:00