Skip to content

Commit

Permalink
[resolvers/webpack] [refactor] switch to a maintained array.prototype…
Browse files Browse the repository at this point in the history
….find package
  • Loading branch information
ljharb committed Aug 11, 2023
1 parent 2e7612f commit b9b9c86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions resolvers/webpack/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion resolvers/webpack/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion resolvers/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b9b9c86

Please sign in to comment.