From cf94c2553f09bbc6c743913300b7ef225c858673 Mon Sep 17 00:00:00 2001 From: Michael Gumowski Date: Mon, 19 Aug 2024 18:19:26 +0200 Subject: [PATCH] Update license headers to include 2024 --- NOTICE.txt | 2 +- README.md | 2 +- jest-resolver.js | 2 +- packages/bridge/src/worker.js | 2 +- .../rules/S5973/fixtures/with-jest/cb.test.ts | 2 +- .../S5973/fixtures/without-jest/cb.test.ts | 2 +- packages/jsts/src/rules/helpers/find-files.ts | 19 ------------------- .../jsts/tests/parsers/fixtures/ast/base.js | 2 +- .../plugins/javascript/api/estree/ESTree.java | 2 +- .../javascript/filter/SizeAssessorTest.java | 2 +- tools/check-distribution-filepath-length.js | 2 +- tools/estree/generate-java-ast.ts | 4 ++-- tools/estree/generate-proto-file.ts | 2 +- tools/estree/load-proto.ts | 2 +- tools/estree/main.ts | 2 +- tools/external-rules-metadata.js | 2 +- tools/fetch-node/scripts/copy-to-plugin.mjs | 2 +- tools/fetch-node/scripts/directories.mjs | 2 +- tools/fetch-node/scripts/fetch-node.mjs | 2 +- tools/fetch-node/scripts/wrapper.mjs | 2 +- tools/newRule.ts | 2 +- 21 files changed, 21 insertions(+), 40 deletions(-) diff --git a/NOTICE.txt b/NOTICE.txt index f12bd85fae3..1a25ea02805 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,5 +1,5 @@ JavaScript -Copyright (C) 2011-2017 SonarSource SA +Copyright (C) 2011-2024 SonarSource SA mailto:info AT sonarsource DOT com This product includes software developed at diff --git a/README.md b/README.md index 7e3747ce4ea..3065fbecfb6 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,6 @@ Would you like to work on this project full-time? We are hiring! Check out https ## License -Copyright 2011-2023 SonarSource. +Copyright 2011-2024 SonarSource. Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt) diff --git a/jest-resolver.js b/jest-resolver.js index cf930ead34b..ff4a00ec0af 100644 --- a/jest-resolver.js +++ b/jest-resolver.js @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/packages/bridge/src/worker.js b/packages/bridge/src/worker.js index 25a5435e79f..f22fa6e9656 100644 --- a/packages/bridge/src/worker.js +++ b/packages/bridge/src/worker.js @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/packages/jsts/src/rules/S5973/fixtures/with-jest/cb.test.ts b/packages/jsts/src/rules/S5973/fixtures/with-jest/cb.test.ts index cbc35675aaf..1332dc7f140 100644 --- a/packages/jsts/src/rules/S5973/fixtures/with-jest/cb.test.ts +++ b/packages/jsts/src/rules/S5973/fixtures/with-jest/cb.test.ts @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/packages/jsts/src/rules/S5973/fixtures/without-jest/cb.test.ts b/packages/jsts/src/rules/S5973/fixtures/without-jest/cb.test.ts index cbc35675aaf..1332dc7f140 100644 --- a/packages/jsts/src/rules/S5973/fixtures/without-jest/cb.test.ts +++ b/packages/jsts/src/rules/S5973/fixtures/without-jest/cb.test.ts @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/packages/jsts/src/rules/helpers/find-files.ts b/packages/jsts/src/rules/helpers/find-files.ts index 19182d02dd9..3b246449441 100644 --- a/packages/jsts/src/rules/helpers/find-files.ts +++ b/packages/jsts/src/rules/helpers/find-files.ts @@ -17,25 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* - * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ import fs from 'fs'; import path from 'path'; import { Minimatch } from 'minimatch'; diff --git a/packages/jsts/tests/parsers/fixtures/ast/base.js b/packages/jsts/tests/parsers/fixtures/ast/base.js index a56a7ff86f7..315064a306c 100644 --- a/packages/jsts/tests/parsers/fixtures/ast/base.js +++ b/packages/jsts/tests/parsers/fixtures/ast/base.js @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/ESTree.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/ESTree.java index a16c7485200..21faf359479 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/ESTree.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/ESTree.java @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/SizeAssessorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/SizeAssessorTest.java index 5197f910e7d..6ad68dd86a0 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/SizeAssessorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/SizeAssessorTest.java @@ -28,7 +28,7 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2020 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/check-distribution-filepath-length.js b/tools/check-distribution-filepath-length.js index 399e09e30b7..e6e725cff3f 100644 --- a/tools/check-distribution-filepath-length.js +++ b/tools/check-distribution-filepath-length.js @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2021 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/estree/generate-java-ast.ts b/tools/estree/generate-java-ast.ts index 8f2ed7dca8d..71d9fd363e9 100644 --- a/tools/estree/generate-java-ast.ts +++ b/tools/estree/generate-java-ast.ts @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or @@ -29,7 +29,7 @@ import { const HEADER = `/* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/estree/generate-proto-file.ts b/tools/estree/generate-proto-file.ts index 6a991818fa9..42fa01d0c2d 100644 --- a/tools/estree/generate-proto-file.ts +++ b/tools/estree/generate-proto-file.ts @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/estree/load-proto.ts b/tools/estree/load-proto.ts index 6d620e1d503..6315aab62d6 100644 --- a/tools/estree/load-proto.ts +++ b/tools/estree/load-proto.ts @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/estree/main.ts b/tools/estree/main.ts index 4babf79c984..d2b9211b6da 100644 --- a/tools/estree/main.ts +++ b/tools/estree/main.ts @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/external-rules-metadata.js b/tools/external-rules-metadata.js index 063195e11c7..e5f62c24e27 100644 --- a/tools/external-rules-metadata.js +++ b/tools/external-rules-metadata.js @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2021 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/fetch-node/scripts/copy-to-plugin.mjs b/tools/fetch-node/scripts/copy-to-plugin.mjs index 386a50ae092..5e0f51e2cc9 100644 --- a/tools/fetch-node/scripts/copy-to-plugin.mjs +++ b/tools/fetch-node/scripts/copy-to-plugin.mjs @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/fetch-node/scripts/directories.mjs b/tools/fetch-node/scripts/directories.mjs index 28eb876763f..c2a198dea92 100644 --- a/tools/fetch-node/scripts/directories.mjs +++ b/tools/fetch-node/scripts/directories.mjs @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/fetch-node/scripts/fetch-node.mjs b/tools/fetch-node/scripts/fetch-node.mjs index b8b72787d2d..6d324ef6dee 100644 --- a/tools/fetch-node/scripts/fetch-node.mjs +++ b/tools/fetch-node/scripts/fetch-node.mjs @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/fetch-node/scripts/wrapper.mjs b/tools/fetch-node/scripts/wrapper.mjs index fcf2f3fcdd1..deff510c1a2 100644 --- a/tools/fetch-node/scripts/wrapper.mjs +++ b/tools/fetch-node/scripts/wrapper.mjs @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or diff --git a/tools/newRule.ts b/tools/newRule.ts index 16b7a314818..f7ab57cac6c 100644 --- a/tools/newRule.ts +++ b/tools/newRule.ts @@ -1,6 +1,6 @@ /* * SonarQube JavaScript Plugin - * Copyright (C) 2011-2023 SonarSource SA + * Copyright (C) 2011-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or