Socket
Socket
Sign inDemoInstall

eslint-plugin-etc

Package Overview
Dependencies
159
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.4 to 1.3.5

8

CHANGELOG.md

@@ -0,1 +1,9 @@

<a name="1.3.5"></a>
## [1.3.5](https://github.com/cartant/eslint-plugin-etc/compare/v1.3.4...v1.3.5) (2021-03-14)
## Fixes
- New lines and excess whitespace are now striped from deprecations reported by the `no-deprecated` rule. ([16d19d0](https://github.com/cartant/eslint-plugin-etc/commit/16d19d0))
<a name="1.3.4"></a>

@@ -2,0 +10,0 @@

9

dist/rules/no-deprecated.js

@@ -83,6 +83,9 @@ "use strict";

}
const comment = tslint_tag_1.getTag("deprecated", identifier, typeChecker);
if (comment !== undefined) {
const tag = tslint_tag_1.getTag("deprecated", identifier, typeChecker);
if (tag !== undefined) {
context.report({
data: { comment, name: identifier.text },
data: {
comment: tag.trim().replace(/[\n\r\s\t]+/g, " "),
name: identifier.text,
},
messageId: "forbidden",

@@ -89,0 +92,0 @@ node,

@@ -81,3 +81,3 @@ {

},
"version": "1.3.4"
"version": "1.3.5"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc