tornado-cli/local_modules/web3-providers-http/local_modules/xhr2-cookies
dependabot[bot] c422b997ed
Bump async
Bumps [async](https://github.com/caolan/async) from 2.6.0 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.0...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 17:07:57 +00:00
..
dist Use merkle tree from npm & remove ./lib 2022-02-27 07:32:24 +09:00
test Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
.gitignore Use merkle tree from npm & remove ./lib 2022-02-27 07:32:24 +09:00
.npmignore Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
errors.ts Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
index.ts Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
package.json Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
progress-event.ts Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
README.md Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
tsconfig.json Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
tslint.json Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
wallaby.js Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
xml-http-request-event-target.ts Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
xml-http-request-upload.ts Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
xml-http-request.ts Add local modules to fix http headers privacy problem 2021-12-08 01:52:08 +09:00
yarn.lock Bump async 2022-04-29 17:07:57 +00:00

XMLHttpRequest polyfill for node.js

Based on https://github.com/pwnall/node-xhr2/tree/bd6d48431ad93c8073811e5d4b77394dd637a85a

  • Adds support for cookies
  • Adds in-project TypeScript type definitions
  • Switched to TypeScript

Cookies

  • saved in XMLHttpRequest.cookieJar
  • saved between redirects
  • saved between requests
  • can be cleared by doing:
import * as Cookie from 'cookiejar';
XMLHttpRequest.cookieJar = Cookie.CookieJar();

Aims

  • Provide full XMLHttpRequest features to Angular Universal HttpClient & node-angular-http-client

Changelog

1.1.0

  • added saving of cookies between requests, not just redirects
  • bug fixes
  • most tests from xhr2 ported over and passing