eslint-plugin-deprecation
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44336
- Removed@typescript-eslint/experimental-utils@5.62.0(transitive)