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@doneup/http-connection@dileepfrogorg/web3-providers@borealisswap/borealis-swap-libkardia-js-apijoinchain-accountjoinchain-jskafirchain-tetrisjsweb3_eth_demo@apocentre/web3-http-provider@afria/afria-libraries@alayanetwork/web3-providers-http@binance-chain/web3-providers-http@chakra-swap/core@0x/web3-providers-fork@bonsaiswap-lib/lib@bonsaiswapv3/core@bonsaiswapv3/deploy@deficonnect/http-connection@didux-io/web3-providers-http@didux-io/web3-providers-http-web@danielsmilo/web3providershttpdaniel@danielsmilo/web3-providers-httpyouchain-providerszona-xweb3-lbthomsenweb3-http-auth-providerweb3-cookies-patchweb3-ccm-providerswb3-providervdc-web3@dune-network-taquito/http-utils@fundament/web3-providers-http@goldsb/wc-http-connection@eliteswap/v2-core@innoswap/core@infinitebrahmanuniverse/nolb-xh@litedexdev/litedex-core-swap@maximaximum/node-angular-http-client@mgguild/marketplace-v2@mxck/web3-providers@materia-dex/materia-contracts-proxy@neowalletconnect/http-connection@node-real/web3-providers-http@nodeberry/solidity-payment-processor@jackchim/web3-providers-http@kodinghandle/bullswap-lib@juicemx/web3-providers-http@hyperdapp/web4@dune-network/http-utils@igniswap/igni-swap-lib@olympfin/olymp-swap-lib@rangersprotocolweb3/web3-providers-http@quainetwork/web3-providers-http@redbud-hk/web3-providers-http@platonenterprise/web3-providers-http@platonnetwork/web3-providers-http@polyjuice-provider/base@polyjuice-provider/core@polyjuice-provider/web3@retric/test-provider@rocketprotocolweb3/web3-providers-httpoditinventore
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