Giter VIP home page Giter VIP logo

openinf-util-types's People

Contributors

deepsource-autofix[bot] avatar deepsourcebot avatar dependabot[bot] avatar dereknongeneric avatar renovate-bot avatar renovate[bot] avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openinf-util-types's Issues

[feature request] add new `isNullish` predicate function

Checks whether something is null or undefined.

Would be useful for OpenINF/openinf-util-object#133. We can have it out in the next minor…

Can this be achieved solely using Nullish coalescing? Maybe in the TS, but now wondering what ES year we are searching for compatibility with since this is a relatively new language feature.

Refs: https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#improved-intersection-reduction-union-compatibility-and-narrowing

/cc @septs @ignoreintuition

[bug] set of control abastraction objects is incomplete

We are currently missing a couple of control abstraction object predicates from this library. This was in part due to there not being any documentation associated with them on MDN at the time when we published our initial round of package versions. Since then, along with a few of the good folks over at that project, I've gone ahead and wrote them up and we've gotten the missing pages added to the official JavaScript documentation.

Control abstractions can help to structure code, especially async code (without using deeply nested callbacks, for example).

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v3
  • github/codeql-action v2
  • github/codeql-action v2
  • github/codeql-action v2
.github/workflows/semgrep.yml
  • actions/checkout v3
  • ubuntu 20.04
npm
package.json
  • @types/jsdom 21.1.1
  • @types/node 20.x.x
  • jsdom 22.1.0
  • typescript 5.1.3
  • pnpm 8.6.3
nvm
.nvmrc
  • node 20

  • Check this box to trigger a request for Renovate to run again on this repository

Hacktoberfest checklist: prepare project for contributions by following best practices

  • Add the “hacktoberfest” topic to your repository to opt-in to Hacktoberfest and indicate you’re looking for contributions.

  • Apply the “hacktoberfest” label to issues you want contributors to help within your GitHub or GitLab project.

  • Add a CONTRIBUTING.md file with contribution guidelines to your repository.

  • Choose issues that have a well-defined scope and are self-contained.

  • Adopt a code of conduct to create a greater sense of inclusion and community for contributors.

  • Be ready to review pull/merge requests, accepting those that are valid by merging them, leaving an overall approving review, or by adding the “hacktoberfest-accepted” label.

  • Reject any spammy requests you receive by labeling them as “spam”, and any other invalid contributions by closing them or labeling them as “invalid”.

Refs: https://hacktoberfest.com/participation/#maintainers

[feature request] prevent including unnecessary files in the deployed package

We should consider adding the "files" stanza to the package.json to create an explicit allowlist and prevent deploying any unnecessary files to the npm registry as part of our package. This would be preferable to using a .npmignore file, which we have been doing so far but is expected to quickly become unmanageable as more files are added.

[testing] code coverage reporting & test data artifact uploading

[…] only the Cobertura XML format is supported by DeepSource

https://deepsource.io/docs/analyzer/test-coverage/#javascript

Currently, our tests in this repo are written using tape, yet we are instructed to use Jest to generate the coverage reports… As long as the output is in the expected Cobertura XML format, i think we should be alright, but was unable to find an option for that output using tape nor were there any suitable companion modules altho tap-nyc would seem to be what we are looking for if it would output XML. 😕

We could also use node-tap instead of tape and use its --coverage-report=cobertura flag. I was hoping not to do much refactoring to get this working correctly, but if that is not the case, I have no objection to moving to a more elegant solution if necessary. We seem to have outgrown both tape and tap, but I am also not a huge fan of Jest…

Refs: https://node-tap.org/docs/coverage/#uploading-coverage-to-other-services

[feature request] DeepScan to use ESLint over built-in rules

DeepScan has been configured to check for ESLint config instead of using its default rules. This means that it will be ready for us once ESLint is good to go here.

You've analyzed the project with ESLint, but the ESLint analysis failed by the ESLint error.

After checking the details of error and configuring ESLint correctly, please reanalyze this project.

ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:

eslint --init

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.