scanoss 0.2.18 → 0.2.21
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/build/main/bin/cli-bin.js +4 -2
- package/build/main/commands/dep.js +19 -7
- package/build/main/commands/helpers.d.ts +1 -0
- package/build/main/commands/helpers.js +22 -0
- package/build/main/commands/scan.js +3 -15
- package/build/main/index.d.ts +2 -1
- package/build/main/index.js +3 -2
- package/build/main/lib/dependencies/DependencyScanner.d.ts +10 -0
- package/build/main/lib/dependencies/DependencyScanner.js +66 -0
- package/build/main/lib/dependencies/DependencyScannerCfg.d.ts +4 -0
- package/build/main/lib/dependencies/DependencyScannerCfg.js +11 -0
- package/build/main/lib/dependencies/DependencyTypes.d.ts +10 -8
- package/build/main/lib/dependencies/LocalDependency/DependencyTypes.d.ts +16 -0
- package/build/main/lib/dependencies/LocalDependency/DependencyTypes.js +3 -0
- package/build/main/lib/dependencies/LocalDependency/LocalDependency.d.ts +6 -0
- package/build/main/lib/dependencies/LocalDependency/LocalDependency.js +51 -0
- package/build/main/lib/dependencies/LocalDependency/parsers/golangParser.d.ts +2 -0
- package/build/main/lib/dependencies/LocalDependency/parsers/golangParser.js +63 -0
- package/build/main/lib/dependencies/LocalDependency/parsers/mavenParser.d.ts +2 -0
- package/build/main/lib/dependencies/LocalDependency/parsers/mavenParser.js +57 -0
- package/build/main/lib/dependencies/{parsers → LocalDependency/parsers}/npmParser.d.ts +3 -3
- package/build/main/lib/dependencies/LocalDependency/parsers/npmParser.js +50 -0
- package/build/main/lib/dependencies/LocalDependency/parsers/pyParser.d.ts +2 -0
- package/build/main/lib/dependencies/LocalDependency/parsers/pyParser.js +61 -0
- package/build/main/lib/dependencies/{parsers → LocalDependency/parsers}/rubyParser.d.ts +3 -3
- package/build/main/lib/dependencies/LocalDependency/parsers/rubyParser.js +133 -0
- package/build/main/lib/dependencies/{parsers → LocalDependency/parsers}/utils.d.ts +0 -0
- package/build/main/lib/dependencies/{parsers → LocalDependency/parsers}/utils.js +1 -1
- package/build/main/lib/grpc/GrpcDependencyService.d.ts +11 -0
- package/build/main/lib/grpc/GrpcDependencyService.js +88 -0
- package/build/main/lib/{dependencies/parsers/golangParser.d.ts → grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.d.ts} +0 -0
- package/build/main/lib/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.js +2 -0
- package/build/main/lib/grpc/scanoss/api/common/v2/scanoss-common_pb.d.ts +1 -0
- package/build/main/lib/grpc/scanoss/api/common/v2/scanoss-common_pb.js +404 -0
- package/build/main/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.d.ts +42 -0
- package/build/main/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.js +98 -0
- package/build/main/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.d.ts +1 -0
- package/build/main/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.js +1197 -0
- package/build/main/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.d.ts +21 -0
- package/build/main/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.js +66 -0
- package/build/main/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.d.ts +1 -0
- package/build/main/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.js +14 -0
- package/build/main/lib/scanner/Scanner.js +1 -1
- package/build/module/bin/cli-bin.js +4 -2
- package/build/module/commands/dep.js +19 -7
- package/build/module/commands/helpers.d.ts +1 -0
- package/build/module/commands/helpers.js +15 -0
- package/build/module/commands/scan.js +2 -14
- package/build/module/index.d.ts +2 -1
- package/build/module/index.js +3 -2
- package/build/module/lib/dependencies/DependencyScanner.d.ts +10 -0
- package/build/module/lib/dependencies/DependencyScanner.js +64 -0
- package/build/module/lib/dependencies/DependencyScannerCfg.d.ts +4 -0
- package/build/module/lib/dependencies/DependencyScannerCfg.js +5 -0
- package/build/module/lib/dependencies/DependencyTypes.d.ts +10 -8
- package/build/module/lib/dependencies/LocalDependency/DependencyTypes.d.ts +16 -0
- package/build/module/lib/dependencies/LocalDependency/DependencyTypes.js +2 -0
- package/build/module/lib/dependencies/LocalDependency/LocalDependency.d.ts +6 -0
- package/build/module/lib/dependencies/LocalDependency/LocalDependency.js +45 -0
- package/build/module/lib/dependencies/LocalDependency/parsers/golangParser.d.ts +2 -0
- package/build/module/lib/dependencies/LocalDependency/parsers/golangParser.js +55 -0
- package/build/module/lib/dependencies/LocalDependency/parsers/mavenParser.d.ts +2 -0
- package/build/module/lib/dependencies/LocalDependency/parsers/mavenParser.js +50 -0
- package/build/module/lib/dependencies/{parsers → LocalDependency/parsers}/npmParser.d.ts +3 -3
- package/build/module/lib/dependencies/LocalDependency/parsers/npmParser.js +42 -0
- package/build/module/lib/dependencies/LocalDependency/parsers/pyParser.d.ts +2 -0
- package/build/module/lib/dependencies/LocalDependency/parsers/pyParser.js +53 -0
- package/build/module/lib/dependencies/{parsers → LocalDependency/parsers}/rubyParser.d.ts +3 -3
- package/build/module/lib/dependencies/LocalDependency/parsers/rubyParser.js +130 -0
- package/build/module/lib/dependencies/{parsers → LocalDependency/parsers}/utils.d.ts +0 -0
- package/build/module/lib/dependencies/LocalDependency/parsers/utils.js +15 -0
- package/build/module/lib/grpc/GrpcDependencyService.d.ts +11 -0
- package/build/module/lib/grpc/GrpcDependencyService.js +67 -0
- package/build/module/lib/{dependencies/parsers/golangParser.d.ts → grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.d.ts} +0 -0
- package/build/module/lib/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.js +2 -0
- package/build/module/lib/grpc/scanoss/api/common/v2/scanoss-common_pb.d.ts +1 -0
- package/build/module/lib/grpc/scanoss/api/common/v2/scanoss-common_pb.js +404 -0
- package/build/module/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.d.ts +42 -0
- package/build/module/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.js +98 -0
- package/build/module/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.d.ts +1 -0
- package/build/module/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.js +1197 -0
- package/build/module/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.d.ts +21 -0
- package/build/module/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.js +66 -0
- package/build/module/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.d.ts +1 -0
- package/build/module/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.js +14 -0
- package/build/module/lib/scanner/Scanner.js +1 -1
- package/build/tsconfig.module.tsbuildinfo +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -1
- package/src/bin/cli-bin.ts +4 -1
- package/src/commands/dep.ts +18 -6
- package/src/commands/helpers.ts +14 -0
- package/src/commands/scan.ts +3 -12
- package/src/index.ts +5 -1
- package/src/lib/dependencies/DependencyScanner.ts +77 -0
- package/src/lib/dependencies/DependencyScannerCfg.ts +7 -0
- package/src/lib/dependencies/DependencyTypes.ts +16 -14
- package/src/lib/dependencies/LocalDependency/DependencyTypes.ts +21 -0
- package/src/lib/dependencies/LocalDependency/LocalDependency.ts +48 -0
- package/src/lib/dependencies/LocalDependency/parsers/golangParser.ts +78 -0
- package/src/lib/dependencies/{parsers → LocalDependency/parsers}/mavenParser.ts +10 -6
- package/src/lib/dependencies/{parsers → LocalDependency/parsers}/npmParser.ts +14 -8
- package/src/lib/dependencies/LocalDependency/parsers/pyParser.ts +55 -0
- package/src/lib/dependencies/{parsers → LocalDependency/parsers}/rubyParser.ts +21 -29
- package/src/lib/dependencies/{parsers → LocalDependency/parsers}/utils.ts +0 -1
- package/src/lib/grpc/GrpcDependencyService.ts +73 -0
- package/src/lib/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.d.ts +1 -0
- package/src/lib/grpc/scanoss/api/common/v2/scanoss-common_grpc_pb.js +1 -0
- package/src/lib/grpc/scanoss/api/common/v2/scanoss-common_pb.d.ts +79 -0
- package/src/lib/grpc/scanoss/api/common/v2/scanoss-common_pb.js +482 -0
- package/src/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.d.ts +30 -0
- package/src/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_grpc_pb.js +109 -0
- package/src/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.d.ts +206 -0
- package/src/lib/grpc/scanoss/api/dependencies/v2/scanoss-dependencies_pb.js +1489 -0
- package/src/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.d.ts +25 -0
- package/src/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_grpc_pb.js +73 -0
- package/src/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.d.ts +6 -0
- package/src/lib/grpc/scanoss/api/scanning/v2/scanoss-scanning_pb.js +15 -0
- package/src/lib/scanner/Scanner.ts +2 -1
- package/tsconfig.json +5 -22
- package/yarn.lock +5252 -5213
- package/build/main/lib/dependencies/Dependency.d.ts +0 -9
- package/build/main/lib/dependencies/Dependency.js +0 -52
- package/build/main/lib/dependencies/PurlGenerator.d.ts +0 -2
- package/build/main/lib/dependencies/PurlGenerator.js +0 -44
- package/build/main/lib/dependencies/parsers/golangParser.js +0 -3
- package/build/main/lib/dependencies/parsers/mavenParser.d.ts +0 -2
- package/build/main/lib/dependencies/parsers/mavenParser.js +0 -54
- package/build/main/lib/dependencies/parsers/npmParser.js +0 -46
- package/build/main/lib/dependencies/parsers/pyParser.d.ts +0 -2
- package/build/main/lib/dependencies/parsers/pyParser.js +0 -51
- package/build/main/lib/dependencies/parsers/rubyParser.js +0 -135
- package/build/main/lib/dependencies/parsers/types.d.ts +0 -15
- package/build/main/lib/dependencies/parsers/types.js +0 -33
- package/build/module/lib/dependencies/Dependency.d.ts +0 -9
- package/build/module/lib/dependencies/Dependency.js +0 -47
- package/build/module/lib/dependencies/PurlGenerator.d.ts +0 -2
- package/build/module/lib/dependencies/PurlGenerator.js +0 -37
- package/build/module/lib/dependencies/parsers/golangParser.js +0 -3
- package/build/module/lib/dependencies/parsers/mavenParser.d.ts +0 -2
- package/build/module/lib/dependencies/parsers/mavenParser.js +0 -47
- package/build/module/lib/dependencies/parsers/npmParser.js +0 -38
- package/build/module/lib/dependencies/parsers/pyParser.d.ts +0 -2
- package/build/module/lib/dependencies/parsers/pyParser.js +0 -44
- package/build/module/lib/dependencies/parsers/rubyParser.js +0 -132
- package/build/module/lib/dependencies/parsers/types.d.ts +0 -15
- package/build/module/lib/dependencies/parsers/types.js +0 -32
- package/build/module/lib/dependencies/parsers/utils.js +0 -15
- package/package-lock.json +0 -18589
- package/src/lib/dependencies/Dependency.ts +0 -60
- package/src/lib/dependencies/PurlGenerator.ts +0 -44
- package/src/lib/dependencies/parsers/golangParser.ts +0 -4
- package/src/lib/dependencies/parsers/pyParser.ts +0 -46
- package/src/lib/dependencies/parsers/types.ts +0 -50
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// package: scanoss.api.scanning.v2
|
|
4
|
+
// file: scanoss/api/scanning/v2/scanoss-scanning.proto
|
|
5
|
+
|
|
6
|
+
import * as scanoss_api_scanning_v2_scanoss_scanning_pb from "../../../../scanoss/api/scanning/v2/scanoss-scanning_pb";
|
|
7
|
+
import * as scanoss_api_common_v2_scanoss_common_pb from "../../../../scanoss/api/common/v2/scanoss-common_pb";
|
|
8
|
+
import * as grpc from "@grpc/grpc-js";
|
|
9
|
+
|
|
10
|
+
interface IScanningService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
11
|
+
echo: grpc.MethodDefinition<scanoss_api_common_v2_scanoss_common_pb.EchoRequest, scanoss_api_common_v2_scanoss_common_pb.EchoResponse>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const ScanningService: IScanningService;
|
|
15
|
+
|
|
16
|
+
export interface IScanningServer extends grpc.UntypedServiceImplementation {
|
|
17
|
+
echo: grpc.handleUnaryCall<scanoss_api_common_v2_scanoss_common_pb.EchoRequest, scanoss_api_common_v2_scanoss_common_pb.EchoResponse>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export class ScanningClient extends grpc.Client {
|
|
21
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
|
22
|
+
echo(argument: scanoss_api_common_v2_scanoss_common_pb.EchoRequest, callback: grpc.requestCallback<scanoss_api_common_v2_scanoss_common_pb.EchoResponse>): grpc.ClientUnaryCall;
|
|
23
|
+
echo(argument: scanoss_api_common_v2_scanoss_common_pb.EchoRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<scanoss_api_common_v2_scanoss_common_pb.EchoResponse>): grpc.ClientUnaryCall;
|
|
24
|
+
echo(argument: scanoss_api_common_v2_scanoss_common_pb.EchoRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<scanoss_api_common_v2_scanoss_common_pb.EchoResponse>): grpc.ClientUnaryCall;
|
|
25
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// Original file comments:
|
|
4
|
+
//
|
|
5
|
+
// SPDX-License-Identifier: MIT
|
|
6
|
+
//
|
|
7
|
+
// Copyright (c) 2021, SCANOSS
|
|
8
|
+
//
|
|
9
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
// in the Software without restriction, including without limitation the rights
|
|
12
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
// furnished to do so, subject to the following conditions:
|
|
15
|
+
//
|
|
16
|
+
// The above copyright notice and this permission notice shall be included in
|
|
17
|
+
// all copies or substantial portions of the Software.
|
|
18
|
+
//
|
|
19
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
25
|
+
// THE SOFTWARE.
|
|
26
|
+
//
|
|
27
|
+
// **
|
|
28
|
+
// Scanning definition details
|
|
29
|
+
// *
|
|
30
|
+
'use strict';
|
|
31
|
+
var grpc = require('@grpc/grpc-js');
|
|
32
|
+
var scanoss_api_common_v2_scanoss$common_pb = require('../../../../scanoss/api/common/v2/scanoss-common_pb.js');
|
|
33
|
+
|
|
34
|
+
function serialize_scanoss_api_common_v2_EchoRequest(arg) {
|
|
35
|
+
if (!(arg instanceof scanoss_api_common_v2_scanoss$common_pb.EchoRequest)) {
|
|
36
|
+
throw new Error('Expected argument of type scanoss.api.common.v2.EchoRequest');
|
|
37
|
+
}
|
|
38
|
+
return Buffer.from(arg.serializeBinary());
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function deserialize_scanoss_api_common_v2_EchoRequest(buffer_arg) {
|
|
42
|
+
return scanoss_api_common_v2_scanoss$common_pb.EchoRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function serialize_scanoss_api_common_v2_EchoResponse(arg) {
|
|
46
|
+
if (!(arg instanceof scanoss_api_common_v2_scanoss$common_pb.EchoResponse)) {
|
|
47
|
+
throw new Error('Expected argument of type scanoss.api.common.v2.EchoResponse');
|
|
48
|
+
}
|
|
49
|
+
return Buffer.from(arg.serializeBinary());
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function deserialize_scanoss_api_common_v2_EchoResponse(buffer_arg) {
|
|
53
|
+
return scanoss_api_common_v2_scanoss$common_pb.EchoResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
// Expose all of the SCANOSS Scanning RPCs here
|
|
58
|
+
var ScanningService = exports.ScanningService = {
|
|
59
|
+
// Standard echo
|
|
60
|
+
echo: {
|
|
61
|
+
path: '/scanoss.api.scanning.v2.Scanning/Echo',
|
|
62
|
+
requestStream: false,
|
|
63
|
+
responseStream: false,
|
|
64
|
+
requestType: scanoss_api_common_v2_scanoss$common_pb.EchoRequest,
|
|
65
|
+
responseType: scanoss_api_common_v2_scanoss$common_pb.EchoResponse,
|
|
66
|
+
requestSerialize: serialize_scanoss_api_common_v2_EchoRequest,
|
|
67
|
+
requestDeserialize: deserialize_scanoss_api_common_v2_EchoRequest,
|
|
68
|
+
responseSerialize: serialize_scanoss_api_common_v2_EchoResponse,
|
|
69
|
+
responseDeserialize: deserialize_scanoss_api_common_v2_EchoResponse,
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
exports.ScanningClient = grpc.makeGenericClientConstructor(ScanningService);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
5
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
9
|
+
|
|
10
|
+
var jspb = require('google-protobuf');
|
|
11
|
+
var goog = jspb;
|
|
12
|
+
var global = Function('return this')();
|
|
13
|
+
|
|
14
|
+
var scanoss_api_common_v2_scanoss$common_pb = require('../../../../scanoss/api/common/v2/scanoss-common_pb.js');
|
|
15
|
+
goog.object.extend(exports, proto.scanoss.api.scanning.v2);
|
|
@@ -12,7 +12,6 @@ import { DispatcherResponse } from './Dispatcher/DispatcherResponse';
|
|
|
12
12
|
import { ScannerCfg } from './ScannerCfg';
|
|
13
13
|
import { ScannerEvents, ScannerInput } from './ScannerTypes';
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import sortPaths from 'sort-paths';
|
|
17
16
|
import { WinnowerResponse } from './Winnower/WinnowerResponse';
|
|
18
17
|
|
|
@@ -20,6 +19,8 @@ import { WinnowerResponse } from './Winnower/WinnowerResponse';
|
|
|
20
19
|
let finishPromiseResolve;
|
|
21
20
|
let finishPromiseReject;
|
|
22
21
|
|
|
22
|
+
|
|
23
|
+
|
|
23
24
|
export class Scanner extends EventEmitter {
|
|
24
25
|
scannerCfg;
|
|
25
26
|
|
package/tsconfig.json
CHANGED
|
@@ -11,37 +11,20 @@
|
|
|
11
11
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
|
12
12
|
"resolveJsonModule": true /* Include modules imported with .json extension. */,
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/* Strict Type-Checking Options */
|
|
17
|
-
// "noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
|
|
18
|
-
// "strictNullChecks": true /* Enable strict null checks. */,
|
|
19
|
-
// "strictFunctionTypes": true /* Enable strict checking of function types. */,
|
|
20
|
-
// "strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
|
|
21
|
-
// "noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
|
|
22
|
-
// "alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,
|
|
23
|
-
|
|
24
|
-
/* Additional Checks */
|
|
25
|
-
// "noUnusedLocals": true /* Report errors on unused locals. */,
|
|
26
|
-
// "noUnusedParameters": true /* Report errors on unused parameters. */,
|
|
27
|
-
// "noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
|
|
28
|
-
// "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
|
|
14
|
+
"allowJs": true,
|
|
15
|
+
"checkJs": false,
|
|
29
16
|
|
|
30
17
|
/* Debugging Options */
|
|
31
18
|
"traceResolution": false /* Report module resolution log messages. */,
|
|
32
19
|
"listEmittedFiles": false /* Print names of generated files part of the compilation. */,
|
|
33
|
-
"listFiles":
|
|
20
|
+
// "listFiles": true /* Print names of files part of the compilation. */,
|
|
34
21
|
"pretty": true /* Stylize errors and messages using color and context. */,
|
|
35
22
|
|
|
36
|
-
/* Experimental Options */
|
|
37
|
-
// "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */,
|
|
38
|
-
// "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,
|
|
39
|
-
|
|
40
23
|
"lib": ["es2017"],
|
|
41
24
|
"types": ["node"],
|
|
42
25
|
"typeRoots": ["node_modules/@types", "src/types"]
|
|
43
26
|
},
|
|
44
|
-
"include": ["src/**/*.ts"],
|
|
45
|
-
"exclude": ["node_modules
|
|
27
|
+
"include": ["./src" , "./src/**/*.ts", "./src/scanoss/*" ],
|
|
28
|
+
"exclude": ["node_modules"],
|
|
46
29
|
"compileOnSave": false
|
|
47
30
|
}
|