8000 Switched from `awesome-typescript-loader` on `ts-loader` · sec-js/javascript-obfuscator@b7217a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit b7217a7

Browse files
author
sanex3339
committed
Switched from awesome-typescript-loader on ts-loader
1 parent 50f0bc3 commit b7217a7

File tree

90 files changed

+27209
-124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+27209
-124
lines changed

dist/index.cli.js

Lines changed: 13858 additions & 1 deletion
Large diffs are not rendered by default.

dist/index.js

Lines changed: 13219 additions & 1 deletion
Large diffs are not rendered by default.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"estraverse": "4.3.0",
3535
"eventemitter3": "4.0.0",
3636
"fast-deep-equal": "3.1.1",
37+
"fork-ts-checker-webpack-plugin": "^4.0.1",
3738
"inversify": "5.0.1",
3839
"js-string-escape": "1.0.1",
3940
"md5": "2.2.1",
@@ -60,7 +61,6 @@
6061
"@types/sinon": "7.5.1",
6162
"@types/string-template": "1.0.2",
6263
"@types/webpack-env": "1.15.0",
63-
"awesome-typescript-loader": "5.2.1",
6464
"chai": "4.2.0",
6565
"coveralls": "3.0.9",
6666
"mocha": "7.0.0",
@@ -70,13 +70,14 @@
7070
"rimraf": "3.0.0",
7171
"sinon": "8.0.4",
7272
"threads": "1.0.0",
73+
"ts-loader": "^6.2.1",
7374
"ts-node": "6.1.0",
7475
"tslint": "5.20.1",
7576
"tslint-eslint-rules": "5.4.0",
7677
"tslint-language-service": "0.9.9",
7778
"tslint-microsoft-contrib": "6.2.0",
7879
"tslint-webpack-plugin": "1.2.2",
79-
"typescript": "3.7.4",
80+
"typescript": "^3.8.0-beta",
8081
"webpack": "4.41.5",
8182
"webpack-cli": "3.3.10",
8283
"webpack-node-externals": "1.7.2"

src/custom-nodes/control-flow-flattening-nodes/BinaryExpressionFunctionNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { inject, injectable, } from 'inversify';
22
import { ServiceIdentifiers } from '../../container/ServiceIdentifiers';
33

4-
import { BinaryOperator } from 'estree';
4+
import type { BinaryOperator } from 'estree';
55

66
import { TIdentifierNamesGeneratorFactory } from '../../types/container/generators/TIdentifierNamesGeneratorFactory';
77
import { TStatement } from '../../types/node/TStatement';

src/custom-nodes/control-flow-flattening-nodes/LogicalExpressionFunctionNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { inject, injectable, } from 'inversify';
22
import { ServiceIdentifiers } from '../../container/ServiceIdentifiers';
33

4-
import { LogicalOperator } from 'estree';
4+
import type { LogicalOperator } from 'estree';
55

66
import { TIdentifierNamesGeneratorFactory } from '../../types/container/generators/TIdentifierNamesGeneratorFactory';
77
import { TStatement } from '../../types/node/TStatement';

src/custom-nodes/control-flow-flattening-nodes/control-flow-storage-nodes/CallExpressionControlFlowStorageCallNode.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import { inject, injectable, } from 'inversify';
22
import { ServiceIdentifiers } from '../../../container/ServiceIdentifiers';
33

4-
import * as ESTree from 'estree';
5-
6-
// tslint:disable
7-
import { Expression } from 'estree';
8-
// tslint:enable
4+
import type * as ESTree from 'estree';
95

106
import { TIdentifierNamesGeneratorFactory } from '../../../types/container/generators/TIdentifierNamesGeneratorFactory';
117
import { TStatement } from '../../../types/node/TStatement';
@@ -26,7 +22,7 @@ export class CallExpressionControlFlowStorageCallNode extends AbstractCustomNode
2622
* @type {Expression}
2723
*/
2824
@initializable()
29-
private callee!: Expression;
25+
private callee!: ESTree.Expression;
3026

3127
/**
3228
* @type {string}

src/custom-nodes/control-flow-flattening-nodes/control-flow-storage-nodes/ExpressionWithOperatorControlFlowStorageCallNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { inject, injectable, } from 'inversify';
22
import { ServiceIdentifiers } from '../../../container/ServiceIdentifiers';
33

4-
import { Expression } from 'estree';
4+
import type { Expression } from 'estree';
55

66
import { TIdentifierNamesGeneratorFactory } from '../../../types/container/generators/TIdentifierNamesGeneratorFactory';
77
import { TStatement } from '../../../types/node/TStatement';

src/custom-nodes/dead-code-injection-nodes/BlockStatementDeadCodeInjectionNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { inject, injectable, } from 'inversify';
22
import { ServiceIdentifiers } from '../../container/ServiceIdentifiers';
33

4-
import { BinaryOperator, BlockStatement } from 'estree';
4+
import type { BinaryOperator, BlockStatement } from 'estree';
55

66
import { TIdentifierNamesGeneratorFactory } from '../../types/container/generators/TIdentifierNamesGeneratorFactory';
77
import { TStatement } from '../../types/node/TStatement';
File renamed without changes.

0 commit comments

Comments
 (0)
0