Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/sonar-scanner.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const notice = require('eslint-plugin-notice');

module.exports = defineConfig([
{
files: ['**/*.ts'],
files: ['**/*.ts', '**/*.js'],
languageOptions: {
parser: tsParser,
},
Expand All @@ -24,5 +24,5 @@ module.exports = defineConfig([
],
},
},
globalIgnores(['**/dist', '**/build', 'eslint.config.js']),
globalIgnores(['**/dist', '**/build', 'eslint.config.js', '**/fixtures']),
]);
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2024 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion license-header.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
10 changes: 0 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"typescript": "5.9.3"
},
"scripts": {
"build": "tsc && tsx scripts/generate-package-json.ts && replace-in-file __VERSION__ ${VERSION:-SNAPSHOT} build/**/*.js,build/package.json",
"build": "npm run license && tsc && tsx scripts/generate-package-json.ts && replace-in-file __VERSION__ ${VERSION:-SNAPSHOT} build/**/*.js,build/package.json",
"test": "node_modules/.bin/jest --coverage",
"test-integration": "cd test/integration && npm test",
"format": "prettier --write .",
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci-analysis.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2024 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-package-json.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/file.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/java.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/logging.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/process.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/properties.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/proxy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/request.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/runner.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/scan.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/scanner-cli.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/scanner-engine.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/integration/scanner.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2024 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/setup.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/file.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/java.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/mocks/ChildProcessMock.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/mocks/FakeProjectMock.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/platform.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/process.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/properties.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/proxy.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/request.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/scan.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/scanner-cli.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion test/unit/scanner-engine.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2025 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion tools/orchestrator/scripts/full.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2024 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion tools/orchestrator/scripts/issues.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* sonar-scanner-npm
* Copyright (C) 2022-2024 SonarSource SA
* Copyright (C) 2022-2025 SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Loading
Loading