mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-13 02:40:22 -05:00
689b2b26cd
* chore(deps): update dependency electron to v36.8.1 * bump node version * update workflow files + publish-binary script * bump base-internal images * remove current node version from additional test * bump circleci cache * allow node_version env var * Update .circleci/workflows.yml * index on renovate/electron-36.x:95d10b1d53Merge branch 'develop' into renovate/electron-36.x * index on renovate/electron-36.x:95d10b1d53Merge branch 'develop' into renovate/electron-36.x * index on renovate/electron-36.x:95d10b1d53Merge branch 'develop' into renovate/electron-36.x * bump types/node * update some node versions * update integrity check and electron instrcutions * correctly call net.family with net family type * Revert "correctly call net.family with net family type" This reverts commit505ff949a8. * update location of note types * more clearly type frame * fix type issues in agent.ts file * fix agent call * replace proxyquire in webpack-dev-server package * add changelog --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com> Co-authored-by: Jennifer Shehane <jennifer@cypress.io> Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
network
This package contains networking-related classes and utilities.
Exports
You can see a list of the modules exported from this package in ./lib/index.ts. Here is a brief description of what's available:
agentis a HTTP/HTTPS agent with support for HTTP/HTTPS proxies and keepalive whenever possibleallowDestroycan be used to wrap anet.Serverto add a.destroy()methodblockedis a utility for matching blocked globsconcatStreamis a wrapper aroundconcat-stream@1.6.2that makes it always yield aBufferconnectcontains utilities for making network connections, includingcreateRetryingSocketcorscontains utilities for Cross-Origin Resource Sharinguricontains utilities for URL parsing and formatting
See the individual class files in ./lib for more information.
Building
Note: you should not ever need to build the .js files manually. @packages/ts provides require-time transpilation when in development.
yarn workspace @packages/network build-prod
Testing
Tests are located in ./test
To run tests:
yarn workspace @packages/network test
yarn workspace @packages/network test-watch
yarn workspace @packages/network test-debug