DefinitelyTyped / DefinitelyTyped

The repository for high quality TypeScript type definitions.
Other
47.83k stars 29.95k forks source link

Fixing arethetypeswrong errors for every package #66678

Closed andrewbranch closed 5 months ago

andrewbranch commented 10 months ago

I attempted to run arethetypeswrong on every DT package. (There were many errors due to deprecated packages and incorrect package names in header comments.)

I plan to integrate @arethetypeswrong/cli into CI checks (optional at first, since there are too many packages that would fail), but here are the results. It would be great to get this list down to zero.

andrewbranch commented 10 months ago

Updated list of failures, not errors:

absolute af-utilsreact-table af-utilsreact-virtual-headless af-utilsreact-virtual-list ahoy.js alcides alpinejs alpinejscollapse alpinejsfocus alpinejsintersect alpinejsmask alpinejsmorph alpinejspersist amqplib angular-environment angular-gridster angular-localforage antlr4 apca-w3 apollo-upload-client app-module-path architect array-sort asciify awesome-notifications aws-iot-device-sdk axios-cancel babel-plugin-syntax-jsx backstopjs balanced-match barnard59 barnard59-base barnard59-core barnard59-graph-store barnard59-validate-shacl bbcode-to-react better-scroll beyonkgdpr-cookie-consent-banner bezier-js bidirectional-map big.js blessed bounce.js brainhubeureact-carousel bramuspagination-sequence browserify bwip-js byte-size call-bind casperjs chartjs-plugin-colorschemes chess.js cidr-matcher cldr clmtrackr cloudfoursimple-svg-placeholder clownface cobe collectionsjs combine-reducers conditional configs-overload configstore cornerstone-core country-flag-icons crc critters-webpack-plugin crypto-ld css-declaration-sorter css-tree csso culori curtainsjs cxs cypress-cucumber-preprocessor default-gateway deflate-js delaunator delowarreact-circle-progressbar digital-link.js dojo dom-to-image dplayer draggabilly drawflow dygraphs easy-speech ecore editorjsheader email-prompt ember-task-scheduler encoding-down error-cause error-subclass es-get-iterator esbuild-copy-static-files eslint-utils eslinteslintrc evaporate express-async-wrap express-brute-memcached express-socket.io-session express-status-monitor extensible-duck extract-files falcor-http-datasource famous fbt feather-route-matcher feathersjsauthentication feathersjsauthentication-local feathersjsauthentication-oauth1 feathersjsauthentication-client feathersjsauthentication-jwt feathersjsauthentication-oauth2 feathersjsconfiguration feathersjsexpress feathersjsprimus feathersjsprimus-client feathersjsrest-client feathersjssocketio-client fetch-meta-tags fetch.io fhir-js-client final-form-set-field-data find-unused-sass-variables float-equal fontkit formol frctlfractal frecency fslightbox-react fuzzy-finder gc-stats gdal geodesy gestalt-datepicker get-emoji get-folder-size get-sass-vars github-label-sync glidejsglide google-clouddatastore graphql-upload gregorian-calendar gulp-connect-php gulp-imagemin gun hafas-client hapicrumb has-ansi has-package-exports heatmap.js hellosign-embedded html-escaper html-minifier-terser html-to-draftjs html-to-text html-webpack-template i18next-fs-backend i18next-sprintf-postprocessor ibm_db identicon.js image-blob-reduce imagemin imagemin-svgo imagemin-upng imagemin-webp input-moment inputmask intl-unofficial-duration-unit-format inversify-devtools ioredis-mock iput is-file-esm is-gif is-touch-device itowns jackrabbit jasmine-enzyme javascript-time-ago jcof jquery-deferred js-worker-search jscrollpane jsftp jslib-html5-camera-photo json-schema-faker json2csvformatters json2csvtransforms json2csvnode json2csvplainjs json2csvwhatwg jsoneditor jsoneditor-for-react jsonpath-plus katex keccak keen-tracking keep-networktbtc.js koa koa-dec-router koa-joi-router-docs koa-sslify kss latlon-geohash lint-staged loadablewebpack-plugin locutus lodash-es ltx luxon mapboxgeo-viewport mapboxmapbox-sdk mapnik markdown-it-source-map marv material-ui-pagination material-ui-phone-number megajs memdown merge-img mergerino metascraper micromodal mimetext minify mithril mixpanel-browser ml-classify-text modular-scale module-deps mongoose-autopopulate mongoose-deep-populate motor-hat ms.macro mudder multiavatarmultiavatar musicmatch name-initials natural-drag-animation-rbdnd next-nprogress ngreact node-fetch node-fetch-cache node-osc node-replicate node-timecodes notie npm object.groupby oclazyload oidc-provider omit-empty onscan.js opencc-js opentok osmtogeojson osrm ovenplayer page-flip pagedjs-cli parse-listing passport-discord phoenix polylabel postcss-functions postcss-js postcss-use posterus pouch-redux-middleware pretty-proptypes project-osrmosrm promise-fn-retry proper-url-join query-string-params quicksettings rabbit.js radium raphael rasa-webchat rascal rc-switch rc-tooltip rdf-ext rdf-transform-triple-to-quad rdf-utils-dataset rdfjsdata-model rdfjsdataset rdfjsenvironment rdfjsexpress-handler rdfjsfetch rdfjsfetch-lite rdfjsformats-common rdfjsnamespace rdfjsparser-jsonld rdfjsparser-n3 rdfjsprefix-map rdfjsscore rdfjsserializer-jsonld rdfjsserializer-ntriples rdfjsserializer-rdfjs rdfjssink-map rdfjsterm-map rdfjsterm-set rdfjstraverser react-add-to-calendar react-amplitude react-anchor-link-smooth-scroll react-animals react-animate-on-scroll react-animated-modal react-app react-aria-modal react-avatar-editor react-bootstrap-range-slider react-calendar-heatmap react-canvas-draw react-coinhive react-column-resizer react-command-palette react-compass react-cookiebot react-custom-scroll react-cytoscapejs react-document-title react-dual-listbox react-dynamic-number react-email-editor react-embed-gist react-facebook-login react-flags-select react-fontawesome react-github-button react-google-maps-loader react-google-places-suggest react-gtm-module react-highcharts react-highlight react-highlight-words react-highlight.js react-hint react-holder react-howler react-html5-camera-photo react-icofont react-icon-base react-image-gallery react-imgpro react-inspector react-instantsearch react-js-table-with-csv-dl react-loadable-visibility react-mailchimp-subscribe react-maskedinput react-native-bcrypt react-native-honeywell-scanner react-native-modalbox react-native-multi-slider react-native-qrcode react-native-scrollable-tab-view react-native-signature-capture react-native-svg-animated-linear-gradient react-no-ssr react-notifications-component react-outside-click-handler react-payment-inputs react-phone-number-input react-plyr react-recaptcha-v3 react-recompose react-responsive-spritesheet react-rte react-show-more react-sidebar react-signature-canvas react-spinner react-splitter-layout react-sticky-el react-svg-radar-chart react-switch-case react-syntax-highlighter react-tag-input react-text-mask react-text-truncate react-twitter-auth react-type-animation react-typical react-typing-effect react-typist react-widgets-moment react-window-size react-world-flags react-youtube-embed reactable recompose redux-cablecar redux-localstorage-debounce redux-persist-transform-encrypt redux-router redux-storage remote-git-tags require-hacker resolve rest restful.js resx rewire rocksdb roll-a-die rollup-plugin-node-globals rollup-plugin-progress rosbag schluessel scrollbooster serverless serverless-tencent-scf sfdx-faye shakacoderecompose short-hash siema simpl-schema simpleddp siren-parser slice-ansi slimerjs smallweiavue snapsvg solid-auth-client sqlite3 srtparsejs stringify-object strip-final-newline struct styled-react-modal stylenames stylis svg-arc-to-cubic-bezier svg-baker-runtime svgdom swagger2openapi tadashikoa-jwt-authz tap tape tar-js tasker-js-runner taskkill tdweb tern three throttle-debounce timed-cache trie-prefix-tree tryghostcontent-api twix typography underscore unescape-js ungapstructured-clone unpaginated update-notifier url-format-lax url-parse-lax url-state use-combined-reducers use-global-hook use-persisted-state uswdsuswds validator vanillajs-datepicker verovio video.js videojs-contrib-quality-levels vue-chartkick vue-json-compare vue-ls vue-markdown vue-scroll-up vue-select vue-splitpane vue-tel-input vue2-datepicker vue2-editor wait-please webidl2 webmidi webpack-config-utils webscopeioreact-textarea-autocomplete when winbox wnumb wrap-ansi write-file-webpack-plugin yawn-yaml youtube-player zumly chai country-list/v1 d3 d3-array d3-axis d3-brush d3-chord d3-color d3-contour d3-delaunay d3-dispatch d3-drag d3-dsv d3-ease d3-fetch d3-force d3-format d3-geo d3-hierarchy d3-interpolate d3-path d3-polygon d3-quadtree d3-random d3-scale d3-scale-chromatic d3-selection d3-shape d3-time d3-time-format d3-timer d3-transition d3-zoom dateformat diff dotenv-flow durandal dwt ember-data ember-data ember-data/v3 ember-dataadapter ember-datamodel ember-dataadapter/v3 ember-datamodel/v3 ember-dataserializer ember-datastore ember-dataserializer/v3 ember-datastore/v3 ember-feature-flags ember-feature-flags/v3 emberordered-set/v3 ember__ordered-set fs-extra formidable inquirer-autocomplete-prompt jest jasmine leveldown mapbox-gl/v1 mapbox-gl node-notifier/v5 pako parse/v1 rbush react-bootstrap-table react-bootstrap-table/v2 react-dom inquirer react-input-mask/v1 react-native/v0.70 react-native/v0.69 react-native/v0.71 react-native react-paginate react-responsive react-tag-autocomplete/v5 react-tag-autocomplete react-transition-group readline-transform redux-mock-store/v0 semantic-release serialport/v4 stampit splitpanes/v1 styled-components/v3 styled-components systemjs uikit yargs/v16 yargs-parser yargs-parser/v20

sandersn commented 10 months ago

Narrator: The list was not zero.

andrewbranch commented 5 months ago

arethetypeswrong is now part of CI checks as of #67306. The list of failing packages has moved to https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/attw.json.