use-dark-mode icon indicating copy to clipboard operation
use-dark-mode copied to clipboard

A custom React Hook to help you implement a "dark mode" component.

Results 49 use-dark-mode issues
Sort by recently updated
recently updated
newest added

Bumps [async](https://github.com/caolan/async) from 2.6.1 to 2.6.4. Changelog Sourced from async's changelog. v2.6.4 Fix potential prototype pollution exploit (#1828) v2.6.3 Updated lodash to squelch a security warning (#1675) v2.6.2 Updated lodash...

dependencies

https://github.com/donavon/use-dark-mode/blob/29590271bb3a74f08975181c5ed68bd5a210ef83/src/initialize.js#L15 The global variable will only exist in node during ssr. `globalThis` === `window` in browsers and `globalThis` === `global` in node

Is this project still maintained? The last publish was 3 years ago and the peer dependencies are failing with the version 17+ of React. Are you looking for new maintainers...

This PR adds react@^17.0.0 as a peer dependency in order to avoid warnings on projects that use latest versions of React.

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.7.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

Snyk has created this PR to upgrade use-persisted-state from 0.3.0 to 0.3.3. ![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=use-persisted-state&from_version=0.3.0&to_version=0.3.3&pr_id=632eabbc-172d-4234-95f3-48a496bbc48c&visibility=true&has_feature_flag=false) :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more...

Snyk has created this PR to upgrade @use-it/event-listener from 0.1.2 to 0.1.7. ![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=@use-it/event-listener&from_version=0.1.2&to_version=0.1.7&pr_id=020fcd8e-9b2c-4026-b7c1-17c21f3b1345&visibility=true&has_feature_flag=false) :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more...

This closes issue #70. This PR is an alternative to PR #68 and would update the semver of use-dark-mode from 2.3.2 to 2.4.0 to reflect the new peer dependency (React...

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

I use storageProvider but dont work, I have conflict with others data in localstorage