diff --git a/resolvers/webpack/CHANGELOG.md b/resolvers/webpack/CHANGELOG.md index d5723757f..914ce1273 100644 --- a/resolvers/webpack/CHANGELOG.md +++ b/resolvers/webpack/CHANGELOG.md @@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). This change log adheres to standards from [Keep a CHANGELOG](https://keepachangelog.com). ## Unreleased + - [refactor] switch to a maintained array.prototype.find package ## 0.13.4 - 2023-08-08 - [fix] restore node 6 compatibility diff --git a/resolvers/webpack/index.js b/resolvers/webpack/index.js index a9fc00381..b66ff3803 100644 --- a/resolvers/webpack/index.js +++ b/resolvers/webpack/index.js @@ -4,7 +4,7 @@ const findRoot = require('find-root'); const path = require('path'); const get = require('lodash/get'); const isEqual = require('lodash/isEqual'); -const find = require('array-find'); +const find = require('array.prototype.find'); const interpret = require('interpret'); const fs = require('fs'); const isCore = require('is-core-module'); diff --git a/resolvers/webpack/package.json b/resolvers/webpack/package.json index 0ae63cfdd..3c87b2a1f 100644 --- a/resolvers/webpack/package.json +++ b/resolvers/webpack/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://github.com/import-js/eslint-plugin-import/tree/HEAD/resolvers/webpack", "dependencies": { - "array-find": "^1.0.0", + "array.prototype.find": "^2.2.1", "debug": "^3.2.7", "enhanced-resolve": "^0.9.1", "find-root": "^1.1.0",