Skip to content

Commit b9b9c86

Browse files
committed
[resolvers/webpack] [refactor] switch to a maintained array.prototype.find package
1 parent 2e7612f commit b9b9c86

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

resolvers/webpack/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
44
This change log adheres to standards from [Keep a CHANGELOG](https://keepachangelog.com).
55

66
## Unreleased
7+
- [refactor] switch to a maintained array.prototype.find package
78

89
## 0.13.4 - 2023-08-08
910
- [fix] restore node 6 compatibility

resolvers/webpack/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const findRoot = require('find-root');
44
const path = require('path');
55
const get = require('lodash/get');
66
const isEqual = require('lodash/isEqual');
7-
const find = require('array-find');
7+
const find = require('array.prototype.find');
88
const interpret = require('interpret');
99
const fs = require('fs');
1010
const isCore = require('is-core-module');

resolvers/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"homepage": "https://github.com/import-js/eslint-plugin-import/tree/HEAD/resolvers/webpack",
3232
"dependencies": {
33-
"array-find": "^1.0.0",
33+
"array.prototype.find": "^2.2.1",
3434
"debug": "^3.2.7",
3535
"enhanced-resolve": "^0.9.1",
3636
"find-root": "^1.1.0",

0 commit comments

Comments
 (0)