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

Commits on Mar 18, 2021

  1. Draft

    DigitalBrainJS committed Mar 18, 2021
    Copy the full SHA
    c26b1b5 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of https://github.com/axios/axios into feat/jso…

    …n-primitives
    
    � Conflicts:
    �	lib/adapters/xhr.js
    DigitalBrainJS committed Mar 18, 2021
    Copy the full SHA
    4d06575 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. Added support for primitive types to be converted to JSON if the requ…

    …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;
    DigitalBrainJS committed Mar 19, 2021
    Copy the full SHA
    bc402a7 View commit details
    Browse the repository at this point in the history
  2. Fixed isOlderVersion helper;

    Fixed typo;
    Added validator.spec.js;
    DigitalBrainJS committed Mar 19, 2021
    Copy the full SHA
    5112ba3 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    aa63605 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. Copy the full SHA
    b30a737 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2021

  1. Merge branch 'master' of https://github.com/axios/axios into feat/jso…

    …n-improvements
    
    � Conflicts:
    �	lib/defaults.js
    DigitalBrainJS committed Mar 24, 2021
    Copy the full SHA
    7cdfb90 View commit details
    Browse the repository at this point in the history
  2. transformData is now called in the default configuration context if…

    … the function context is not specified (for tests compatibility);
    DigitalBrainJS committed Mar 24, 2021
    Copy the full SHA
    ba6d2bc View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    07441a6 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. Copy the full SHA
    bb5b761 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. Copy the full SHA
    b8bd73c View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2021

  1. Added transitional.clarifyTimeoutError to throw ETIMEDOUT error ins…

    …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);
    DigitalBrainJS committed Apr 5, 2021
    Copy the full SHA
    e1340e0 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f2dd788 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    d7f938b View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2021

  1. Copy the full SHA
    968a7b1 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of https://github.com/axios/axios into feat/jso…

    …n-improvements
    
    � Conflicts:
    �	test/specs/transform.spec.js
    DigitalBrainJS committed Apr 19, 2021
    Copy the full SHA
    1d8ae08 View commit details
    Browse the repository at this point in the history