addons-scanner-utils 9.13.0 → 9.15.0
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/dist/const.d.ts +1 -1
- package/dist/const.js +1 -1
- package/dist/io/base.d.ts +1 -1
- package/dist/io/base.js +1 -1
- package/package.json +14 -13
package/dist/const.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ECMA_VERSION =
|
|
1
|
+
export declare const ECMA_VERSION = 15;
|
package/dist/const.js
CHANGED
package/dist/io/base.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare class IOBase {
|
|
|
15
15
|
shouldScanFile: ScanFileFunction;
|
|
16
16
|
constructor({ filePath, stderr }: IOBaseConstructorParams);
|
|
17
17
|
setScanFileCallback(callback: ScanFileFunction): void;
|
|
18
|
-
getFile(path: string, fileStreamType?: 'stream' | 'string' | 'chunk'): Promise<string> | Promise<
|
|
18
|
+
getFile(path: string, fileStreamType?: 'stream' | 'string' | 'chunk'): Promise<string> | Promise<Readable> | Promise<Buffer<ArrayBufferLike>>;
|
|
19
19
|
getFilesByExt(...extensions: string[]): Promise<string[]>;
|
|
20
20
|
getFiles(optionalArgument?: Function): Promise<Files>;
|
|
21
21
|
getFileAsStream(path: string): Promise<Readable>;
|
package/dist/io/base.js
CHANGED
|
@@ -70,7 +70,7 @@ class IOBase {
|
|
|
70
70
|
return files;
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/
|
|
73
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-unsafe-function-type
|
|
74
74
|
getFiles(optionalArgument) {
|
|
75
75
|
return __awaiter(this, void 0, void 0, function* () {
|
|
76
76
|
throw new Error('getFiles is not implemented');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "addons-scanner-utils",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.15.0",
|
|
4
4
|
"description": "Various addons related helpers to build CLIs.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -40,30 +40,31 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/common-tags": "^1.8.0",
|
|
42
42
|
"@types/express": "4.17.21",
|
|
43
|
-
"@types/jest": "^
|
|
44
|
-
"@types/node": "^
|
|
43
|
+
"@types/jest": "^30.0.0",
|
|
44
|
+
"@types/node": "^25.0.1",
|
|
45
45
|
"@types/node-fetch": "^2.6.4",
|
|
46
46
|
"@types/safe-compare": "^1.1.0",
|
|
47
|
-
"@types/sinon": "^
|
|
47
|
+
"@types/sinon": "^21.0.0",
|
|
48
48
|
"@types/supertest": "^6.0.2",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
50
|
-
"@typescript-eslint/parser": "^
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
50
|
+
"@typescript-eslint/parser": "^8.46.2",
|
|
51
51
|
"body-parser": "1.20.3",
|
|
52
52
|
"eslint": "^8.1.0",
|
|
53
|
-
"eslint-config-amo": "^
|
|
53
|
+
"eslint-config-amo": "^6.1.0",
|
|
54
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
54
55
|
"eslint-plugin-amo": "^2.0.0",
|
|
55
56
|
"express": "4.21.2",
|
|
56
|
-
"jest": "^
|
|
57
|
+
"jest": "^30.2.0",
|
|
57
58
|
"node-fetch": "2.6.11",
|
|
58
|
-
"prettier": "3.
|
|
59
|
-
"pretty-quick": "4.
|
|
60
|
-
"rimraf": "^
|
|
59
|
+
"prettier": "3.7.4",
|
|
60
|
+
"pretty-quick": "4.2.2",
|
|
61
|
+
"rimraf": "^6.1.0",
|
|
61
62
|
"safe-compare": "1.1.4",
|
|
62
|
-
"sinon": "^
|
|
63
|
+
"sinon": "^21.0.0",
|
|
63
64
|
"supertest": "^7.0.0",
|
|
64
65
|
"ts-jest": "^29.0.0",
|
|
65
66
|
"type-coverage": "^2.3.0",
|
|
66
|
-
"typescript": "^5.
|
|
67
|
+
"typescript": "^5.9.3"
|
|
67
68
|
},
|
|
68
69
|
"scripts": {
|
|
69
70
|
"eslint": "eslint --ext ts --ext js src/",
|