Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

codelyzer

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codelyzer - npm Package Versions

1
8

4.4.2

Diff

Changelog

Source

4.4.2 (2018-06-25)

Bug Fixes

  • no-output-on-prefix: fix regular expression (#674) (adc974a)
mgechev
published 4.4.1 •

Changelog

Source

4.4.1 (2018-06-23)

Bug Fixes

mgechev
published 4.4.0 •

Changelog

Source

4.4.0 (2018-06-23)

Bug Fixes

  • no-input-prefix: exact strings not being reported (#597) (1ed8d8c)
  • no-input-rename: aria attributes not being allowed to be renamed (#665) (2c905ab), closes #663
  • no-input-rename: fix bugs (#585) (75f9de6), closes #580
  • no-template-call-expression: not being exported (#582) (ad57552), closes #577
  • no-life-cycle-call: fix bugs (#575) (4415cc2), closes #573
  • no-input-prefix: not being able to check for multiple concurrent prefixes (#590) (43d415a), closes #589
  • no-output-rename: not being reported for some cases (#614) (5e34f41), closes #613
  • template-conditional-complexity: not reporting failures for '[ngIf]' (#611) (7fc3b09), closes #607
  • template-cyclomatic-complexity: not reporting failures for '[ngForOf]' and '[ngIf]' (#612) (fedd331), closes #609
  • trackBy-function: not reporting failures for '[ngForOf]' (#610) (af52912), closes #608
  • some rules not considering options correctly (#617) (bce0026)

Features

Credits to the codelyzer's maintainers and contributors.

mgechev
published 4.3.0 •

Changelog

Source

4.3.0

New Rules

  • max-inline-declarations which limits the size of inline templates and/or styles. Credits to NagRock #536 174ed46.
  • prefer-output-readonly requires the @Outputs of a component to be readonly. Credits to rafaelss95 #515 3d652d1.
  • no-conflicting-life-cycle-hooks prevents to implement OnChanges and DoCheck on the same class. Credits to rafaelss95 #560 e521115.
  • enforce-component-selector Component Selector Required #551 b9c899b. Credits to wKoza.
  • no-life-cycle-call disallow explicit calls to lifecycle hooks. Credits to rafaelss95 #427 3e10013

Bug Fixes

  • Possible bug with no-input-rename #374 f3a53bd.
  • Removed dependency on @angular/platform-browser-dynamic #525 671e954.
  • Rule contextual-life-cycle too aggressively scoped #545 dcb4b3e.
  • no-output-named-after-standard-event Does Not Check Output Rename #537 96d9292.
  • Template Conditional Complexity reports incorrect threshold #533 5851306.

A lot of credits go to rafaelss95, wKoza. The rest of the amazing people who work on codelyzer, can be found here.

mgechev
published 4.2.1 •

Changelog

Source

4.2.1

Bug Fixes

  • Improved peerDependencies range.
mgechev
published 4.2.0 •

Changelog

Source

4.2.0

New Rules

  • template-cyclomatic-complexity which limits the estimated Cyclomatic complexity in your templates. Credits to wKoza.
  • template-conditional-complexity which limits the complexity of boolean expressions inside of your templates. Credits to wKoza.

Features

  • Support for Angular version 6 #524 50fa2d6
  • Cyclomatic complexity rule template-cyclomatic-complexity #514 3221330
  • Limiting template condition complexity (rule template-conditional-complexity) #508 bb86295
  • Complete Rules Status section in README and complete Rules Page #501 1fe9d22

Bug Fixes

  • "extends": ["codelyzer"] is broken #505 7b76dfa
  • Message for 'use-host-property-decorator' includes invalid link to Angular style docs #510 5fc77c9
mgechev
published 4.1.0 •

Changelog

Source

4.1.0

Features

  • Feature request: no output named after a standard DOM event #473 ae3f07b
  • Support for Angular Compiler 5.2 #496 6a6b3de

Bug Fixes

  • i18n check-text edge cases #442 4c1c8d4
  • Codelyzer hanging for "styles" attribute in Angular component #446 a31c6d2 and 9c90ac3
  • no-output-on-prefix incorrectly throws error if output property name starts with "one" #480 9b844cc

Thanks to @gbilodeau for NoOutputNamedAfterStandardEventRule and wKoza for the code reviews!

mgechev
published 4.0.2 •

Changelog

Source

4.0.2

Bug Fixes

  • Two issues in angular-whitespace related to check-semicolon and check-interpolation #469 2ef7438
  • Check multiple semicolons inside the directive expressions #472 e6036d2

Thanks to @sagittarius-rev for the bug fixes!

mgechev
published 4.0.1 •

Changelog

Source

4.0.1

Bug Fixes

  • Fix noOutputOnPrefixRule and rename it to no-output-on-prefix. You can now enable it with:
"no-output-on-prefix": true
  • Fix broken tests for noOutputOnPrefixRule.
mgechev
published 4.0.0 •

Changelog

Source

4.0.0

Features

  • Support for Angular version 5 #409 0217e2d
  • Rule for checking the name events without the prefix on https://angular.io/guide/styleguide#dont-prefix-output-properties #449 8f2b4e7.

Enable the new rule by adding the following line in your tslint.json config file:

"no-output-on-prefix-name": true

Thanks to @eromano for the rule implementation!

Breaking Changes

  • The rules templates-use-public, no-access-missing-member, invoke-injectable and template-to-ng-template no longer exist. Remove them from your tslint.json configuration.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc