For example: com.company.package.classname. - * The date element is used to indicate the date the source was generated. - * The date element must follow the ISO 8601 standard. For example the date - * element would have the following value 2001-07-04T12:08:56.235-0700 - * which represents 2001-07-04 12:08:56 local time in the U.S. Pacific - * Time time zone.
- *The comment element is a place holder for any comments that the code - * generator may want to include in the generated code.
+ * Used to identify generated code. * * @since Common Annotations 1.0 */ - @Documented -@Retention(SOURCE) -@Target({PACKAGE, TYPE, ANNOTATION_TYPE, METHOD, CONSTRUCTOR, FIELD, - LOCAL_VARIABLE, PARAMETER}) +@Target({ ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.LOCAL_VARIABLE, + ElementType.METHOD, ElementType.PACKAGE, ElementType.PARAMETER, ElementType.TYPE }) +@Retention(RetentionPolicy.SOURCE) public @interface Generated { /** - * The value element MUST have the name of the code generator. - * The recommended convention is to use the fully qualified name of the - * code generator. For example: com.acme.generator.CodeGen. + * @return The name of the code generator. It is recommended that the fully qualified name of the code generator is + * used. */ String[] value(); /** - * Date when the source was generated. + * @return The date the code was generated */ String date() default ""; /** - * A place holder for any comments that the code generator may want to - * include in the generated code. + * @return Additional comments (if any) related to the code generation */ String comments() default ""; -} - +} \ No newline at end of file diff --git a/packages/vscode-extension-common-test-helpers/package.json b/packages/vscode-extension-common-test-helpers/package.json index 738f184f458..a07f06b63b1 100644 --- a/packages/vscode-extension-common-test-helpers/package.json +++ b/packages/vscode-extension-common-test-helpers/package.json @@ -23,7 +23,7 @@ "chai": "^4.3.10", "fs-extra": "^11.1.1", "sanitize-filename-ts": "^1.0.2", - "selenium-webdriver": "^4.15.0" + "selenium-webdriver": "^4.27.0" }, "devDependencies": { "@kie-tools/tsconfig": "workspace:*", @@ -31,7 +31,7 @@ "@types/fs-extra": "^11.0.1", "@types/mocha": "^10.0.7", "@types/node": "^20.14.2", - "@types/selenium-webdriver": "^4.1.20", + "@types/selenium-webdriver": "^4.1.27", "mocha": "^10.6.0", "rimraf": "^3.0.2", "typescript": "^5.5.3", diff --git a/packages/vscode-extension-dashbuilder-editor/package.json b/packages/vscode-extension-dashbuilder-editor/package.json index 63ba38015db..74513533b47 100644 --- a/packages/vscode-extension-dashbuilder-editor/package.json +++ b/packages/vscode-extension-dashbuilder-editor/package.json @@ -52,7 +52,7 @@ "@types/fs-extra": "^11.0.1", "@types/mocha": "^10.0.7", "@types/react": "^17.0.6", - "@types/selenium-webdriver": "^4.1.20", + "@types/selenium-webdriver": "^4.1.27", "@types/vscode": "1.67.0", "@vscode/test-web": "^0.0.30", "@vscode/vsce": "^2.22.0", @@ -66,7 +66,7 @@ "process": "^0.11.10", "rimraf": "^3.0.2", "sanitize-filename-ts": "^1.0.2", - "selenium-webdriver": "^4.15.0", + "selenium-webdriver": "^4.27.0", "typescript": "^5.5.3", "vscode-extension-tester": "^8.10.0", "webpack": "^5.94.0", diff --git a/packages/yard-vscode-extension/package.json b/packages/yard-vscode-extension/package.json index 4cd7d3c8cb8..dd26a3a9e36 100644 --- a/packages/yard-vscode-extension/package.json +++ b/packages/yard-vscode-extension/package.json @@ -54,7 +54,7 @@ "@types/chai": "^4.3.6", "@types/fs-extra": "^11.0.1", "@types/mocha": "^10.0.7", - "@types/selenium-webdriver": "^4.1.20", + "@types/selenium-webdriver": "^4.1.27", "@types/vscode": "1.67.0", "@vscode/test-electron": "^2.3.6", "@vscode/test-web": "^0.0.30", @@ -69,7 +69,7 @@ "process": "^0.11.10", "rimraf": "^3.0.2", "sanitize-filename-ts": "^1.0.2", - "selenium-webdriver": "^4.15.0", + "selenium-webdriver": "^4.27.0", "typescript": "^5.5.3", "vscode-extension-tester": "^8.10.0", "webpack": "^5.94.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9bc7029a1af..950a13e1461 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2238,8 +2238,8 @@ importers: specifier: ^3.5.5 version: 3.5.5 '@types/selenium-webdriver': - specifier: ^4.1.20 - version: 4.1.20 + specifier: ^4.1.27 + version: 4.1.27 chai: specifier: ^4.3.10 version: 4.3.10 @@ -2265,8 +2265,8 @@ importers: specifier: ^3.0.2 version: 3.0.2 selenium-webdriver: - specifier: ^4.15.0 - version: 4.15.0(patch_hash=lbqefch5nrzt5atgrk2dnw5phe) + specifier: ^4.27.0 + version: 4.27.0 start-server-and-test: specifier: ^2.0.3 version: 2.0.3 @@ -2430,8 +2430,8 @@ importers: specifier: ^4.3.6 version: 4.3.7 '@types/selenium-webdriver': - specifier: ^4.1.20 - version: 4.1.20 + specifier: ^4.1.27 + version: 4.1.27 chai: specifier: ^4.3.10 version: 4.3.10 @@ -2439,8 +2439,8 @@ importers: specifier: ^3.0.2 version: 3.0.2 selenium-webdriver: - specifier: ^4.15.0 - version: 4.15.0(patch_hash=lbqefch5nrzt5atgrk2dnw5phe) + specifier: ^4.27.0 + version: 4.27.0 typescript: specifier: ^5.5.3 version: 5.5.3 @@ -11867,8 +11867,8 @@ importers: specifier: ^10.0.7 version: 10.0.7 '@types/selenium-webdriver': - specifier: ^4.1.20 - version: 4.1.20 + specifier: ^4.1.27 + version: 4.1.27 '@types/vscode': specifier: 1.67.0 version: 1.67.0 @@ -11915,8 +11915,8 @@ importers: specifier: ^1.0.2 version: 1.0.2 selenium-webdriver: - specifier: ^4.15.0 - version: 4.15.0(patch_hash=lbqefch5nrzt5atgrk2dnw5phe) + specifier: ^4.27.0 + version: 4.27.0 typescript: specifier: ^5.5.3 version: 5.5.3 @@ -13306,8 +13306,8 @@ importers: specifier: ^1.0.2 version: 1.0.2 selenium-webdriver: - specifier: ^4.15.0 - version: 4.15.0(patch_hash=lbqefch5nrzt5atgrk2dnw5phe) + specifier: ^4.27.0 + version: 4.27.0 devDependencies: '@kie-tools/tsconfig': specifier: workspace:* @@ -13325,8 +13325,8 @@ importers: specifier: ^20.14.2 version: 20.14.2 '@types/selenium-webdriver': - specifier: ^4.1.20 - version: 4.1.20 + specifier: ^4.1.27 + version: 4.1.27 mocha: specifier: ^10.6.0 version: 10.6.0 @@ -13410,8 +13410,8 @@ importers: specifier: ^17.0.6 version: 17.0.21 '@types/selenium-webdriver': - specifier: ^4.1.20 - version: 4.1.20 + specifier: ^4.1.27 + version: 4.1.27 '@types/vscode': specifier: 1.67.0 version: 1.67.0 @@ -13452,8 +13452,8 @@ importers: specifier: ^1.0.2 version: 1.0.2 selenium-webdriver: - specifier: ^4.15.0 - version: 4.15.0(patch_hash=lbqefch5nrzt5atgrk2dnw5phe) + specifier: ^4.27.0 + version: 4.27.0 typescript: specifier: ^5.5.3 version: 5.5.3 @@ -14267,8 +14267,8 @@ importers: specifier: ^10.0.7 version: 10.0.7 '@types/selenium-webdriver': - specifier: ^4.1.20 - version: 4.1.20 + specifier: ^4.1.27 + version: 4.1.27 '@types/vscode': specifier: 1.67.0 version: 1.67.0 @@ -14312,8 +14312,8 @@ importers: specifier: ^1.0.2 version: 1.0.2 selenium-webdriver: - specifier: ^4.15.0 - version: 4.15.0(patch_hash=lbqefch5nrzt5atgrk2dnw5phe) + specifier: ^4.27.0 + version: 4.27.0 typescript: specifier: ^5.5.3 version: 5.5.3 @@ -20432,9 +20432,6 @@ packages: '@types/scheduler@0.16.1': resolution: {integrity: sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA==} - '@types/selenium-webdriver@4.1.20': - resolution: {integrity: sha512-WxzARWDZVTbXlJgwYGhNoiV4OuHDabctSQmK5V88LqjW9TJiLETcknxRZ2xB1toecQnu0T2jt1pPXnSYkaWYiw==} - '@types/selenium-webdriver@4.1.27': resolution: {integrity: sha512-ALqsj8D7Swb6MnBQuAQ58J3KC3yh6fLGtAmpBmnZX8j+0kmP7NaLt56CuzBw2W2bXPrvHFTgn8iekOQFUKXEQA==} @@ -29082,10 +29079,6 @@ packages: select-hose@2.0.0: resolution: {integrity: sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==} - selenium-webdriver@4.15.0: - resolution: {integrity: sha512-BNG1bq+KWiBGHcJ/wULi0eKY0yaDqFIbEmtbsYJmfaEghdCkXBsx1akgOorhNwjBipOr0uwpvNXqT6/nzl+zjg==} - engines: {node: '>= 14.20.0'} - selenium-webdriver@4.27.0: resolution: {integrity: sha512-LkTJrNz5socxpPnWPODQ2bQ65eYx9JK+DQMYNihpTjMCqHwgWGYQnQTCAAche2W3ZP87alA+1zYPvgS8tHNzMQ==} engines: {node: '>= 14.21.0'} @@ -31115,18 +31108,6 @@ packages: utf-8-validate: optional: true - ws@8.14.2: - resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - ws@8.18.0: resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} engines: {node: '>=10.0.0'} @@ -40827,19 +40808,19 @@ snapshots: call-me-maybe: 1.0.2 openapi-types: 7.2.3 - '@redhat-developer/locators@1.8.0(@redhat-developer/page-objects@1.8.0(selenium-webdriver@4.27.0)(typescript@5.5.3))(selenium-webdriver@4.27.0)': + '@redhat-developer/locators@1.6.0(@redhat-developer/page-objects@1.6.0(selenium-webdriver@4.27.0)(typescript@5.5.3))(selenium-webdriver@4.27.0)': dependencies: - '@redhat-developer/page-objects': 1.8.0(selenium-webdriver@4.27.0)(typescript@5.5.3) + '@redhat-developer/page-objects': 1.6.0(selenium-webdriver@4.27.0)(typescript@5.5.3) selenium-webdriver: 4.27.0 - '@redhat-developer/page-objects@1.8.0(selenium-webdriver@4.27.0)(typescript@5.5.3)': + '@redhat-developer/page-objects@1.6.0(selenium-webdriver@4.27.0)(typescript@5.5.3)': dependencies: clipboardy: 4.0.0 clone-deep: 4.0.1 compare-versions: 6.1.1 fs-extra: 11.2.0 selenium-webdriver: 4.27.0 - type-fest: 4.30.1 + type-fest: 4.26.1 typescript: 5.5.3 '@repeaterjs/repeater@3.0.4': {} @@ -43723,10 +43704,6 @@ snapshots: '@types/scheduler@0.16.1': {} - '@types/selenium-webdriver@4.1.20': - dependencies: - '@types/ws': 8.5.5 - '@types/selenium-webdriver@4.1.27': dependencies: '@types/node': 20.14.13 @@ -55898,15 +55875,6 @@ snapshots: select-hose@2.0.0: {} - selenium-webdriver@4.15.0(patch_hash=lbqefch5nrzt5atgrk2dnw5phe): - dependencies: - jszip: 3.10.1 - tmp: 0.2.1 - ws: 8.14.2 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - selenium-webdriver@4.27.0: dependencies: '@bazel/runfiles': 6.3.1 @@ -58349,10 +58317,10 @@ snapshots: vscode-extension-tester@8.10.0(mocha@10.6.0)(typescript@5.5.3): dependencies: - '@redhat-developer/locators': 1.8.0(@redhat-developer/page-objects@1.8.0(selenium-webdriver@4.27.0)(typescript@5.5.3))(selenium-webdriver@4.27.0) - '@redhat-developer/page-objects': 1.8.0(selenium-webdriver@4.27.0)(typescript@5.5.3) + '@redhat-developer/locators': 1.6.0(@redhat-developer/page-objects@1.6.0(selenium-webdriver@4.27.0)(typescript@5.5.3))(selenium-webdriver@4.27.0) + '@redhat-developer/page-objects': 1.6.0(selenium-webdriver@4.27.0)(typescript@5.5.3) '@types/selenium-webdriver': 4.1.27 - '@vscode/vsce': 3.2.1 + '@vscode/vsce': 3.1.1 c8: 10.1.2 commander: 12.1.0 compare-versions: 6.1.1 @@ -59211,8 +59179,6 @@ snapshots: ws@8.13.0: {} - ws@8.14.2: {} - ws@8.18.0: {} ws@8.2.3: {}