webext-schema 5.2.2 → 5.2.3
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/modules/file-util.js +1 -1
- package/modules/schema.js +2 -0
- package/modules/update.js +1 -1
- package/package.json +8 -8
- package/schemas/release/webext.json +2 -1
package/modules/file-util.js
CHANGED
|
@@ -7,9 +7,9 @@ import fs, { promises as fsPromise } from 'node:fs';
|
|
|
7
7
|
import path from 'node:path';
|
|
8
8
|
import { fileURLToPath } from 'node:url';
|
|
9
9
|
import { getType, isString } from './common.js';
|
|
10
|
-
import { IS_WIN } from './constant.js';
|
|
11
10
|
|
|
12
11
|
/* constants */
|
|
12
|
+
import { IS_WIN } from './constant.js';
|
|
13
13
|
const MASK_BIT = 0o111;
|
|
14
14
|
const PERM_DIR = 0o777;
|
|
15
15
|
const PERM_FILE = 0o666;
|
package/modules/schema.js
CHANGED
|
@@ -10,6 +10,8 @@ import decamelize from 'decamelize';
|
|
|
10
10
|
import sinon from 'sinon';
|
|
11
11
|
import { getType, isObjectNotEmpty, isString } from './common.js';
|
|
12
12
|
import { convertUriToFilePath } from './file-util.js';
|
|
13
|
+
|
|
14
|
+
/* constants */
|
|
13
15
|
import { CHAR } from './constant.js';
|
|
14
16
|
|
|
15
17
|
export class Schema {
|
package/modules/update.js
CHANGED
|
@@ -8,9 +8,9 @@ import process from 'node:process';
|
|
|
8
8
|
import JSON5 from 'json5';
|
|
9
9
|
import { getType, isString } from './common.js';
|
|
10
10
|
import { createFile } from './file-util.js';
|
|
11
|
-
import { CHAR, INDENT } from './constant.js';
|
|
12
11
|
|
|
13
12
|
/* constants */
|
|
13
|
+
import { CHAR, INDENT } from './constant.js';
|
|
14
14
|
const DIR_CWD = process.cwd();
|
|
15
15
|
const PERM_FILE = 0o644;
|
|
16
16
|
export const ESR_VER = 115;
|
package/package.json
CHANGED
|
@@ -17,24 +17,24 @@
|
|
|
17
17
|
"commander": "^11.0.0",
|
|
18
18
|
"decamelize": "^6.0.0",
|
|
19
19
|
"json5": "^2.2.3",
|
|
20
|
-
"sinon": "^
|
|
20
|
+
"sinon": "^16.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@types/firefox-webext-browser": "^111.0.
|
|
24
|
-
"@types/node": "^20.
|
|
25
|
-
"@types/sinon": "^10.0.
|
|
23
|
+
"@types/firefox-webext-browser": "^111.0.2",
|
|
24
|
+
"@types/node": "^20.7.0",
|
|
25
|
+
"@types/sinon": "^10.0.17",
|
|
26
26
|
"c8": "^8.0.1",
|
|
27
27
|
"chai": "^4.3.8",
|
|
28
|
-
"eslint": "^8.
|
|
28
|
+
"eslint": "^8.50.0",
|
|
29
29
|
"eslint-config-standard": "^17.1.0",
|
|
30
30
|
"eslint-plugin-import": "^2.28.1",
|
|
31
|
-
"eslint-plugin-jsdoc": "^46.
|
|
31
|
+
"eslint-plugin-jsdoc": "^46.8.2",
|
|
32
32
|
"eslint-plugin-regexp": "^1.15.0",
|
|
33
33
|
"eslint-plugin-unicorn": "^48.0.1",
|
|
34
34
|
"mocha": "^10.2.0",
|
|
35
35
|
"npm-run-all": "^4.1.5",
|
|
36
36
|
"typescript": "^5.2.2",
|
|
37
|
-
"undici": "^5.
|
|
37
|
+
"undici": "^5.25.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "npm run tsc && npm run lint && npm run test",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"update-mail": "node index update --channel=mail -i",
|
|
55
55
|
"update-release": "node index update --channel=release -i"
|
|
56
56
|
},
|
|
57
|
-
"version": "5.2.
|
|
57
|
+
"version": "5.2.3"
|
|
58
58
|
}
|
|
@@ -12575,7 +12575,8 @@
|
|
|
12575
12575
|
"unregisteredthreads",
|
|
12576
12576
|
"processcpu",
|
|
12577
12577
|
"power",
|
|
12578
|
-
"responsiveness"
|
|
12578
|
+
"responsiveness",
|
|
12579
|
+
"cpufreq"
|
|
12579
12580
|
]
|
|
12580
12581
|
},
|
|
12581
12582
|
{
|