diff --git a/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-babel-expected-output.yml b/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-babel-expected-output.yml index 9b1b79aabefa0..559b72bfc95c4 100644 --- a/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-babel-expected-output.yml +++ b/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-babel-expected-output.yml @@ -7772,7 +7772,7 @@ issues: source: "NPM" message: "deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade\ \ to chokidar 3 with 15x less dependencies." - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not\ @@ -7780,12 +7780,12 @@ issues: \ whims, feature detection in old core-js versions could cause a slowdown up to\ \ 100x even if nothing is polyfilled. Please, upgrade your dependencies to the\ \ actual version of core-js." - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated" - severity: "WARNING" + severity: "HINT" diff --git a/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-expected-output-scope-excludes.yml b/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-expected-output-scope-excludes.yml index 6e8a1d8456f0a..84e37b9e97bfe 100644 --- a/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-expected-output-scope-excludes.yml +++ b/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-expected-output-scope-excludes.yml @@ -1156,9 +1156,9 @@ issues: message: "The npm-shrinkwrap.json file was created with an old version of npm, so\ \ supplemental metadata must be fetched from the registry. This is a one-time\ \ fix-up, please be patient..." - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to \"coffeescript\"\ \ (no hyphen)" - severity: "WARNING" + severity: "HINT" diff --git a/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-expected-output.yml b/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-expected-output.yml index 98bc321eab832..0ecfecd67fd2f 100644 --- a/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-expected-output.yml +++ b/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-expected-output.yml @@ -1192,9 +1192,9 @@ issues: message: "The file was created with an old version of npm, so\ \ supplemental metadata must be fetched from the registry. This is a one-time\ \ fix-up, please be patient..." - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to \"coffeescript\"\ \ (no hyphen)" - severity: "WARNING" + severity: "HINT" diff --git a/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-version-urls-expected-output.yml b/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-version-urls-expected-output.yml index d02ca34e80a2e..61c2da3f900d1 100644 --- a/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-version-urls-expected-output.yml +++ b/plugins/package-managers/node/src/funTest/assets/projects/synthetic/npm-version-urls-expected-output.yml @@ -5152,54 +5152,54 @@ issues: - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated gulp-header@1.8.12: Removed event-stream from gulp-header" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated is-accessor-descriptor@0.1.6: Please upgrade to v0.1.7" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated is-accessor-descriptor@1.0.0: Please upgrade to v1.0.1" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated is-data-descriptor@0.1.4: Please upgrade to v0.1.5" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated is-data-descriptor@1.0.0: Please upgrade to v1.0.1" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported.\ \ Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises\ \ in 1.x.)" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated" - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "skipping integrity check for git dependency ssh://git@github.com/jonschlinkert/gulp-format-md.git " - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "skipping integrity check for git dependency ssh://git@github.com/mochajs/mocha.git " - severity: "WARNING" + severity: "HINT" - timestamp: "1970-01-01T00:00:00Z" source: "NPM" message: "skipping integrity check for git dependency ssh://git@github.com/tinydesk/angular-tileview.git " - severity: "WARNING" + severity: "HINT" diff --git a/plugins/package-managers/node/src/main/kotlin/Npm.kt b/plugins/package-managers/node/src/main/kotlin/Npm.kt index 7dc2ef26d0dff..3e2a8218331f3 100644 --- a/plugins/package-managers/node/src/main/kotlin/Npm.kt +++ b/plugins/package-managers/node/src/main/kotlin/Npm.kt @@ -573,7 +573,7 @@ open class Npm( val issues = mutableListOf() lines.groupLines("npm WARN ").mapTo(issues) { - Issue(source = managerName, message = it, severity = Severity.WARNING) + Issue(source = managerName, message = it, severity = Severity.HINT) } lines.groupLines("npm ERR! ").mapTo(issues) {