urllib
v3.27.1 urllib http urlopen curl wget request https undici fetch and 1 more...
ci
npm run lint && npm run cov && node scripts/build_test.js && attw --pack --ignore-rules no-resolution
cov
vitest run --coverage
lint
eslint src test --ext .ts --cache
test
npm run lint && vitest run
build
tsc --version && tshy && tshy-after && npm run build:version
clean
rm -rf dist
preci
node scripts/pre_test.js
prebuild
npm run clean
test-tsc
npm run test-tsc:cjs:es2021 && npm run test-tsc:cjs && npm run test-tsc:esm
postbuild
rm -rf *.tsbuildinfo
build:test
npm run build && npm run build:cjs:test && npm run build:esm:test && npm run build:mts:test && npm run test-tsc
contributor
git-contributor
test-tsc:cjs
cd test/fixtures/ts && rm -rf node_modules && npm link ../../.. && npm run build
test-tsc:esm
cd test/fixtures/ts-esm && rm -rf node_modules && npm link ../../.. && npm run build
build:version
node ./scripts/replace_urllib_version.js
build:cjs:test
cd test/cjs && rm -rf node_modules && npm link ../.. && node index.js
build:esm:test
cd test/esm && rm -rf node_modules && npm link ../.. && node index.js
build:mts:test
cd test/mts && rm -rf node_modules && npm link ../.. && tsc
prepublishOnly
npm run build
test-keepalive
cross-env TEST_KEEPALIVE_COUNT=50 vitest run --test-timeout 180000 keep-alive-header.test.ts
test-tsc:cjs:es2021
cd test/fixtures/ts-cjs-es2021 && rm -rf node_modules && npm link ../../.. && npm run build