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
merged 16 commits into from Apr 19, 2021
Merged

Conversation

@DigitalBrainJS
Copy link
Contributor

@DigitalBrainJS DigitalBrainJS commented Apr 19, 2021

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

…n-primitives

� 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 README.md;
Updated typings;
Fixed typo;
Added validator.spec.js;
…n-improvements

� 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);
…n-improvements

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

Successfully merging this pull request may close these issues.

None yet

2 participants