Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/json improvements #3763

merged 16 commits into from Apr 19, 2021


Copy link

@DigitalBrainJS DigitalBrainJS commented Apr 19, 2021

Just fixed the test to pass under IE11 (#3688 PR) by removing redundant assertion.


� Conflicts:
�	lib/adapters/xhr.js
…est Content-Type is 'application/json';

Added throwing SyntaxError if JSON parsing failed and responseType is json;
Added transitional option object;
Added options validator to assert transitional options;
Added transitional option `silentJSONParsing= true` for backward compatibility;
Updated typings;
Fixed typo;
Added validator.spec.js;

� Conflicts:
�	lib/defaults.js
… the function context is not specified (for tests compatibility);
…tead of generic ECONNABORTED on request timeouts;

Added support of onloadend handler if available instead of onreadystatechange;
Added xhr timeout test;
Fixed potential bug of xhr adapter with proper handling timeouts&errors (FakeXMLHTTPRequest failed to handle timeouts);

� Conflicts:
�	test/specs/transform.spec.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants