mirror of
https://github.com/github/codeql-action
synced 2026-05-29 05:00:55 +03:00
Update checked-in dependencies
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 6,
|
||||
},
|
||||
}
|
||||
+32
-25
@@ -5,6 +5,11 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
|
||||
|
||||
## Unreleased
|
||||
|
||||
## v2.6.2 - 2021-08-08
|
||||
|
||||
### Fixed
|
||||
- Use `context.getPhysicalFilename()` when available (ESLint 7.28+) ([#2160], thanks [@pmcelhaney])
|
||||
|
||||
## v2.6.1 - 2021-05-13
|
||||
|
||||
### Fixed
|
||||
@@ -85,33 +90,35 @@ Yanked due to critical issue with cache key resulting from #839.
|
||||
### Fixed
|
||||
- `unambiguous.test()` regex is now properly in multiline mode
|
||||
|
||||
[#2026]: https://github.com/benmosher/eslint-plugin-import/pull/2026
|
||||
[#1786]: https://github.com/benmosher/eslint-plugin-import/pull/1786
|
||||
[#1671]: https://github.com/benmosher/eslint-plugin-import/pull/1671
|
||||
[#1606]: https://github.com/benmosher/eslint-plugin-import/pull/1606
|
||||
[#1602]: https://github.com/benmosher/eslint-plugin-import/pull/1602
|
||||
[#1591]: https://github.com/benmosher/eslint-plugin-import/pull/1591
|
||||
[#1551]: https://github.com/benmosher/eslint-plugin-import/pull/1551
|
||||
[#1435]: https://github.com/benmosher/eslint-plugin-import/pull/1435
|
||||
[#1409]: https://github.com/benmosher/eslint-plugin-import/pull/1409
|
||||
[#1356]: https://github.com/benmosher/eslint-plugin-import/pull/1356
|
||||
[#1290]: https://github.com/benmosher/eslint-plugin-import/pull/1290
|
||||
[#1218]: https://github.com/benmosher/eslint-plugin-import/pull/1218
|
||||
[#1166]: https://github.com/benmosher/eslint-plugin-import/issues/1166
|
||||
[#1160]: https://github.com/benmosher/eslint-plugin-import/pull/1160
|
||||
[#1035]: https://github.com/benmosher/eslint-plugin-import/issues/1035
|
||||
[#599]: https://github.com/benmosher/eslint-plugin-import/pull/599
|
||||
[#2160]: https://github.com/import-js/eslint-plugin-import/pull/2160
|
||||
[#2026]: https://github.com/import-js/eslint-plugin-import/pull/2026
|
||||
[#1786]: https://github.com/import-js/eslint-plugin-import/pull/1786
|
||||
[#1671]: https://github.com/import-js/eslint-plugin-import/pull/1671
|
||||
[#1606]: https://github.com/import-js/eslint-plugin-import/pull/1606
|
||||
[#1602]: https://github.com/import-js/eslint-plugin-import/pull/1602
|
||||
[#1591]: https://github.com/import-js/eslint-plugin-import/pull/1591
|
||||
[#1551]: https://github.com/import-js/eslint-plugin-import/pull/1551
|
||||
[#1435]: https://github.com/import-js/eslint-plugin-import/pull/1435
|
||||
[#1409]: https://github.com/import-js/eslint-plugin-import/pull/1409
|
||||
[#1356]: https://github.com/import-js/eslint-plugin-import/pull/1356
|
||||
[#1290]: https://github.com/import-js/eslint-plugin-import/pull/1290
|
||||
[#1218]: https://github.com/import-js/eslint-plugin-import/pull/1218
|
||||
[#1166]: https://github.com/import-js/eslint-plugin-import/issues/1166
|
||||
[#1160]: https://github.com/import-js/eslint-plugin-import/pull/1160
|
||||
[#1035]: https://github.com/import-js/eslint-plugin-import/issues/1035
|
||||
[#599]: https://github.com/import-js/eslint-plugin-import/pull/599
|
||||
|
||||
[@hulkish]: https://github.com/hulkish
|
||||
[@timkraut]: https://github.com/timkraut
|
||||
[@vikr01]: https://github.com/vikr01
|
||||
[@bradzacher]: https://github.com/bradzacher
|
||||
[@christophercurrie]: https://github.com/christophercurrie
|
||||
[@brettz9]: https://github.com/brettz9
|
||||
[@JounQin]: https://github.com/JounQin
|
||||
[@aladdin-add]: https://github.com/aladdin-add
|
||||
[@arcanis]: https://github.com/arcanis
|
||||
[@sompylasar]: https://github.com/sompylasar
|
||||
[@bradzacher]: https://github.com/bradzacher
|
||||
[@brettz9]: https://github.com/brettz9
|
||||
[@christophercurrie]: https://github.com/christophercurrie
|
||||
[@hulkish]: https://github.com/hulkish
|
||||
[@iamnapo]: https://github.com/iamnapo
|
||||
[@JounQin]: https://github.com/JounQin
|
||||
[@kaiyoma]: https://github.com/kaiyoma
|
||||
[@manuth]: https://github.com/manuth
|
||||
[@aladdin-add]: https://github.com/aladdin-add
|
||||
[@pmcelhaney]: https://github.com/pmcelhaney
|
||||
[@sompylasar]: https://github.com/sompylasar
|
||||
[@timkraut]: https://github.com/timkraut
|
||||
[@vikr01]: https://github.com/vikr01
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eslint-module-utils",
|
||||
"version": "2.6.1",
|
||||
"version": "2.6.2",
|
||||
"description": "Core utilities to support eslint-plugin-import and other module-related plugins.",
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/benmosher/eslint-plugin-import.git"
|
||||
"url": "git+https://github.com/import-js/eslint-plugin-import.git"
|
||||
},
|
||||
"keywords": [
|
||||
"eslint-plugin-import",
|
||||
@@ -22,9 +22,9 @@
|
||||
"author": "Ben Mosher <me@benmosher.com>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/benmosher/eslint-plugin-import/issues"
|
||||
"url": "https://github.com/import-js/eslint-plugin-import/issues"
|
||||
},
|
||||
"homepage": "https://github.com/benmosher/eslint-plugin-import#readme",
|
||||
"homepage": "https://github.com/import-js/eslint-plugin-import#readme",
|
||||
"dependencies": {
|
||||
"debug": "^3.2.7",
|
||||
"pkg-dir": "^2.0.0"
|
||||
|
||||
+2
-6
@@ -35,7 +35,7 @@ exports.default = function parse(path, content, context) {
|
||||
// @typescript-eslint/parser will parse the entire project with typechecking if you provide
|
||||
// "project" or "projects" in parserOptions. Removing these options means the parser will
|
||||
// only parse one file in isolate mode, which is much, much faster.
|
||||
// https://github.com/benmosher/eslint-plugin-import/issues/1408#issuecomment-509298962
|
||||
// https://github.com/import-js/eslint-plugin-import/issues/1408#issuecomment-509298962
|
||||
delete parserOptions.project;
|
||||
delete parserOptions.projects;
|
||||
|
||||
@@ -52,11 +52,7 @@ exports.default = function parse(path, content, context) {
|
||||
console.warn('Line ' + e.lineNumber + ', column ' + e.column + ': ' + e.message);
|
||||
}
|
||||
if (!ast || typeof ast !== 'object') {
|
||||
console.warn(
|
||||
'`parseForESLint` from parser `' +
|
||||
parserPath +
|
||||
'` is invalid and will just be ignored'
|
||||
);
|
||||
console.warn('`parseForESLint` from parser `' + parserPath + '` is invalid and will just be ignored');
|
||||
} else {
|
||||
return ast;
|
||||
}
|
||||
|
||||
+1
-4
@@ -217,10 +217,7 @@ const erroredContexts = new Set();
|
||||
*/
|
||||
function resolve(p, context) {
|
||||
try {
|
||||
return relative( p
|
||||
, context.getFilename()
|
||||
, context.settings
|
||||
);
|
||||
return relative(p, context.getPhysicalFilename ? context.getPhysicalFilename() : context.getFilename(), context.settings);
|
||||
} catch (err) {
|
||||
if (!erroredContexts.has(context)) {
|
||||
// The `err.stack` string starts with `err.name` followed by colon and `err.message`.
|
||||
|
||||
Reference in New Issue
Block a user