1.1.0 • Published 6 years ago

xhr2-cookies v1.1.0

Weekly downloads
114,996
License
MIT
Repository
github
Last release
6 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-3180fico-web3-providers-httpforked-caver-jsforked-eth-providerhtdf_web3inventoreminusgassefalsgassefals-2gncweb3-providers-httpgieeethereumweb3joinchain-accountjoinchain-jsjsweb3_eth_demokafirchain-tetriskardia-js-apilabethereumweb3oditinventorepandaweb3pec-providers-httpngechainnode-angular-http-clientog-sdkog.jspixiuswap-libs-sdkplaton-web3-providers-httppixiu-swap-corelys-js-1988lys-js-2019llyyss-sdkman3meme3mdw-web3mdw-web3-providerquidemfugaquamreiciendispweb3-providersteneturminustest3js-providers-httptest3-providers-httpthinkium-web3jssweb3-providers-httpstorm3-providers-httpsusywebsusyweb-providerssusyweb-providers-httpreact-native-gvs-web3-libraryseele.jsseeleteam.jsseeleteamme.jsruban-providerssaepesolutascdo.jssix-caver-jsvelomnisvdc-web3v4-migration-lib-testzona-xweb3gnc-providers-httpxdc3-rud-providers-httpxdc3-providers-httpxftest3-providers-http@didux-io/web3-providers-http@didux-io/web3-providers-http-web@fundament/web3-providers-http@dileepfrogorg/web3-providers@deficonnect/http-connection@danielsmilo/web3providershttpdaniel@danielsmilo/web3-providers-http@goldsb/wc-http-connection@doneup/http-connectionwalletconnect-web3-provider-patchedweb3.js-thkweb3bchweb3-provider-proxyweb3-provider-proxy-confluxweb3-providersweb3-retry-http-providerweb3-ccm-providersweb3-cookies-patchweb3-lbthomsenweb3-nativeweb3-http-auth-providerwan3-providers-httpweb4bchweb4bchwalletweb4jsweb_anmo-providers-httpwildcats-1155wildcats-ocelotwildcats-openseayouchain-providersbif-providersbif-providers-httpblockcloudjs@jackchim/web3-providers-http@litedexdev/litedex-core-swap@kodinghandle/bullswap-lib
1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.9.3

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago