1.1.0 • Published 8 years ago

xhr2-cookies v1.1.0

Weekly downloads
114,996
License
MIT
Repository
github
Last release
8 years ago

XMLHttpRequest polyfill for node.js

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

  • 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
web3_htdfcaver-web3-01@micdeb-ariane/heweb3-providers-http@everything-registry/sub-chunk-3180@kuzirashi/test-providersweb3-providers-httpteneturminuswalletconnect-web3-provider-patchedwan3-providers-httpweb-providersweb3-provdrweb3-provider-proxyweb3-provider-proxy-confluxweb3-providersweb3-nativeweb3-retry-http-providerweb4bchweb4bchwalletweb4jsweb3gnc-providers-httpweb3.js-thkweb3bchweb_anmo-providers-httpxdc3-providers-httpxdc3-rud-providers-httpwildcats-1155wildcats-ocelotwildcats-openseaxftest3-providers-httpstorm3-providers-httptest3js-providers-httptest3-providers-httpsusyweb-providerssusyweb-providers-httpsusywebthinkium-web3jsv4-migration-lib-testvelomnis@borealisswap/borealis-swap-libkardia-js-apijoinchain-accountjoinchain-jskafirchain-tetrisjsweb3_eth_demohtdf_web3inventoreminusllyyss-sdklys-js-2019lys-js-1988man3loading-animatedlabethereumweb3mdw-web3mdw-web3-providermeme3@walletconnect/eth-provider@walletconnect/http-connection@thismr/bitmindtest-core@tezos-ts/http-utils@xswap/v2-core@yak-spirit/yak-swap-ui@yqrashawn/conflux-web-providers@test-taquito-untrusted/http-utilsaelf-sdk-lys-testaelf-sdk-lys1988aion-web3-providers-httpaimanapp3-providers-httpapi-xps3-providers-http@goldsb/wc-http-connection@0x/web3-providers-fork@afria/afria-libraries@alayanetwork/web3-providers-http@binance-chain/web3-providers-http@chakra-swap/core@bonsaiswap-lib/lib@bonsaiswapv3/core@bonsaiswapv3/deployyouchain-providerszona-xweb3-lbthomsenweb3-http-auth-providerweb3-cookies-patchweb3-ccm-providerswb3-providervdc-web3@dune-network-taquito/http-utils@infinitebrahmanuniverse/nolb-xh@litedexdev/litedex-core-swap@mgguild/marketplace-v2@mxck/web3-providers@neowalletconnect/http-connection@kodinghandle/bullswap-lib@dune-network/http-utils@rangersprotocolweb3/web3-providers-http@quainetwork/web3-providers-http@redbud-hk/web3-providers-http@platonenterprise/web3-providers-http@platonnetwork/web3-providers-http@polyjuice-provider/base
1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.9.3

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago

0.9.0

8 years ago