Socket
Socket
Sign inDemoInstall

eslint-plugin-deprecation

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-deprecation - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

dist/eslint-plugin-deprecation-1.4.1.tgz

2

dist/rules/deprecation.d.ts

@@ -16,3 +16,3 @@ /**

*/
import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';
export type Options = unknown[];

@@ -19,0 +19,0 @@ export type MessageIds = 'deprecated';

@@ -18,7 +18,7 @@ "use strict";

*/
const experimental_utils_1 = require("@typescript-eslint/experimental-utils");
const utils_1 = require("@typescript-eslint/utils");
const tsutils_1 = require("tsutils");
const ts = require("typescript");
const stringifyJSDocTagInfoText_1 = require("../utils/stringifyJSDocTagInfoText");
const createRule = experimental_utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/gund/eslint-plugin-deprecation');
const createRule = utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/gund/eslint-plugin-deprecation');
exports.default = createRule({

@@ -69,3 +69,3 @@ name: 'deprecation',

}
const services = experimental_utils_1.ESLintUtils.getParserServices(context);
const services = utils_1.ESLintUtils.getParserServices(context);
const deprecation = getDeprecation(id, services, context);

@@ -72,0 +72,0 @@ if (deprecation) {

{
"name": "eslint-plugin-deprecation",
"version": "1.4.0",
"version": "1.4.1",
"description": "ESLint rule that reports usage of deprecated code",

@@ -27,3 +27,3 @@ "author": "Alex Malkevich <malkevich.alex@gmail.com>",

"dependencies": {
"@typescript-eslint/experimental-utils": "^5.57.0",
"@typescript-eslint/utils": "^5.57.0",
"tslib": "^2.3.1",

@@ -30,0 +30,0 @@ "tsutils": "^3.21.0"

Sorry, the diff of this file is not supported yet

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