darkreader 4.9.92 → 4.9.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/darkreader.js +2 -2
- package/package.json +10 -10
package/darkreader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Dark Reader v4.9.
|
|
2
|
+
* Dark Reader v4.9.94
|
|
3
3
|
* https://darkreader.org/
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -6327,7 +6327,7 @@
|
|
|
6327
6327
|
function overrideProperty(cls, prop, overrides) {
|
|
6328
6328
|
const proto = cls.prototype;
|
|
6329
6329
|
const oldDescriptor = Object.getOwnPropertyDescriptor(proto, prop);
|
|
6330
|
-
const newDescriptor = {...oldDescriptor};
|
|
6330
|
+
const newDescriptor = oldDescriptor ? {...oldDescriptor} : {};
|
|
6331
6331
|
Object.keys(overrides).forEach((key) => {
|
|
6332
6332
|
const factory = overrides[key];
|
|
6333
6333
|
newDescriptor[key] = factory(oldDescriptor[key]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "darkreader",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.94",
|
|
4
4
|
"description": "Dark mode for every website",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"api": "node --max-old-space-size=3072 tasks/cli.js build --api",
|
|
@@ -66,23 +66,23 @@
|
|
|
66
66
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
67
67
|
"@rollup/plugin-replace": "5.0.7",
|
|
68
68
|
"@rollup/plugin-typescript": "11.1.6",
|
|
69
|
-
"@types/chrome": "0.0.
|
|
69
|
+
"@types/chrome": "0.0.270",
|
|
70
70
|
"@types/eslint": "8.56.10",
|
|
71
71
|
"@types/jasmine": "5.1.4",
|
|
72
72
|
"@types/jest": "29.5.12",
|
|
73
73
|
"@types/karma": "6.3.8",
|
|
74
74
|
"@types/karma-coverage": "2.0.3",
|
|
75
|
-
"@types/node": "22.
|
|
75
|
+
"@types/node": "22.5.4",
|
|
76
76
|
"@types/ws": "8.5.12",
|
|
77
77
|
"@typescript-eslint/eslint-plugin": "7.16.0",
|
|
78
78
|
"@typescript-eslint/parser": "7.16.0",
|
|
79
79
|
"chokidar": "3.6.0",
|
|
80
80
|
"eslint": "8.57.0",
|
|
81
81
|
"eslint-plugin-compat": "5.0.0",
|
|
82
|
-
"eslint-plugin-import": "2.
|
|
82
|
+
"eslint-plugin-import": "2.30.0",
|
|
83
83
|
"eslint-plugin-local": "4.2.2",
|
|
84
84
|
"globby": "14.0.2",
|
|
85
|
-
"jasmine-core": "5.
|
|
85
|
+
"jasmine-core": "5.3.0",
|
|
86
86
|
"jest": "29.7.0",
|
|
87
87
|
"jest-extended": "4.0.2",
|
|
88
88
|
"karma": "6.4.4",
|
|
@@ -95,12 +95,12 @@
|
|
|
95
95
|
"karma-spec-reporter": "0.0.36",
|
|
96
96
|
"less": "4.2.0",
|
|
97
97
|
"prettier": "3.3.3",
|
|
98
|
-
"puppeteer-core": "23.0
|
|
99
|
-
"rollup": "4.
|
|
98
|
+
"puppeteer-core": "23.3.0",
|
|
99
|
+
"rollup": "4.21.2",
|
|
100
100
|
"rollup-plugin-istanbul": "5.0.0",
|
|
101
|
-
"ts-jest": "29.2.
|
|
102
|
-
"tslib": "2.
|
|
103
|
-
"typescript": "5.
|
|
101
|
+
"ts-jest": "29.2.5",
|
|
102
|
+
"tslib": "2.7.0",
|
|
103
|
+
"typescript": "5.6.2",
|
|
104
104
|
"web-ext": "8.2.0",
|
|
105
105
|
"ws": "8.18.0",
|
|
106
106
|
"yazl": "2.5.1"
|