react-darkreader
Advanced tools
| module.exports = { | ||
| disableEmoji: false, | ||
| list: [ | ||
| 'test', | ||
| 'feat', | ||
| 'fix', | ||
| 'chore', | ||
| 'docs', | ||
| 'refactor', | ||
| 'style', | ||
| 'ci', | ||
| 'perf', | ||
| ], | ||
| maxMessageLength: 64, | ||
| minMessageLength: 3, | ||
| questions: [ | ||
| 'type', | ||
| 'scope', | ||
| 'subject', | ||
| 'body', | ||
| 'breaking', | ||
| 'issues', | ||
| 'lerna', | ||
| ], | ||
| scopes: [], | ||
| types: { | ||
| chore: { | ||
| description: 'Build process or auxiliary tool changes', | ||
| emoji: '🤖', | ||
| value: 'chore', | ||
| }, | ||
| ci: { | ||
| description: 'CI related changes', | ||
| emoji: '🎡', | ||
| value: 'ci', | ||
| }, | ||
| docs: { | ||
| description: 'Documentation only changes', | ||
| emoji: '✏️', | ||
| value: 'docs', | ||
| }, | ||
| feat: { | ||
| description: 'A new feature', | ||
| emoji: '🎸', | ||
| value: 'feat', | ||
| }, | ||
| fix: { | ||
| description: 'A bug fix', | ||
| emoji: '🐛', | ||
| value: 'fix', | ||
| }, | ||
| perf: { | ||
| description: 'A code change that improves performance', | ||
| emoji: '⚡️', | ||
| value: 'perf', | ||
| }, | ||
| refactor: { | ||
| description: 'A code change that neither fixes a bug or adds a feature', | ||
| emoji: '💡', | ||
| value: 'refactor', | ||
| }, | ||
| release: { | ||
| description: 'Create a release commit', | ||
| emoji: '🏹', | ||
| value: 'release', | ||
| }, | ||
| style: { | ||
| description: 'Markup, white-space, formatting, missing semi-colons...', | ||
| emoji: '💄', | ||
| value: 'style', | ||
| }, | ||
| test: { | ||
| description: 'Adding missing tests', | ||
| emoji: '💍', | ||
| value: 'test', | ||
| }, | ||
| }, | ||
| }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
@@ -1,2 +0,1 @@ | ||
| /// <reference types="react" /> | ||
| import { Theme, DynamicThemeFix } from 'darkreader'; | ||
@@ -3,0 +2,0 @@ export interface DarkreaderProps { |
+0
-1
@@ -1,2 +0,1 @@ | ||
| /// <reference types="react" /> | ||
| import { ReactSwitchProps } from 'react-switch'; | ||
@@ -3,0 +2,0 @@ import './Switch.css'; |
+0
-0
@@ -0,0 +0,0 @@ MIT License |
+10
-3
| { | ||
| "name": "react-darkreader", | ||
| "version": "1.5.5", | ||
| "version": "1.5.6", | ||
| "description": "A React Hook for adding a dark / night mode to your site inspired by darkreader", | ||
@@ -34,3 +34,4 @@ "keywords": [ | ||
| "test": "umi-test", | ||
| "test:coverage": "umi-test --coverage" | ||
| "test:coverage": "umi-test --coverage", | ||
| "commit": "cz" | ||
| }, | ||
@@ -59,2 +60,7 @@ "main": "dist/index.js", | ||
| }, | ||
| "config": { | ||
| "commitizen": { | ||
| "path": "git-cz" | ||
| } | ||
| }, | ||
| "dependencies": { | ||
@@ -74,5 +80,6 @@ "darkreader": "^4.9.26", | ||
| "antd": "^4.12.3", | ||
| "dumi": "^1.0.10", | ||
| "dumi": "^1.1.16", | ||
| "father-build": "^1.17.2", | ||
| "gh-pages": "^3.0.0", | ||
| "git-cz": "^4.7.6", | ||
| "husky": "^5.1.1", | ||
@@ -79,0 +86,0 @@ "lint-staged": "^10.0.7", |
+15
-24
@@ -0,1 +1,3 @@ | ||
| English | [简体中文](./README_cn-zh.md) | ||
| <p align="center"> | ||
@@ -135,31 +137,20 @@ <img align="center" alt="react-darkreader" src="https://darkreader.org/images/darkreader-icon-256x256.png" /> | ||
| ## Contributors | ||
| ## 🥇 Who is using | ||
| Thanks goes to these people (emoji key): | ||
| | [Ant Design Pro Components Light](https://procomponents.ant.design/) | [Ant Design Pro Components Dark](https://procomponents.ant.design/) | | ||
| | :------------------------------------------------------------------: | :-----------------------------------------------------------------: | | ||
| |  |  | | ||
| <table style="width: auto"> | ||
| <tr> | ||
| <td align="center"> | ||
| <a href="https://github.com/Turkyden"> | ||
| <img src="https://avatars0.githubusercontent.com/u/24560160?s=460&u=36a6072b8220e6ad7c0c7f7dbf97cc3dd796a8d0&v=4" width="100px;" alt=""/><br /> | ||
| <sub><b>Turkyden</b></sub></a><br /> | ||
| 💻📖🚇⚠️ | ||
| </td> | ||
| <td align="center"> | ||
| <a href="https://github.com/chenshuai2144"> | ||
| <img src="https://avatars.githubusercontent.com/u/8186664?s=460&u=a583e7221b1be534d587185223cab48fe47cb74d&v=4" width="100px;" alt=""/><br /> | ||
| <sub><b>chenshuai2144</b></sub></a><br /> | ||
| 💻🚇⚠️ | ||
| </td> | ||
| <td align="center"> | ||
| <a href="https://github.com/KnowsCount"> | ||
| <img src="https://avatars3.githubusercontent.com/u/56480008?s=460&u=19d370371e9be3b09766a4dae4435de3593fd0a9&v=4" width="100px;" alt=""/><br /> | ||
| <sub><b>KnowsCount</b></sub></a><br /> | ||
| 📖 | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| [More here →]() Welcome to submit. | ||
| ## ❤️ Contributors | ||
| Thanks goes to these people: | ||
|  | ||
| Please Feel free to enjoy and participate in open source! | ||
| ## License | ||
| [MIT](https://github.com/Turkyden/react-darkreader/blob/main/LICENSE) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
395158
1159.67%15
25%6922
1105.92%14
7.69%1
Infinity%156
-5.45%22
2100%26
1200%