Skip to content

Commit

Permalink
Merge branch 'master' into leverage-scc-in-no-cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
soryy708 committed Aug 26, 2024
2 parents 0bf41c2 + bdff75d commit 82a79e9
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 11 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,22 @@
},
"dependencies": {
"@rtsao/scc": "^1.1.0",
"array-includes": "^3.1.7",
"array.prototype.findlastindex": "^1.2.4",
"array-includes": "^3.1.8",
"array.prototype.findlastindex": "^1.2.5",
"array.prototype.flat": "^1.3.2",
"array.prototype.flatmap": "^1.3.2",
"debug": "^3.2.7",
"doctrine": "^2.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-module-utils": "^2.8.0",
"hasown": "^2.0.1",
"is-core-module": "^2.13.1",
"eslint-module-utils": "^2.8.2",
"hasown": "^2.0.2",
"is-core-module": "^2.15.1",
"is-glob": "^4.0.3",
"minimatch": "^3.1.2",
"object.fromentries": "^2.0.7",
"object.groupby": "^1.0.2",
"object.values": "^1.1.7",
"object.fromentries": "^2.0.8",
"object.groupby": "^1.0.3",
"object.values": "^1.2.0",
"semver": "^6.3.1",
"tsconfig-paths": "^3.15.0"
}
}
}
10 changes: 10 additions & 0 deletions utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange

## Unreleased

## v2.8.2 - 2024-08-25

### Fixed
- `parse`: also delete `parserOptions.projectService` ([#3039], thanks [@Mysak0CZ])

### Changed
- [types] use shared config (thanks [@ljharb])
- [meta] add `exports`, `main`
- [meta] add `repository.directory` field
- [refactor] avoid hoisting

## v2.8.1 - 2024-02-26

Expand Down Expand Up @@ -142,6 +150,7 @@ Yanked due to critical issue with cache key resulting from #839.
### Fixed
- `unambiguous.test()` regex is now properly in multiline mode

[#3039]: https://github.com/import-js/eslint-plugin-import/pull/3039
[#2963]: https://github.com/import-js/eslint-plugin-import/pull/2963
[#2755]: https://github.com/import-js/eslint-plugin-import/pull/2755
[#2714]: https://github.com/import-js/eslint-plugin-import/pull/2714
Expand Down Expand Up @@ -188,6 +197,7 @@ Yanked due to critical issue with cache key resulting from #839.
[@manuth]: https://github.com/manuth
[@maxkomarychev]: https://github.com/maxkomarychev
[@mgwalker]: https://github.com/mgwalker
[@Mysak0CZ]: https://github.com/Mysak0CZ
[@nicolo-ribaudo]: https://github.com/nicolo-ribaudo
[@pmcelhaney]: https://github.com/pmcelhaney
[@sergei-startsev]: https://github.com/sergei-startsev
Expand Down
36 changes: 34 additions & 2 deletions utils/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,50 @@
{
"name": "eslint-module-utils",
"version": "2.8.1",
"version": "2.8.2",
"description": "Core utilities to support eslint-plugin-import and other module-related plugins.",
"engines": {
"node": ">=4"
},
"main": false,
"exports": {
"./ModuleCache": "./ModuleCache.js",
"./ModuleCache.js": "./ModuleCache.js",
"./declaredScope": "./declaredScope.js",
"./declaredScope.js": "./declaredScope.js",
"./hash": "./hash.js",
"./hash.js": "./hash.js",
"./ignore": "./ignore.js",
"./ignore.js": "./ignore.js",
"./module-require": "./module-require.js",
"./module-require.js": "./module-require.js",
"./moduleVisitor": "./moduleVisitor.js",
"./moduleVisitor.js": "./moduleVisitor.js",
"./parse": "./parse.js",
"./parse.js": "./parse.js",
"./pkgDir": "./pkgDir.js",
"./pkgDir.js": "./pkgDir.js",
"./pkgUp": "./pkgUp.js",
"./pkgUp.js": "./pkgUp.js",
"./readPkgUp": "./readPkgUp.js",
"./readPkgUp.js": "./readPkgUp.js",
"./resolve": "./resolve.js",
"./resolve.js": "./resolve.js",
"./unambiguous": "./unambiguous.js",
"./unambiguous.js": "./unambiguous.js",
"./visit": "./visit.js",
"./visit.js": "./visit.js",
"./package.json": "./package.json"
},
"scripts": {
"prepublishOnly": "cp ../{LICENSE,.npmrc} ./",
"tsc": "tsc -p .",
"posttsc": "attw -P .",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/import-js/eslint-plugin-import.git",
"directory": "utils"
"directory": "utils"
},
"keywords": [
"eslint-plugin-import",
Expand All @@ -31,6 +62,7 @@
"debug": "^3.2.7"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.4",
"@ljharb/tsconfig": "^0.2.0",
"@types/debug": "^4.1.12",
"@types/eslint": "^8.56.3",
Expand Down
1 change: 1 addition & 0 deletions utils/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ exports.default = function parse(path, content, context) {
// only parse one file in isolate mode, which is much, much faster.
// https://github.com/import-js/eslint-plugin-import/issues/1408#issuecomment-509298962
delete parserOptions.EXPERIMENTAL_useProjectService;
delete parserOptions.projectService;
delete parserOptions.project;
delete parserOptions.projects;

Expand Down

0 comments on commit 82a79e9

Please sign in to comment.