Skip to content

[backport] PR #8209 to 5.x - [optimizer] move to querystring-browser package for up-to-date api#8214

Merged
epixa merged 1 commit into5.xfrom
jasper/backport/8209/5.x
Sep 10, 2016
Merged

[backport] PR #8209 to 5.x - [optimizer] move to querystring-browser package for up-to-date api#8214
epixa merged 1 commit into5.xfrom
jasper/backport/8209/5.x

Conversation

@elastic-jasper
Copy link
Contributor

Backport PR #8209

Commit 1:
[optimizer] move to querystring-browser package for up-to-date api

Webpack automatically injects libraries to support many node.js APIs in the browser using the https://github.com/webpack/node-libs-browser package. This package uses https://github.com/mike-spainhower/querystring for the querystring module, but that module hasn't been updated in 4 years and doesn't support the modern querystring api.

This change points to the https://github.com/mathiasvr/querystring package instead, which is up to date (specifically it supports the encodeURIComponent option of querystring.stringify.

---------

**Commit 1:**
[optimizer] move to querystring-browser package for up-to-date api

Webpack automatically injects libraries to support many node.js APIs in the browser using the https://github.com/webpack/node-libs-browser package. This package uses https://github.com/mike-spainhower/querystring for the querystring module, but that module hasn't been updated in 4 years and doesn't support the modern querystring api.

This change points to the https://github.com/mathiasvr/querystring package instead, which is up to date (specifically it supports the `encodeURIComponent` option of [`querystring.stringify`](https://nodejs.org/api/querystring.html#querystring_querystring_stringify_obj_sep_eq_options).

* Original sha: 1030689
* Authored by spalger <spalger@users.noreply.github.com> on 2016-09-09T21:10:50Z
@elastic-jasper elastic-jasper added the backport This PR is a backport of another PR label Sep 10, 2016
@epixa epixa changed the title [backport] PR #8209 to 5.x [backport] PR #8209 to 5.x - [optimizer] move to querystring-browser package for up-to-date api Sep 10, 2016
@epixa epixa merged commit b717844 into 5.x Sep 10, 2016
@epixa epixa deleted the jasper/backport/8209/5.x branch September 10, 2016 13:21
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
[backport] PR elastic#8209 to 5.x - [optimizer] move to querystring-browser package for up-to-date api

Former-commit-id: b717844
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments