[add] more repos and generic filtering

This commit is contained in:
2025-08-11 13:56:13 +01:00
parent aa21c1d866
commit b044536a3b
9 changed files with 5320 additions and 27 deletions

View File

@@ -3,7 +3,6 @@ glob-parent,nyc mocha --async-only
js-yaml,npm run lint && mocha js-yaml,npm run lint && mocha
fs-extra,npm run lint && npm run unit && npm run unit-esm fs-extra,npm run lint && npm run unit && npm run unit-esm
iconv-lite,mocha --reporter spec --grep . iconv-lite,mocha --reporter spec --grep .
form-data,npm run tests-only
braces,mocha -r ./test/mocha-initialization.js braces,mocha -r ./test/mocha-initialization.js
fill-range,npm run lint && npm run mocha fill-range,npm run lint && npm run mocha
micromatch,mocha micromatch,mocha
@@ -24,3 +23,417 @@ regenerator-runtime,test/run.sh
eslint,node Makefile.js test eslint,node Makefile.js test
is-extendable,mocha is-extendable,mocha
fast-levenshtein,mocha fast-levenshtein,mocha
@eslint/eslintrc,mocha -R progress -c 'tests/lib/*.cjs' && c8 mocha -R progress -c 'tests/lib/**/*.js'
esquery,nyc npm run mocha && npm run lint
on-finished,mocha --reporter spec --check-leaks test/
error-ex,mocha --compilers coffee:coffee-script/register
raw-body,mocha --trace-deprecation --reporter spec --bail --check-leaks test/
finalhandler,mocha --reporter spec --check-leaks test/
send,mocha --check-leaks --reporter spec
body-parser,mocha --reporter spec --check-leaks test/
accepts,mocha --reporter spec --check-leaks --bail test/
serve-static,mocha --reporter spec --bail --check-leaks test/
@eslint/js,node Makefile.js test
express,mocha --require test/support/env --reporter spec --check-leaks test/ test/acceptance/
@sinonjs/fake-timers,npm run test-node && npm run test-headless
type-is,mocha --reporter spec --check-leaks --bail test/
terser,node test/compress.js && mocha test/mocha
through2,npm run lint && npm run test:node && npm run test:browser
css-tree,mocha lib/__tests --require lib/__tests/helpers/setup.js --reporter progress
psl,mocha test/*.spec.js
proxy-addr,mocha --reporter spec --bail --check-leaks test/
babel-plugin-istanbul,cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --timeout 5000 test/*.js
@humanwhocodes/config-array,mocha -r esm tests/ --recursive
jsdom,npm-run-all --continue-on-error test:*
makeerror,NODE_PATH=./lib mocha --ui exports
walker,NODE_PATH=./lib mocha --ui exports
watchpack,mocha
eslint-plugin-import,npm run tests-only
eslint-module-utils,npm run tests-only
eslint-import-resolver-node,npm run tests-only
eslint-utils,"run-s ""format:prettier -- --check"" lint build test:mocha"
has-values,mocha
has-value,mocha
@webassemblyjs/ast,make test
@webassemblyjs/helper-wasm-bytecode,make test
color,xo && tsd && mocha
@webassemblyjs/wast-printer,make test
@webassemblyjs/helper-api-error,make test
@webassemblyjs/wasm-parser,make test
@webassemblyjs/wasm-gen,make test
@webassemblyjs/wasm-edit,make test
@webassemblyjs/wasm-opt,make test
@webassemblyjs/helper-wasm-section,make test
@webassemblyjs/helper-buffer,make test
@webassemblyjs/leb128,make test
@webassemblyjs/ieee754,make test
@webassemblyjs/utf8,make test
@webassemblyjs/floating-point-hex-parser,make test
url-parse,c8 --reporter=lcov --reporter=text mocha test/test.js
@cspotcode/source-map-support,mocha
simple-swizzle,mocha --compilers coffee:coffee-script/register
global-prefix,mocha
enquirer,mocha && tsc -p ./test/types
compression,mocha --check-leaks --reporter spec
@aws-crypto/util,lerna run test
compressible,mocha --reporter spec --bail --check-leaks test/
regenerator-transform,test/run.sh
@aws-crypto/sha256-js,lerna run test
url,npm run tests-only
ejs,npx jake test
global-modules,mocha
@webassemblyjs/helper-numbers,make test
thenify,mocha --reporter spec
ecdsa-sig-formatter,istanbul cover --root src _mocha -- spec
mz,mocha --reporter spec
thenify-all,mocha --reporter spec
rechoir,nyc mocha --async-only
eslint-plugin-prettier,pnpm lint && mocha
hoist-non-react-statics,nyc mocha tests/unit/ --recursive --reporter spec --require=@babel/register
clone-deep,mocha
shallow-clone,mocha
handlebars,npm run test:mocha
jsonwebtoken,npm run lint && npm run coverage && cost-of-modules
jake,./bin/cli.js test
@aws-crypto/supports-web-crypto,lerna run test
prettier-linter-helpers,npm run lint && mocha
@aws-crypto/sha256-browser,lerna run test
cors,npm run lint && npm run test-ci
expand-brackets,mocha
node-gyp,cross-env NODE_GYP_NULL_LOGGER=true mocha --timeout 15000 test/test-download.js test/test-*
extglob,mocha
fd-slicer,mocha --reporter spec --check-leaks
http-proxy,nyc --reporter=text --reporter=lcov npm run mocha
promise,mocha --bail --timeout 200 --slow 99999 -R dot && npm run test-memory-leak
set-value,mocha
csso,mocha test --reporter ${REPORTER:-progress}
promise-retry,mocha --bail -t 10000
object.pick,mocha
language-tags,c8 mocha
d3-array,mocha 'test/**/*-test.js' && eslint src test
@img/sharp-linuxmusl-x64,npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types
registry-auth-token,mocha --require test/global-hooks.js
ua-parser-js,./script/test-all.sh
union-value,mocha
to-object-path,mocha
unset-value,mocha
archiver-utils,mocha --reporter dot
object-visit,mocha
collection-visit,mocha
map-visit,mocha
pascalcase,mocha
object-copy,mocha
static-extend,mocha
memory-fs,mocha
fragment-cache,mocha
cache-base,nyc --reporter=text --reporter=html mocha
pinkie-promise,mocha
regex-not,mocha
to-regex,mocha
base,mocha
snapdragon,mocha
nanomatch,mocha
class-utils,mocha
selfsigned,mocha -t 5000
snapdragon-util,mocha
hash.js,mocha --reporter=spec test/*-test.js && npm run lint
lie,npm run jshint && mocha -R nyan ./test/cover.js && tsc --noEmit ./test/types.ts
elliptic,npm run lint && npm run unit
asn1.js,mocha --reporter spec test/*-test.js && cd rfc/2560 && npm i && npm test && cd ../../rfc/5280 && npm i && npm test && cd ../../ && npm run lint
serve-index,mocha --reporter spec --bail --check-leaks test/
d3-shape,mocha 'test/**/*-test.js' && eslint src test
relateurl,c8 mocha test.js --bail --check-leaks
d3-interpolate,mocha 'test/**/*-test.js' && eslint src test
pretty-error,"mocha ""test/**/*.coffee"""
spdy,mocha --reporter=spec test/*-test.js
spdy-transport,mocha --reporter=spec test/**/*-test.js test/**/**/*-test.js
renderkid,"mocha ""test/**/*.coffee"""
hpack.js,mocha test/*-test.js
wbuf,mocha test/**/*-test.js
browserify-zlib,npm run test:node && npm run test:browser
d3-time,TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test
@aws-crypto/crc32,lerna run test
sharp,npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types
hmac-drbg,mocha --reporter=spec test/*-test.js
des.js,NODE_OPTIONS=--openssl-legacy-provider mocha --reporter=spec test/*-test.js
d3-time-format,TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test
d3-scale,TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test
json-bigint,./node_modules/mocha/bin/mocha -R spec --check-leaks test/*-test.js
dom-converter,"mocha ""test/**/*.coffee"""
expand-tilde,mocha
archiver,mocha --reporter dot
homedir-polyfill,mocha
zip-stream,mocha --reporter dot
compress-commons,mocha --reporter dot
crc32-stream,mocha --reporter dot
superagent,npm run build && npm run lint && make test
miller-rabin,mocha --reporter=spec test/**/*-test.js
linkify-it,npm run lint && npm run build && c8 --exclude build --exclude test -r text -r html -r lcov mocha
one-time,nyc --reporter=text --reporter=json-summary npm run test:runner
colorspace,mocha test.js
resolve-dir,mocha
@dabh/diagnostics,nyc --reporter=text --reporter=lcov npm run test:runner
@parcel/watcher,mocha
findup-sync,nyc mocha --async-only
duplexer2,mocha -R tap
compare-func,npm run-script lint && mocha
markdown-it,npm run lint && CJS_ONLY=1 npm run build && c8 --exclude dist --exclude test -r text -r html -r lcov mocha && node support/specsplit.mjs
notifications-node-client,"mocha ""spec/**/*.js"" && npm run test:markdown:standard"
basic-auth,mocha --reporter spec --bail --check-leaks test/
@img/sharp-linux-x64,npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types
connect,mocha --require test/support/env --reporter spec --bail --check-leaks test/
needle,mocha test
ts-loader,git clean -xfd test/comparison-tests && git clean -xfd test/execution-tests && node test/run-tests.js
@aws-crypto/crc32c,lerna run test
@aws-crypto/sha1-browser,lerna run test
aws-sdk,node ./scripts/composite-test.js
for-own,mocha
sinon,npm run test-node && npm run test-headless && npm run test-webworker
md5,mocha
nodemon,npm run lint && npm run spec
sane,npm run format && eslint src/ test/ index.js && mocha --bail test/test.js && mocha --bail test/utils-test.js && mocha --bail 'test/watchexec_*-test.js'
@parcel/watcher-linux-x64-glibc,mocha
is-relative,mocha
pgpass,"""$npm_execpath"" run _hint && ""$npm_execpath"" run _covered_test"
capture-exit,mocha test
is-absolute,mocha
is-unc-path,mocha
supertest,nyc --reporter=html --reporter=text mocha --exit --require should --reporter spec --check-leaks
write,mocha
coa,nyc mocha
multer,mocha --reporter spec --exit --check-leaks test/
redis-parser,nyc --cache --preserve-comments mocha -- -R spec && nyc report --reporter=html
eslint-plugin-es,npm run -s test:mocha
@parcel/watcher-linux-x64-musl,mocha
temp,mocha test/temp-test.js
recursive-readdir,mocha test/
path-root,mocha
lazy-cache,mocha
nise,mocha lib/**/*.test.js
router,mocha --reporter spec --check-leaks test/
parse-filepath,mocha
vinyl,nyc mocha --async-only
css,mocha --require should --reporter spec test/*.js
node-dir,./node_modules/.bin/mocha --reporter spec
request-progress,mocha --bail
streamroller,nyc --check-coverage mocha
currently-unhandled,xo && nyc ava
@webassemblyjs/wast-parser,make test
@webassemblyjs/helper-code-frame,make test
@webassemblyjs/helper-fsm,make test
@webassemblyjs/helper-module-context,make test
isomorphic-fetch,jshint `npm run -s files` && lintspaces -i js-comments -e .editorconfig `npm run -s files` && mocha
d3-transition,mocha 'test/**/*-test.js' && eslint src test
@cypress/xvfb,eslint **/*.js && mocha
morgan,mocha --check-leaks --reporter spec
d3-drag,mocha 'test/**/*-test.js' && eslint src test
d3-geo,mocha 'test/**/*-test.js' && eslint src test
webpack-hot-middleware,mocha
eslint-plugin-flowtype,mocha --require @babel/register ./tests/rules/index.js
eslint-plugin-node,nyc npm run -s test:_mocha
browser-resolve,node scripts/setup-symlinks.js && mocha --reporter list test/*.js
wait-on,npm run lint && npm run test:mocha
chromium-bidi,wireit
d3-zoom,mocha 'test/**/*-test.js' && eslint src test
babel-eslint,npm run lint && npm run test-only
@aws-crypto/ie11-detection,lerna run test
nock,nyc --reporter=lcov --reporter=text mocha --recursive tests
stacktrace-parser,tsd && mocha --require ./mocha-babel-hook 'test/**/*.spec.js'
zen-observable-ts,mocha tests/bundle.cjs
watchpack-chokidar2,mocha
randexp,istanbul cover node_modules/.bin/_mocha -- test/*-test.js
mnemonist,mocha
find-yarn-workspace-root,mocha tests/**/*-test.js
unixify,mocha
@surma/rollup-plugin-off-main-thread,node ./run_tests.js
cli-progress,mocha test/**/*.test.js
npm-run-all,nyc --require babel-register npm run _mocha
@wry/equality,nx run-many --target=test --all --parallel
@wry/trie,nx run-many --target=test --all --parallel
d3-scale-chromatic,mocha 'test/**/*-test.js' && eslint src test
cookie-parser,mocha --reporter spec --bail --check-leaks test/
d3-force,mocha 'test/**/*-test.js' && eslint src test
d3-dsv,TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test
localforage,"node -e ""require('grunt').cli()"" null test"
@mui/icons-material,node scripts/test.mjs
@zkochan/js-yaml,npm run lint && mocha
d3-delaunay,mocha 'test/**/*-test.js' && eslint src test
d3,mocha 'test/**/*-test.js' && eslint src test
window-size,mocha
sockjs-client,mocha tests/node.js
seek-bzip,mocha
cookies,mocha --require test/support/env --reporter spec --bail --check-leaks test/
keygrip,mocha --reporter spec test/
@wry/context,nx run-many --target=test --all --parallel
marked-terminal,cross-env FORCE_HYPERLINK=0 mocha tests/*.js --reporter spec
get-pkg-repo,eslint src/ && nyc mocha --opts mocha.opts src/**/*.spec.js
d3-brush,mocha 'test/**/*-test.js' && eslint src test
brotli,mocha
lolex,npm run test-node && npm run test-headless
contains-path,mocha
d3-chord,mocha 'test/**/*-test.js' && eslint src test
fined,nyc mocha --async-only
d3-contour,mkdir -p test/output && mocha -r module-alias/register 'test/**/*-test.js' test/snapshot.js && eslint src test
canvas,mocha test/*.test.js
unicode-trie,mocha
passport,node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js
plist,make test
object.defaults,mocha
d3-fetch,mocha 'test/**/*-test.js' && eslint src test
@datadog/native-appsec,mocha
klaw-sync,npm run lint && npm run unit
dd-trace,SERVICES=* yarn services && mocha --expose-gc 'packages/dd-trace/test/setup/node.js' 'packages/*/test/**/*.spec.js'
nearley,mocha test/*.test.js
@datadog/native-iast-taint-tracking,mocha --recursive
stylus,mocha test/ test/middleware/ --require chai --bail --check-leaks --reporter dot
@datadog/native-metrics,mocha -n expose-gc 'test/**/*.spec.js' && node test/main
is-color-stop,nyc --reporter=lcov --reporter=text mocha
gonzales-pe,bash ./scripts/test.sh
bufferutil,mocha
make-iterator,mocha
glob-base,mocha
c8,cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=10000 ./test/*.js
liftoff,nyc mocha --async-only
http-assert,mocha --reporter spec --check-leaks test/
uid-safe,mocha --trace-deprecation --reporter spec --bail --check-leaks test/
karma,npm run test:unit && npm run test:e2e && npm run test:client
fancy-log,nyc mocha --async-only
object.map,mocha
sanitize-html,npx eslint . && mocha test/test.js
find-file-up,mocha
object.omit,mocha
find-pkg,mocha
koa-convert,mocha index.spec.js --exit
ssf,make test
karma-chrome-launcher,npm run unit-test && npm run integration-test
cfb,make test
utf-8-validate,mocha
glob-stream,nyc mocha --async-only
expand-range,mocha
jsonpath,mocha -u tdd test && jscs lib && jshint lib
xss,export DEBUG=xss:* && mocha -t 5000
mquery,mocha --exit test/index.js test/*.test.js
mv,mocha test/test.js --reporter spec
eslint-plugin-eslint-comments,nyc npm run -s test:mocha
vinyl-fs,nyc mocha --async-only
ethers,npm run test-esm
easy-table,mocha -R dot --check-leaks
eslint-plugin-es-x,npm run -s test:mocha
wait-port,DEBUG=wait-port nyc --report-dir 'artifacts/coverage' -x 'lib/**/*.spec.js' --reporter=html --reporter=text mocha --recursive -t 10000 'lib/**/*.spec.js'
is-dotfile,mocha
parse-glob,mocha
plugin-error,nyc mocha --async-only
ansi-to-html,nyc mocha --reporter tap
unicode-properties,npm run build && mocha
lmdb,mocha test/**.test.js --expose-gc --recursive
tdigest,mocha specs
tslint,npm-run-all test:pre -p test:mocha test:rules
serve-favicon,mocha --reporter spec --bail --check-leaks test/
is-equal-shallow,mocha
regex-cache,mocha
git-log-parser,mocha
node-environment-flags,mocha
css-selector-tokenizer,mocha
detective-typescript,npm run lint && npm run mocha
underscore.string,npm run test:lint && npm run test:unit && npm run coverage
precinct,npm run lint && npm run mocha
tmp-promise,npm run mocha && npm run check-types
detective-es6,npm run lint && npm run mocha
module-definition,npm run lint && npm run mocha
json2mq,./node_modules/.bin/mocha test
create-error-class,mocha
detective-amd,npm run lint && npm run mocha
get-amd-module-type,npm run lint && npm run mocha
detective-cjs,npm run lint && npm run mocha
should,mocha -R mocha-better-spec-reporter --require ./cjs/should --color --check-leaks ./test/*.test.js ./test/**/*.test.js
gray-matter,mocha
should-format,mocha --harmony_simd -R mocha-better-spec-reporter tests/test.js
should-equal,mocha --ui bdd -R mocha-better-spec-reporter test.js
@apidevtools/swagger-parser,npm run test:node && npm run test:typescript
now-and-later,nyc mocha --async-only
@lmdb/lmdb-linux-x64,mocha test/**.test.js --expose-gc --recursive
libmime,grunt
react-focus-lock,yarn test:pick -- '_tests/**/*spec.js'
clipboard,karma start --single-run
fs-mkdirp-stream,nyc mocha --async-only
to-through,nyc mocha --async-only
resolve-options,nyc mocha --async-only
vinyl-sourcemap,nyc mocha --async-only
cls-hooked,mocha test/*.js & tap test/tap/*.tap.js
ansi-gray,mocha
pm2,bash test/unit.sh && bash test/e2e.sh
mixin-object,mocha
good-listener,karma start --single-run
express-session,./test/support/gencert.sh && mocha --require test/support/env --check-leaks --bail --no-exit --reporter spec test/
isurl,nyc --silent mocha test.js --bail --check-leaks
@supabase/node-fetch,cross-env BABEL_ENV=test mocha --require babel-register --throw-deprecation test/test.js
@ethersproject/abi,npm run test-esm
react-clientside-effect,mocha
load-yaml-file,standard && mocha && ts-readme-generator --check
@wry/caches,nx run-many --target=test --all --parallel
ordered-read-streams,nyc mocha --async-only
errorhandler,mocha --reporter spec --bail --check-leaks test/
react-helmet,karma start karma.config.js
@ardatan/sync-fetch,mocha --throw-deprecation test/spec.js
to-absolute-glob,mocha
glogg,nyc mocha --async-only
section-matter,mocha
unique-stream,mocha
align-text,mocha
swagger-ui-express,./node_modules/.bin/mocha test/*.spec.js
gulplog,nyc mocha --async-only
broadcast-channel,"echo ""RUN ALL:"" && npm run test:node && npm run test:browser && npm run test:e2e && npm run test:modules"
css-vendor,cross-env NODE_ENV=test karma start --single-run
@ethersproject/bytes,npm run test-esm
@ethersproject/address,npm run test-esm
@ethersproject/logger,npm run test-esm
blob,mocha
center-align,mocha
right-align,mocha
@ethersproject/bignumber,npm run test-esm
@ethersproject/keccak256,npm run test-esm
cwd,mocha
@parcel/watcher-linux-arm64-glibc,mocha
@parcel/watcher-win32-x64,mocha
karma-coverage,mocha
@ethersproject/rlp,npm run test-esm
wkx,jshint . && nyc mocha
@parcel/watcher-linux-arm64-musl,mocha
@ethersproject/abstract-signer,npm run test-esm
@ethersproject/strings,npm run test-esm
@ethersproject/constants,npm run test-esm
sync-fetch,mocha --throw-deprecation test/spec.js
@ethersproject/transactions,npm run test-esm
fontkit,run-s build mocha
@ethersproject/hash,npm run test-esm
@ethersproject/properties,npm run test-esm
@ethersproject/networks,npm run test-esm
multipipe,prettier-standard '**/*.js' 'test/*.js' && standard && mocha --reporter spec --timeout 300
@ethersproject/signing-key,npm run test-esm
chai-as-promised,c8 mocha
@ethersproject/web,npm run test-esm
gulp,nyc mocha --async-only
glob-watcher,nyc mocha test test/lib --async-only
@ethersproject/abstract-provider,npm run test-esm
@sinonjs/formatio,mocha 'lib/**/*.test.js'
@ethersproject/base64,npm run test-esm
stream-to-array,mocha --reporter spec --bail
react-modal,cross-env NODE_ENV=test karma start
@parcel/watcher-darwin-arm64,mocha
axios-mock-adapter,mocha && npm run clean && npm run build:umd:min && npm run test:types
cz-conventional-changelog,mocha *.test.js
json-pointer,nyc make test
async-done,nyc mocha --async-only
has-glob,mocha
@parcel/watcher-darwin-x64,mocha
gulp-cli,mocha --async-only --timeout 5000 test/lib test
semver-greatest-satisfied-range,nyc mocha --async-only
merge-deep,mocha
bach,nyc mocha --async-only
async-settle,nyc mocha --async-only
@parcel/watcher-win32-arm64,mocha
each-props,nyc mocha --async-only
@parcel/watcher-linux-arm-glibc,mocha
@parcel/watcher-android-arm64,mocha
@parcel/watcher-win32-ia32,mocha
is2,./node_modules/.bin/mocha -C --reporter list tests.js
1 debug npm run test:node && npm run test:browser && npm run lint
3 js-yaml npm run lint && mocha
4 fs-extra npm run lint && npm run unit && npm run unit-esm
5 iconv-lite mocha --reporter spec --grep .
form-data npm run tests-only
6 braces mocha -r ./test/mocha-initialization.js
7 fill-range npm run lint && npm run mocha
8 micromatch mocha
23 eslint node Makefile.js test
24 is-extendable mocha
25 fast-levenshtein mocha
26 @eslint/eslintrc mocha -R progress -c 'tests/lib/*.cjs' && c8 mocha -R progress -c 'tests/lib/**/*.js'
27 esquery nyc npm run mocha && npm run lint
28 on-finished mocha --reporter spec --check-leaks test/
29 error-ex mocha --compilers coffee:coffee-script/register
30 raw-body mocha --trace-deprecation --reporter spec --bail --check-leaks test/
31 finalhandler mocha --reporter spec --check-leaks test/
32 send mocha --check-leaks --reporter spec
33 body-parser mocha --reporter spec --check-leaks test/
34 accepts mocha --reporter spec --check-leaks --bail test/
35 serve-static mocha --reporter spec --bail --check-leaks test/
36 @eslint/js node Makefile.js test
37 express mocha --require test/support/env --reporter spec --check-leaks test/ test/acceptance/
38 @sinonjs/fake-timers npm run test-node && npm run test-headless
39 type-is mocha --reporter spec --check-leaks --bail test/
40 terser node test/compress.js && mocha test/mocha
41 through2 npm run lint && npm run test:node && npm run test:browser
42 css-tree mocha lib/__tests --require lib/__tests/helpers/setup.js --reporter progress
43 psl mocha test/*.spec.js
44 proxy-addr mocha --reporter spec --bail --check-leaks test/
45 babel-plugin-istanbul cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --timeout 5000 test/*.js
46 @humanwhocodes/config-array mocha -r esm tests/ --recursive
47 jsdom npm-run-all --continue-on-error test:*
48 makeerror NODE_PATH=./lib mocha --ui exports
49 walker NODE_PATH=./lib mocha --ui exports
50 watchpack mocha
51 eslint-plugin-import npm run tests-only
52 eslint-module-utils npm run tests-only
53 eslint-import-resolver-node npm run tests-only
54 eslint-utils run-s "format:prettier -- --check" lint build test:mocha
55 has-values mocha
56 has-value mocha
57 @webassemblyjs/ast make test
58 @webassemblyjs/helper-wasm-bytecode make test
59 color xo && tsd && mocha
60 @webassemblyjs/wast-printer make test
61 @webassemblyjs/helper-api-error make test
62 @webassemblyjs/wasm-parser make test
63 @webassemblyjs/wasm-gen make test
64 @webassemblyjs/wasm-edit make test
65 @webassemblyjs/wasm-opt make test
66 @webassemblyjs/helper-wasm-section make test
67 @webassemblyjs/helper-buffer make test
68 @webassemblyjs/leb128 make test
69 @webassemblyjs/ieee754 make test
70 @webassemblyjs/utf8 make test
71 @webassemblyjs/floating-point-hex-parser make test
72 url-parse c8 --reporter=lcov --reporter=text mocha test/test.js
73 @cspotcode/source-map-support mocha
74 simple-swizzle mocha --compilers coffee:coffee-script/register
75 global-prefix mocha
76 enquirer mocha && tsc -p ./test/types
77 compression mocha --check-leaks --reporter spec
78 @aws-crypto/util lerna run test
79 compressible mocha --reporter spec --bail --check-leaks test/
80 regenerator-transform test/run.sh
81 @aws-crypto/sha256-js lerna run test
82 url npm run tests-only
83 ejs npx jake test
84 global-modules mocha
85 @webassemblyjs/helper-numbers make test
86 thenify mocha --reporter spec
87 ecdsa-sig-formatter istanbul cover --root src _mocha -- spec
88 mz mocha --reporter spec
89 thenify-all mocha --reporter spec
90 rechoir nyc mocha --async-only
91 eslint-plugin-prettier pnpm lint && mocha
92 hoist-non-react-statics nyc mocha tests/unit/ --recursive --reporter spec --require=@babel/register
93 clone-deep mocha
94 shallow-clone mocha
95 handlebars npm run test:mocha
96 jsonwebtoken npm run lint && npm run coverage && cost-of-modules
97 jake ./bin/cli.js test
98 @aws-crypto/supports-web-crypto lerna run test
99 prettier-linter-helpers npm run lint && mocha
100 @aws-crypto/sha256-browser lerna run test
101 cors npm run lint && npm run test-ci
102 expand-brackets mocha
103 node-gyp cross-env NODE_GYP_NULL_LOGGER=true mocha --timeout 15000 test/test-download.js test/test-*
104 extglob mocha
105 fd-slicer mocha --reporter spec --check-leaks
106 http-proxy nyc --reporter=text --reporter=lcov npm run mocha
107 promise mocha --bail --timeout 200 --slow 99999 -R dot && npm run test-memory-leak
108 set-value mocha
109 csso mocha test --reporter ${REPORTER:-progress}
110 promise-retry mocha --bail -t 10000
111 object.pick mocha
112 language-tags c8 mocha
113 d3-array mocha 'test/**/*-test.js' && eslint src test
114 @img/sharp-linuxmusl-x64 npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types
115 registry-auth-token mocha --require test/global-hooks.js
116 ua-parser-js ./script/test-all.sh
117 union-value mocha
118 to-object-path mocha
119 unset-value mocha
120 archiver-utils mocha --reporter dot
121 object-visit mocha
122 collection-visit mocha
123 map-visit mocha
124 pascalcase mocha
125 object-copy mocha
126 static-extend mocha
127 memory-fs mocha
128 fragment-cache mocha
129 cache-base nyc --reporter=text --reporter=html mocha
130 pinkie-promise mocha
131 regex-not mocha
132 to-regex mocha
133 base mocha
134 snapdragon mocha
135 nanomatch mocha
136 class-utils mocha
137 selfsigned mocha -t 5000
138 snapdragon-util mocha
139 hash.js mocha --reporter=spec test/*-test.js && npm run lint
140 lie npm run jshint && mocha -R nyan ./test/cover.js && tsc --noEmit ./test/types.ts
141 elliptic npm run lint && npm run unit
142 asn1.js mocha --reporter spec test/*-test.js && cd rfc/2560 && npm i && npm test && cd ../../rfc/5280 && npm i && npm test && cd ../../ && npm run lint
143 serve-index mocha --reporter spec --bail --check-leaks test/
144 d3-shape mocha 'test/**/*-test.js' && eslint src test
145 relateurl c8 mocha test.js --bail --check-leaks
146 d3-interpolate mocha 'test/**/*-test.js' && eslint src test
147 pretty-error mocha "test/**/*.coffee"
148 spdy mocha --reporter=spec test/*-test.js
149 spdy-transport mocha --reporter=spec test/**/*-test.js test/**/**/*-test.js
150 renderkid mocha "test/**/*.coffee"
151 hpack.js mocha test/*-test.js
152 wbuf mocha test/**/*-test.js
153 browserify-zlib npm run test:node && npm run test:browser
154 d3-time TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test
155 @aws-crypto/crc32 lerna run test
156 sharp npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types
157 hmac-drbg mocha --reporter=spec test/*-test.js
158 des.js NODE_OPTIONS=--openssl-legacy-provider mocha --reporter=spec test/*-test.js
159 d3-time-format TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test
160 d3-scale TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test
161 json-bigint ./node_modules/mocha/bin/mocha -R spec --check-leaks test/*-test.js
162 dom-converter mocha "test/**/*.coffee"
163 expand-tilde mocha
164 archiver mocha --reporter dot
165 homedir-polyfill mocha
166 zip-stream mocha --reporter dot
167 compress-commons mocha --reporter dot
168 crc32-stream mocha --reporter dot
169 superagent npm run build && npm run lint && make test
170 miller-rabin mocha --reporter=spec test/**/*-test.js
171 linkify-it npm run lint && npm run build && c8 --exclude build --exclude test -r text -r html -r lcov mocha
172 one-time nyc --reporter=text --reporter=json-summary npm run test:runner
173 colorspace mocha test.js
174 resolve-dir mocha
175 @dabh/diagnostics nyc --reporter=text --reporter=lcov npm run test:runner
176 @parcel/watcher mocha
177 findup-sync nyc mocha --async-only
178 duplexer2 mocha -R tap
179 compare-func npm run-script lint && mocha
180 markdown-it npm run lint && CJS_ONLY=1 npm run build && c8 --exclude dist --exclude test -r text -r html -r lcov mocha && node support/specsplit.mjs
181 notifications-node-client mocha "spec/**/*.js" && npm run test:markdown:standard
182 basic-auth mocha --reporter spec --bail --check-leaks test/
183 @img/sharp-linux-x64 npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types
184 connect mocha --require test/support/env --reporter spec --bail --check-leaks test/
185 needle mocha test
186 ts-loader git clean -xfd test/comparison-tests && git clean -xfd test/execution-tests && node test/run-tests.js
187 @aws-crypto/crc32c lerna run test
188 @aws-crypto/sha1-browser lerna run test
189 aws-sdk node ./scripts/composite-test.js
190 for-own mocha
191 sinon npm run test-node && npm run test-headless && npm run test-webworker
192 md5 mocha
193 nodemon npm run lint && npm run spec
194 sane npm run format && eslint src/ test/ index.js && mocha --bail test/test.js && mocha --bail test/utils-test.js && mocha --bail 'test/watchexec_*-test.js'
195 @parcel/watcher-linux-x64-glibc mocha
196 is-relative mocha
197 pgpass "$npm_execpath" run _hint && "$npm_execpath" run _covered_test
198 capture-exit mocha test
199 is-absolute mocha
200 is-unc-path mocha
201 supertest nyc --reporter=html --reporter=text mocha --exit --require should --reporter spec --check-leaks
202 write mocha
203 coa nyc mocha
204 multer mocha --reporter spec --exit --check-leaks test/
205 redis-parser nyc --cache --preserve-comments mocha -- -R spec && nyc report --reporter=html
206 eslint-plugin-es npm run -s test:mocha
207 @parcel/watcher-linux-x64-musl mocha
208 temp mocha test/temp-test.js
209 recursive-readdir mocha test/
210 path-root mocha
211 lazy-cache mocha
212 nise mocha lib/**/*.test.js
213 router mocha --reporter spec --check-leaks test/
214 parse-filepath mocha
215 vinyl nyc mocha --async-only
216 css mocha --require should --reporter spec test/*.js
217 node-dir ./node_modules/.bin/mocha --reporter spec
218 request-progress mocha --bail
219 streamroller nyc --check-coverage mocha
220 currently-unhandled xo && nyc ava
221 @webassemblyjs/wast-parser make test
222 @webassemblyjs/helper-code-frame make test
223 @webassemblyjs/helper-fsm make test
224 @webassemblyjs/helper-module-context make test
225 isomorphic-fetch jshint `npm run -s files` && lintspaces -i js-comments -e .editorconfig `npm run -s files` && mocha
226 d3-transition mocha 'test/**/*-test.js' && eslint src test
227 @cypress/xvfb eslint **/*.js && mocha
228 morgan mocha --check-leaks --reporter spec
229 d3-drag mocha 'test/**/*-test.js' && eslint src test
230 d3-geo mocha 'test/**/*-test.js' && eslint src test
231 webpack-hot-middleware mocha
232 eslint-plugin-flowtype mocha --require @babel/register ./tests/rules/index.js
233 eslint-plugin-node nyc npm run -s test:_mocha
234 browser-resolve node scripts/setup-symlinks.js && mocha --reporter list test/*.js
235 wait-on npm run lint && npm run test:mocha
236 chromium-bidi wireit
237 d3-zoom mocha 'test/**/*-test.js' && eslint src test
238 babel-eslint npm run lint && npm run test-only
239 @aws-crypto/ie11-detection lerna run test
240 nock nyc --reporter=lcov --reporter=text mocha --recursive tests
241 stacktrace-parser tsd && mocha --require ./mocha-babel-hook 'test/**/*.spec.js'
242 zen-observable-ts mocha tests/bundle.cjs
243 watchpack-chokidar2 mocha
244 randexp istanbul cover node_modules/.bin/_mocha -- test/*-test.js
245 mnemonist mocha
246 find-yarn-workspace-root mocha tests/**/*-test.js
247 unixify mocha
248 @surma/rollup-plugin-off-main-thread node ./run_tests.js
249 cli-progress mocha test/**/*.test.js
250 npm-run-all nyc --require babel-register npm run _mocha
251 @wry/equality nx run-many --target=test --all --parallel
252 @wry/trie nx run-many --target=test --all --parallel
253 d3-scale-chromatic mocha 'test/**/*-test.js' && eslint src test
254 cookie-parser mocha --reporter spec --bail --check-leaks test/
255 d3-force mocha 'test/**/*-test.js' && eslint src test
256 d3-dsv TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test
257 localforage node -e "require('grunt').cli()" null test
258 @mui/icons-material node scripts/test.mjs
259 @zkochan/js-yaml npm run lint && mocha
260 d3-delaunay mocha 'test/**/*-test.js' && eslint src test
261 d3 mocha 'test/**/*-test.js' && eslint src test
262 window-size mocha
263 sockjs-client mocha tests/node.js
264 seek-bzip mocha
265 cookies mocha --require test/support/env --reporter spec --bail --check-leaks test/
266 keygrip mocha --reporter spec test/
267 @wry/context nx run-many --target=test --all --parallel
268 marked-terminal cross-env FORCE_HYPERLINK=0 mocha tests/*.js --reporter spec
269 get-pkg-repo eslint src/ && nyc mocha --opts mocha.opts src/**/*.spec.js
270 d3-brush mocha 'test/**/*-test.js' && eslint src test
271 brotli mocha
272 lolex npm run test-node && npm run test-headless
273 contains-path mocha
274 d3-chord mocha 'test/**/*-test.js' && eslint src test
275 fined nyc mocha --async-only
276 d3-contour mkdir -p test/output && mocha -r module-alias/register 'test/**/*-test.js' test/snapshot.js && eslint src test
277 canvas mocha test/*.test.js
278 unicode-trie mocha
279 passport node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js
280 plist make test
281 object.defaults mocha
282 d3-fetch mocha 'test/**/*-test.js' && eslint src test
283 @datadog/native-appsec mocha
284 klaw-sync npm run lint && npm run unit
285 dd-trace SERVICES=* yarn services && mocha --expose-gc 'packages/dd-trace/test/setup/node.js' 'packages/*/test/**/*.spec.js'
286 nearley mocha test/*.test.js
287 @datadog/native-iast-taint-tracking mocha --recursive
288 stylus mocha test/ test/middleware/ --require chai --bail --check-leaks --reporter dot
289 @datadog/native-metrics mocha -n expose-gc 'test/**/*.spec.js' && node test/main
290 is-color-stop nyc --reporter=lcov --reporter=text mocha
291 gonzales-pe bash ./scripts/test.sh
292 bufferutil mocha
293 make-iterator mocha
294 glob-base mocha
295 c8 cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=10000 ./test/*.js
296 liftoff nyc mocha --async-only
297 http-assert mocha --reporter spec --check-leaks test/
298 uid-safe mocha --trace-deprecation --reporter spec --bail --check-leaks test/
299 karma npm run test:unit && npm run test:e2e && npm run test:client
300 fancy-log nyc mocha --async-only
301 object.map mocha
302 sanitize-html npx eslint . && mocha test/test.js
303 find-file-up mocha
304 object.omit mocha
305 find-pkg mocha
306 koa-convert mocha index.spec.js --exit
307 ssf make test
308 karma-chrome-launcher npm run unit-test && npm run integration-test
309 cfb make test
310 utf-8-validate mocha
311 glob-stream nyc mocha --async-only
312 expand-range mocha
313 jsonpath mocha -u tdd test && jscs lib && jshint lib
314 xss export DEBUG=xss:* && mocha -t 5000
315 mquery mocha --exit test/index.js test/*.test.js
316 mv mocha test/test.js --reporter spec
317 eslint-plugin-eslint-comments nyc npm run -s test:mocha
318 vinyl-fs nyc mocha --async-only
319 ethers npm run test-esm
320 easy-table mocha -R dot --check-leaks
321 eslint-plugin-es-x npm run -s test:mocha
322 wait-port DEBUG=wait-port nyc --report-dir 'artifacts/coverage' -x 'lib/**/*.spec.js' --reporter=html --reporter=text mocha --recursive -t 10000 'lib/**/*.spec.js'
323 is-dotfile mocha
324 parse-glob mocha
325 plugin-error nyc mocha --async-only
326 ansi-to-html nyc mocha --reporter tap
327 unicode-properties npm run build && mocha
328 lmdb mocha test/**.test.js --expose-gc --recursive
329 tdigest mocha specs
330 tslint npm-run-all test:pre -p test:mocha test:rules
331 serve-favicon mocha --reporter spec --bail --check-leaks test/
332 is-equal-shallow mocha
333 regex-cache mocha
334 git-log-parser mocha
335 node-environment-flags mocha
336 css-selector-tokenizer mocha
337 detective-typescript npm run lint && npm run mocha
338 underscore.string npm run test:lint && npm run test:unit && npm run coverage
339 precinct npm run lint && npm run mocha
340 tmp-promise npm run mocha && npm run check-types
341 detective-es6 npm run lint && npm run mocha
342 module-definition npm run lint && npm run mocha
343 json2mq ./node_modules/.bin/mocha test
344 create-error-class mocha
345 detective-amd npm run lint && npm run mocha
346 get-amd-module-type npm run lint && npm run mocha
347 detective-cjs npm run lint && npm run mocha
348 should mocha -R mocha-better-spec-reporter --require ./cjs/should --color --check-leaks ./test/*.test.js ./test/**/*.test.js
349 gray-matter mocha
350 should-format mocha --harmony_simd -R mocha-better-spec-reporter tests/test.js
351 should-equal mocha --ui bdd -R mocha-better-spec-reporter test.js
352 @apidevtools/swagger-parser npm run test:node && npm run test:typescript
353 now-and-later nyc mocha --async-only
354 @lmdb/lmdb-linux-x64 mocha test/**.test.js --expose-gc --recursive
355 libmime grunt
356 react-focus-lock yarn test:pick -- '_tests/**/*spec.js'
357 clipboard karma start --single-run
358 fs-mkdirp-stream nyc mocha --async-only
359 to-through nyc mocha --async-only
360 resolve-options nyc mocha --async-only
361 vinyl-sourcemap nyc mocha --async-only
362 cls-hooked mocha test/*.js & tap test/tap/*.tap.js
363 ansi-gray mocha
364 pm2 bash test/unit.sh && bash test/e2e.sh
365 mixin-object mocha
366 good-listener karma start --single-run
367 express-session ./test/support/gencert.sh && mocha --require test/support/env --check-leaks --bail --no-exit --reporter spec test/
368 isurl nyc --silent mocha test.js --bail --check-leaks
369 @supabase/node-fetch cross-env BABEL_ENV=test mocha --require babel-register --throw-deprecation test/test.js
370 @ethersproject/abi npm run test-esm
371 react-clientside-effect mocha
372 load-yaml-file standard && mocha && ts-readme-generator --check
373 @wry/caches nx run-many --target=test --all --parallel
374 ordered-read-streams nyc mocha --async-only
375 errorhandler mocha --reporter spec --bail --check-leaks test/
376 react-helmet karma start karma.config.js
377 @ardatan/sync-fetch mocha --throw-deprecation test/spec.js
378 to-absolute-glob mocha
379 glogg nyc mocha --async-only
380 section-matter mocha
381 unique-stream mocha
382 align-text mocha
383 swagger-ui-express ./node_modules/.bin/mocha test/*.spec.js
384 gulplog nyc mocha --async-only
385 broadcast-channel echo "RUN ALL:" && npm run test:node && npm run test:browser && npm run test:e2e && npm run test:modules
386 css-vendor cross-env NODE_ENV=test karma start --single-run
387 @ethersproject/bytes npm run test-esm
388 @ethersproject/address npm run test-esm
389 @ethersproject/logger npm run test-esm
390 blob mocha
391 center-align mocha
392 right-align mocha
393 @ethersproject/bignumber npm run test-esm
394 @ethersproject/keccak256 npm run test-esm
395 cwd mocha
396 @parcel/watcher-linux-arm64-glibc mocha
397 @parcel/watcher-win32-x64 mocha
398 karma-coverage mocha
399 @ethersproject/rlp npm run test-esm
400 wkx jshint . && nyc mocha
401 @parcel/watcher-linux-arm64-musl mocha
402 @ethersproject/abstract-signer npm run test-esm
403 @ethersproject/strings npm run test-esm
404 @ethersproject/constants npm run test-esm
405 sync-fetch mocha --throw-deprecation test/spec.js
406 @ethersproject/transactions npm run test-esm
407 fontkit run-s build mocha
408 @ethersproject/hash npm run test-esm
409 @ethersproject/properties npm run test-esm
410 @ethersproject/networks npm run test-esm
411 multipipe prettier-standard '**/*.js' 'test/*.js' && standard && mocha --reporter spec --timeout 300
412 @ethersproject/signing-key npm run test-esm
413 chai-as-promised c8 mocha
414 @ethersproject/web npm run test-esm
415 gulp nyc mocha --async-only
416 glob-watcher nyc mocha test test/lib --async-only
417 @ethersproject/abstract-provider npm run test-esm
418 @sinonjs/formatio mocha 'lib/**/*.test.js'
419 @ethersproject/base64 npm run test-esm
420 stream-to-array mocha --reporter spec --bail
421 react-modal cross-env NODE_ENV=test karma start
422 @parcel/watcher-darwin-arm64 mocha
423 axios-mock-adapter mocha && npm run clean && npm run build:umd:min && npm run test:types
424 cz-conventional-changelog mocha *.test.js
425 json-pointer nyc make test
426 async-done nyc mocha --async-only
427 has-glob mocha
428 @parcel/watcher-darwin-x64 mocha
429 gulp-cli mocha --async-only --timeout 5000 test/lib test
430 semver-greatest-satisfied-range nyc mocha --async-only
431 merge-deep mocha
432 bach nyc mocha --async-only
433 async-settle nyc mocha --async-only
434 @parcel/watcher-win32-arm64 mocha
435 each-props nyc mocha --async-only
436 @parcel/watcher-linux-arm-glibc mocha
437 @parcel/watcher-android-arm64 mocha
438 @parcel/watcher-win32-ia32 mocha
439 is2 ./node_modules/.bin/mocha -C --reporter list tests.js

2
package-lock.json generated
View File

@@ -22,7 +22,9 @@
"find-package-json": "^1.2.0", "find-package-json": "^1.2.0",
"git-client": "^1.9.3", "git-client": "^1.9.3",
"glob": "^11.0.3", "glob": "^11.0.3",
"glob-to-regexp": "^0.4.1",
"jalangi2": "^0.2.6", "jalangi2": "^0.2.6",
"minimatch": "^10.0.3",
"semver": "^7.7.2", "semver": "^7.7.2",
"set.prototype.intersection": "^1.1.7", "set.prototype.intersection": "^1.1.7",
"slice-js": "file:/home/atreyab/Documents/Docs/SlicingImport/repos-js/slice-js", "slice-js": "file:/home/atreyab/Documents/Docs/SlicingImport/repos-js/slice-js",

View File

@@ -24,7 +24,9 @@
"find-package-json": "^1.2.0", "find-package-json": "^1.2.0",
"git-client": "^1.9.3", "git-client": "^1.9.3",
"glob": "^11.0.3", "glob": "^11.0.3",
"glob-to-regexp": "^0.4.1",
"jalangi2": "^0.2.6", "jalangi2": "^0.2.6",
"minimatch": "^10.0.3",
"semver": "^7.7.2", "semver": "^7.7.2",
"set.prototype.intersection": "^1.1.7", "set.prototype.intersection": "^1.1.7",
"slice-js": "file:/home/atreyab/Documents/Docs/SlicingImport/repos-js/slice-js", "slice-js": "file:/home/atreyab/Documents/Docs/SlicingImport/repos-js/slice-js",

File diff suppressed because it is too large Load Diff

View File

@@ -80,7 +80,11 @@ export class LibraryTypesRecorder {
return literalValue; return literalValue;
} else if (type.isUndefined()) { } else if (type.isUndefined()) {
return undefined; return undefined;
} else if (type.isString()) { } else if(type.isNull()){
return null;
} else if(type.isBigInt()){
return simpleFaker.number.bigInt();
}else if (type.isString()) {
return simpleFaker.string.alphanumeric(); return simpleFaker.string.alphanumeric();
} else if (type.isNumber()) { } else if (type.isNumber()) {

View File

@@ -1,10 +1,10 @@
export const FILTER_LIST = [ import GlobToRegExp from "glob-to-regexp";
const FILTER_LIST = [
"https://github.com/substack/*",
"https://gitlab.com/contexttesting/zoroaster.git", "https://gitlab.com/contexttesting/zoroaster.git",
"https://github.com/Eternity-Bots", "https://github.com/Eternity-Bots",
"https://github.com/node-x-extras/x-path", "https://github.com/node-x-extras/x-path",
"https://github.com/substack/node-x256",
"https://github.com/substack/node-wordwrap",
"https://github.com/zkochan/packages/blob/main/which-pm-runs", "https://github.com/zkochan/packages/blob/main/which-pm-runs",
"https://github.com/webpack-contrib/webpack-addons", "https://github.com/webpack-contrib/webpack-addons",
"https://github.com/zznoillusion1026/MyImage", "https://github.com/zznoillusion1026/MyImage",
@@ -15,23 +15,34 @@ export const FILTER_LIST = [
"https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir", "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir",
"https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk", "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk",
"https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.macchiato", "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.macchiato",
"https://github.com/substack/text-table",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-object-rest-spread",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-catch-binding",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-generators",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-chaining",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-json-strings",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-nullish-coalescing-operator",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-bigint",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-dynamic-import",
"https://github.com/substack/node-commondir",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-export-namespace-from",
"https://github.com/substack/https-browserify",
"https://github.com/babel/babel/tree/master/packages/babel-runtime",
"https://github.com/paulmillr/async-each", "https://github.com/paulmillr/async-each",
"https://github.com/yarnpkg/yarn/blob/master/packages", "https://github.com/yarnpkg/yarn/blob/master/packages",
"https://github.com/substack/semver-compare", "https://github.com/emotion-js/emotion/tree/master/packages/stylis",
"https://github.com/substack/node-archy", "https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-types",
"https://github.com/substack/github-from-package", "https://github.com/thenativeweb/boolean",
"https://github.com/babel/babel/tree/master/packages/babel-core" "https://github.com/zkochan/packages/tree/master/read-yaml-file",
"https://github.com/johnotander/rgba-regex",
"https://github.com/adobe/react-spectrum/tree/main/packages/@internationalized/date",
"https://github.com/pnpm/pnpm/blob/main/packages",
"https://github.com/jhermsmeier/node-scuid",
"https://github.com/emotion-js/emotion/tree/master/packages/babel-plugin-emotion",
"https://github.com/emotion-js/emotion/tree/master/removed-packages/core",
"https://github.com/babel/babel/tree/master/packages/*",
"https://github.com/pugjs/pug/tree/master/packages/*",
"https://github.com/zkochan/packages/tree/master/*",
"https://github.com/Marak/Faker.js",
"https://github.com/ethanent/phin",
"https://github.com/Popmotion/popmotion/tree/master/packages/*",
"https://github.com/gulpjs/copy-prop"
]; ];
const FILTER_LIST_REGEX = FILTER_LIST.map(GlobToRegExp)
/**
*
* @param {string} repoUrl
* @returns
*/
export function matchFilterList(repoUrl) {
return FILTER_LIST_REGEX.some(filter => filter.test(repoUrl));
}

View File

@@ -30,9 +30,9 @@ const intermediateRepoList = await cacheFunctionOutput('repos.json', async funct
// const packageMap = new Map(packageList) // const packageMap = new Map(packageList)
console.log(`Total repos`,intermediateRepoList.length) console.log(`Total repos`,intermediateRepoList.length)
const intermediateRepoListSmaller = intermediateRepoList.slice(0,4000); const intermediateRepoListSmaller = intermediateRepoList.slice(0,5000);
const repoStatus = await processPromisesBatch(intermediateRepoListSmaller,20,cloneRepoAndCheck) const repoStatus = await processPromisesBatch(intermediateRepoListSmaller,15,cloneRepoAndCheck)
const repoStatusString = csv.stringify(repoStatus); const repoStatusString = csv.stringify(repoStatus);
await fsp.writeFile('repostatus.csv', repoStatusString); await fsp.writeFile('repostatus.csv', repoStatusString);

View File

@@ -3,7 +3,7 @@ import { lstat, readFile,rm } from 'fs/promises'
import git from 'git-client' import git from 'git-client'
import { resolve } from 'path' import { resolve } from 'path'
import int from 'set.prototype.intersection'; import int from 'set.prototype.intersection';
import { FILTER_LIST } from './FILTER_LIST.mjs'; import { matchFilterList } from './FILTER_LIST.mjs';
/** /**
* *
* @param {[string,string,number]} param0 * @param {[string,string,number]} param0
@@ -12,7 +12,7 @@ import { FILTER_LIST } from './FILTER_LIST.mjs';
export async function cloneRepoAndCheck([repoName, repoGitUrl, downloadCount]) { export async function cloneRepoAndCheck([repoName, repoGitUrl, downloadCount]) {
const repoPath = resolve('../cache-repos/repos', repoName) const repoPath = resolve('../cache-repos/repos', repoName)
if (FILTER_LIST.includes(repoGitUrl)) { if (filterRepo(repoGitUrl)) {
console.log("[git] ignoring ", repoName) console.log("[git] ignoring ", repoName)
return [repoName, null] return [repoName, null]
}; };
@@ -44,6 +44,12 @@ export async function cloneRepoAndCheck([repoName, repoGitUrl, downloadCount]) {
} }
else return [repoName, null] else return [repoName, null]
} }
function filterRepo(repoGitUrl) {
return matchFilterList(repoGitUrl);
}
function hasAnyActualDependencies(packageJSONContents, repoName) { function hasAnyActualDependencies(packageJSONContents, repoName) {
if (packageJSONContents.dependencies !== undefined && Object.keys(packageJSONContents.dependencies).length > 0) { if (packageJSONContents.dependencies !== undefined && Object.keys(packageJSONContents.dependencies).length > 0) {
return true; return true;

105
test/filterlist.spec.js Normal file
View File

@@ -0,0 +1,105 @@
import { assert, expect } from "chai";
import { matchFilterList } from "../src_dataset/FILTER_LIST.mjs";
describe('Filter List', function (){
it('should not match URL in filter list',function(){
const repoUrls = ["",
"https://github.com/babel/babel/tree/master/packages",
"https://github.com/babel/babel/tree/master/",
"https://github.com/substact/node-x256"
];
const result = repoUrls.map(e=> matchFilterList(e));
result.forEach((e,i)=>{
assert.isFalse(e, `Expected ${repoUrls[i]} to not match filter list`);
})
})
it('should not match old URL filter list',function(){
const OLD_FILTER_LIST = [
"https://gitlab.com/contexttesting/zoroaster.git",
"https://github.com/Eternity-Bots",
"https://github.com/node-x-extras/x-path",
"https://github.com/substack/node-x256",
"https://github.com/substack/node-wordwrap",
"https://github.com/zkochan/packages/blob/main/which-pm-runs",
"https://github.com/webpack-contrib/webpack-addons",
"https://github.com/zznoillusion1026/MyImage",
"https://codehub.devcloud.huaweicloud.com/jsztxm00001/zzb-vue-ui.git",
"https://github.com/DZSF",
"https://github.com/chuzhixin/zx-count",
"https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat",
"https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir",
"https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk",
"https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.macchiato",
"https://github.com/substack/text-table",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-object-rest-spread",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-catch-binding",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-generators",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-chaining",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-json-strings",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-nullish-coalescing-operator",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-bigint",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-dynamic-import",
"https://github.com/substack/node-commondir",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-export-namespace-from",
"https://github.com/substack/https-browserify",
"https://github.com/babel/babel/tree/master/packages/babel-runtime",
"https://github.com/paulmillr/async-each",
"https://github.com/yarnpkg/yarn/blob/master/packages",
"https://github.com/substack/semver-compare",
"https://github.com/substack/node-archy",
"https://github.com/substack/github-from-package",
"https://github.com/babel/babel/tree/master/packages/babel-core",
"https://github.com/babel/babel/tree/master/packages/babel-code-frame",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-trailing-function-commas",
"https://github.com/emotion-js/emotion/tree/master/packages/stylis",
"https://github.com/babel/babel/tree/master/packages/babel-types",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-jsx",
"https://github.com/babel/babel/tree/master/packages/babel-messages",
"https://github.com/substack/node-chainsaw",
"https://github.com/substack/node-buffers",
"https://github.com/babel/babel/tree/master/packages/babel-traverse",
"https://github.com/substack/node-binary",
"https://github.com/substack/stream-combiner2",
"https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-types",
"https://github.com/babel/babel/tree/master/packages/babel-template",
"https://github.com/substack/node-optimist",
"https://github.com/thenativeweb/boolean",
"https://github.com/zkochan/packages/tree/master/read-yaml-file",
"https://github.com/babel/babel/tree/master/packages/babel-generator",
"https://github.com/johnotander/rgba-regex",
"https://github.com/adobe/react-spectrum/tree/main/packages/@internationalized/date",
"https://github.com/pnpm/pnpm/blob/main/packages",
"https://github.com/jhermsmeier/node-scuid",
"https://github.com/emotion-js/emotion/tree/master/packages/babel-plugin-emotion",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-modules-commonjs",
"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-strict-mode",
"https://github.com/babel/babel/tree/master/packages/babel-register",
"https://github.com/babel/babel/tree/master/packages/babel-helpers",
"https://github.com/emotion-js/emotion/tree/master/removed-packages/core",
"https://github.com/babel/babel/tree/master/packages/babel-helper-get-function-arity",
"https://github.com/babel/babel/tree/master/packages/babel-helper-function-name",
"https://github.com/babel/babel/tree/master/packages/*"
];
const result = OLD_FILTER_LIST.map(e=> matchFilterList(e));
result.forEach((e,i)=>{
assert.isTrue(e, `Expected ${OLD_FILTER_LIST[i]} to not match filter list`);
})
})
it('should match URL in filter list',function(){
const repoUrl = ["https://github.com/babel/babel/tree/master/packages/babel-helpers"];
const result = matchFilterList(repoUrl);
assert.isTrue(result);
})
it('should match URL in filter list',function(){
const repoUrls = ["https://github.com/babel/babel/tree/master/packages/babel-helper",
"https://github.com/babel/babel/tree/master/packages/babel-helper",
"https://github.com/babel/babel/tree/master/packages/something"
];
const result = repoUrls.map(e=> matchFilterList(e));
assert.isTrue(result.every(e=>e));
})
});