Skip to content

Commit 829c675

Browse files
santoshyadavdevmgechev
authored andcommitted
refactor: bump package versions (#818)
* refactor(release): update to typescript 3.4.x Fixes #815 * refactor: bump package versions
1 parent 9fcdce3 commit 829c675

9 files changed

+685
-482
lines changed

package-lock.json

Lines changed: 653 additions & 450 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,42 +62,42 @@
6262
},
6363
"homepage": "https://github.com/mgechev/codelyzer#readme",
6464
"devDependencies": {
65-
"@angular/compiler": "^7.2.7",
66-
"@angular/core": "^7.2.7",
65+
"@angular/compiler": "^7.2.14",
66+
"@angular/core": "^7.2.14",
6767
"@commitlint/cli": "^7.5.2",
6868
"@commitlint/config-angular": "^7.5.0",
6969
"@types/chai": "^4.1.7",
7070
"@types/mocha": "^5.2.6",
71-
"@types/node": "^11.10.4",
71+
"@types/node": "^11.13.8",
7272
"@types/node-sass": "^4.11.0",
7373
"@types/sprintf-js": "^1.1.2",
7474
"cat": "^0.2.0",
7575
"chai": "^4.2.0",
7676
"chai-spies": "^0.7.1",
7777
"cross-env": "^5.2.0",
78-
"husky": "^1.3.1",
79-
"js-yaml": "^3.12.2",
78+
"husky": "^2.1.0",
79+
"js-yaml": "^3.13.1",
8080
"json-stringify-pretty-compact": "2.0.0",
8181
"lint-staged": "^8.1.5",
82-
"mocha": "^6.0.2",
82+
"mocha": "^6.1.4",
8383
"ncp": "^2.0.0",
84-
"node-sass": "^4.11.0",
85-
"prettier": "^1.16.4",
84+
"node-sass": "^4.12.0",
85+
"prettier": "^1.17.0",
8686
"rimraf": "^2.6.3",
8787
"rxjs": "^6.4.0",
8888
"standard-version": "^5.0.1",
89-
"ts-node": "^8.0.2",
90-
"tslint": "~5.14.0",
91-
"typescript": "~3.3.3333",
92-
"zone.js": "^0.8.29"
89+
"ts-node": "^8.1.0",
90+
"tslint": "~5.16.0",
91+
"typescript": "~3.4.5",
92+
"zone.js": "^0.9.0"
9393
},
9494
"peerDependencies": {
9595
"@angular/compiler": ">=2.3.1 <9.0.0 || >8.0.0-beta <9.0.0",
9696
"@angular/core": ">=2.3.1 <9.0.0 || >8.0.0-beta <9.0.0",
9797
"tslint": "^5.0.0"
9898
},
9999
"dependencies": {
100-
"app-root-path": "^2.1.0",
100+
"app-root-path": "^2.2.1",
101101
"aria-query": "^3.0.0",
102102
"axobject-query": "^2.0.2",
103103
"css-selector-tokenizer": "^0.7.1",

src/importDestructuringSpacingRule.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const getReplacements = (node: NamedImports, totalLeadingSpaces: number, totalTr
4848
return replacements;
4949
};
5050

51-
const validateNamedImports = (context: WalkContext<void>, node: NamedImports): void => {
51+
const validateNamedImports = (context: WalkContext, node: NamedImports): void => {
5252
const nodeText = node.getText();
5353

5454
if (isBlankOrMultilineImport(nodeText)) return;
@@ -65,7 +65,7 @@ const validateNamedImports = (context: WalkContext<void>, node: NamedImports): v
6565
context.addFailureAtNode(node, Rule.FAILURE_STRING, replacements);
6666
};
6767

68-
const walk = (context: WalkContext<void>): void => {
68+
const walk = (context: WalkContext): void => {
6969
const { sourceFile } = context;
7070

7171
const callback = (node: Node): void => {

src/noAttributeDecoratorRule.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,27 @@ export class Rule extends AbstractRule {
3131
}
3232
}
3333

34-
const callbackHandler = (walkContext: WalkContext<void>, node: Node): void => {
34+
const callbackHandler = (walkContext: WalkContext, node: Node): void => {
3535
if (isConstructorDeclaration(node)) validateConstructor(walkContext, node);
3636
};
3737

3838
const isAttributeDecorator = (decorator: Decorator): boolean => getDecoratorName(decorator) === ATTRIBUTE;
3939

40-
const validateConstructor = (walkContext: WalkContext<void>, node: ConstructorDeclaration): void => {
40+
const validateConstructor = (walkContext: WalkContext, node: ConstructorDeclaration): void => {
4141
node.parameters.forEach(parameter => validateParameter(walkContext, parameter));
4242
};
4343

44-
const validateDecorator = (walkContext: WalkContext<void>, decorator: Decorator): void => {
44+
const validateDecorator = (walkContext: WalkContext, decorator: Decorator): void => {
4545
if (!isAttributeDecorator(decorator)) return;
4646

4747
walkContext.addFailureAtNode(decorator, Rule.FAILURE_STRING);
4848
};
4949

50-
const validateParameter = (walkContext: WalkContext<void>, node: ParameterDeclaration): void => {
50+
const validateParameter = (walkContext: WalkContext, node: ParameterDeclaration): void => {
5151
createNodeArray(node.decorators).forEach(decorator => validateDecorator(walkContext, decorator));
5252
};
5353

54-
const walk = (walkContext: WalkContext<void>): void => {
54+
const walk = (walkContext: WalkContext): void => {
5555
const { sourceFile } = walkContext;
5656

5757
const callback = (node: Node): void => {

src/noConflictingLifecycleRule.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ export class Rule extends AbstractRule {
5555
}
5656
}
5757

58-
const validateClassDeclaration = (context: WalkContext<void>, node: ClassDeclaration): void => {
58+
const validateClassDeclaration = (context: WalkContext, node: ClassDeclaration): void => {
5959
validateInterfaces(context, node);
6060
validateMethods(context, node);
6161
};
6262

63-
const validateInterfaces = (context: WalkContext<void>, node: ClassDeclaration): void => {
63+
const validateInterfaces = (context: WalkContext, node: ClassDeclaration): void => {
6464
const declaredAngularLifecycleInterfaces = getDeclaredAngularLifecycleInterfaces(node);
6565
const hasConflictingLifecycle = LIFECYCLE_INTERFACES.every(lifecycleInterface =>
6666
declaredAngularLifecycleInterfaces.includes(lifecycleInterface)
@@ -75,7 +75,7 @@ const validateInterfaces = (context: WalkContext<void>, node: ClassDeclaration):
7575
context.addFailureAtNode(node, failure);
7676
};
7777

78-
const validateMethods = (context: WalkContext<void>, node: ClassDeclaration): void => {
78+
const validateMethods = (context: WalkContext, node: ClassDeclaration): void => {
7979
const declaredAngularLifecycleMethods = getDeclaredAngularLifecycleMethods(node);
8080
const hasConflictingLifecycle = LIFECYCLE_METHODS.every(lifecycleMethod => declaredAngularLifecycleMethods.includes(lifecycleMethod));
8181

@@ -88,7 +88,7 @@ const validateMethods = (context: WalkContext<void>, node: ClassDeclaration): vo
8888
context.addFailureAtNode(node, failure);
8989
};
9090

91-
const walk = (context: WalkContext<void>): void => {
91+
const walk = (context: WalkContext): void => {
9292
const { sourceFile } = context;
9393

9494
const callback = (node: Node): void => {

src/noForwardRefRule.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ export class Rule extends AbstractRule {
2222
}
2323
}
2424

25-
const validateCallExpression = (context: WalkContext<void>, node: CallExpression): void => {
25+
const validateCallExpression = (context: WalkContext, node: CallExpression): void => {
2626
if (node.expression.getText() !== FORWARD_REF) return;
2727

2828
context.addFailureAtNode(node, Rule.FAILURE_STRING);
2929
};
3030

31-
const walk = (context: WalkContext<void>): void => {
31+
const walk = (context: WalkContext): void => {
3232
const { sourceFile } = context;
3333

3434
const callback = (node: Node): void => {

src/useLifecycleInterfaceRule.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class Rule extends AbstractRule {
4141
}
4242
}
4343

44-
const validateClassDeclaration = (context: WalkContext<void>, node: ClassDeclaration): void => {
44+
const validateClassDeclaration = (context: WalkContext, node: ClassDeclaration): void => {
4545
const declaredLifecycleInterfaces = getDeclaredAngularLifecycleInterfaces(node);
4646
const declaredMethods = getDeclaredMethods(node);
4747

@@ -62,7 +62,7 @@ const validateClassDeclaration = (context: WalkContext<void>, node: ClassDeclara
6262
}
6363
};
6464

65-
const walk = (context: WalkContext<void>): void => {
65+
const walk = (context: WalkContext): void => {
6666
const { sourceFile } = context;
6767

6868
const callback = (node: Node): void => {

src/usePipeDecoratorRule.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ export class Rule extends AbstractRule {
3030
}
3131
}
3232

33-
const validateClassDeclaration = (context: WalkContext<void>, node: ClassDeclaration): void => {
33+
const validateClassDeclaration = (context: WalkContext, node: ClassDeclaration): void => {
3434
if (getPipeDecorator(node) || !getDeclaredInterfaceName(node, PIPE_TRANSFORM)) return;
3535

3636
context.addFailureAtNode(node, sprintf(Rule.FAILURE_STRING));
3737
};
3838

39-
const walk = (context: WalkContext<void>): void => {
39+
const walk = (context: WalkContext): void => {
4040
const { sourceFile } = context;
4141

4242
const callback = (node: Node): void => {

src/usePipeTransformInterfaceRule.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ export class Rule extends AbstractRule {
2828
}
2929
}
3030

31-
const validateClassDeclaration = (context: WalkContext<void>, node: ClassDeclaration): void => {
31+
const validateClassDeclaration = (context: WalkContext, node: ClassDeclaration): void => {
3232
if (!getPipeDecorator(node) || getDeclaredInterfaceName(node, PIPE_TRANSFORM)) return;
3333

3434
context.addFailureAtNode(node, sprintf(Rule.FAILURE_STRING));
3535
};
3636

37-
const walk = (context: WalkContext<void>): void => {
37+
const walk = (context: WalkContext): void => {
3838
const { sourceFile } = context;
3939

4040
const callback = (node: Node): void => {

0 commit comments

Comments
 (0)