allure-commandline 2.35.1 → 2.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/bin/allure +6 -4
  2. package/dist/bin/allure.bat +12 -10
  3. package/dist/lib/{allure-commandline-2.35.1.jar → allure-commandline-2.36.0.jar} +0 -0
  4. package/dist/lib/{allure-generator-2.35.1.jar → allure-generator-2.36.0.jar} +0 -0
  5. package/dist/lib/allure-model-2.31.0.jar +0 -0
  6. package/dist/lib/{allure-plugin-api-2.35.1.jar → allure-plugin-api-2.36.0.jar} +0 -0
  7. package/dist/lib/{commons-io-2.20.0.jar → commons-io-2.21.0.jar} +0 -0
  8. package/dist/lib/commons-lang3-3.20.0.jar +0 -0
  9. package/dist/lib/commons-text-1.13.1.jar +0 -0
  10. package/dist/{plugins/xray-plugin/lib/jackson-core-2.20.0.jar → lib/jackson-core-2.20.1.jar} +0 -0
  11. package/dist/lib/{jackson-databind-2.20.0.jar → jackson-databind-2.20.1.jar} +0 -0
  12. package/dist/lib/{jackson-dataformat-xml-2.20.0.jar → jackson-dataformat-xml-2.20.1.jar} +0 -0
  13. package/dist/lib/{jackson-dataformat-yaml-2.20.0.jar → jackson-dataformat-yaml-2.20.1.jar} +0 -0
  14. package/dist/lib/{jackson-module-jaxb-annotations-2.20.0.jar → jackson-module-jaxb-annotations-2.20.1.jar} +0 -0
  15. package/dist/lib/{logback-classic-1.3.15.jar → logback-classic-1.3.16.jar} +0 -0
  16. package/dist/lib/{logback-core-1.3.15.jar → logback-core-1.3.16.jar} +0 -0
  17. package/dist/lib/{opencsv-5.9.jar → opencsv-5.12.0.jar} +0 -0
  18. package/dist/plugins/behaviors-plugin/{behaviors-plugin-2.35.1.jar → behaviors-plugin-2.36.0.jar} +0 -0
  19. package/dist/plugins/behaviors-plugin/static/index.js +14 -0
  20. package/dist/plugins/custom-logo-plugin/custom-logo-plugin-2.36.0.jar +0 -0
  21. package/dist/plugins/jira-plugin/{jira-plugin-2.35.1.jar → jira-plugin-2.36.0.jar} +0 -0
  22. package/dist/plugins/{xray-plugin/lib/allure-jira-commons-2.35.1.jar → jira-plugin/lib/allure-jira-commons-2.36.0.jar} +0 -0
  23. package/dist/{lib/jackson-core-2.20.0.jar → plugins/jira-plugin/lib/jackson-core-2.20.1.jar} +0 -0
  24. package/dist/plugins/{xray-plugin/lib/jackson-databind-2.20.0.jar → jira-plugin/lib/jackson-databind-2.20.1.jar} +0 -0
  25. package/dist/plugins/{xray-plugin/lib/kotlin-stdlib-2.2.0.jar → jira-plugin/lib/kotlin-stdlib-2.2.21.jar} +0 -0
  26. package/dist/plugins/jira-plugin/lib/okhttp-jvm-5.3.2.jar +0 -0
  27. package/dist/plugins/jira-plugin/lib/okio-jvm-3.16.4.jar +0 -0
  28. package/dist/plugins/junit-xml-plugin/{junit-xml-plugin-2.35.1.jar → junit-xml-plugin-2.36.0.jar} +0 -0
  29. package/dist/plugins/packages-plugin/{packages-plugin-2.35.1.jar → packages-plugin-2.36.0.jar} +0 -0
  30. package/dist/plugins/packages-plugin/static/index.js +8 -0
  31. package/dist/plugins/screen-diff-plugin/screen-diff-plugin-2.36.0.jar +0 -0
  32. package/dist/plugins/trx-plugin/{trx-plugin-2.35.1.jar → trx-plugin-2.36.0.jar} +0 -0
  33. package/dist/plugins/xctest-plugin/{xctest-plugin-2.35.1.jar → xctest-plugin-2.36.0.jar} +0 -0
  34. package/dist/plugins/{jira-plugin/lib/allure-jira-commons-2.35.1.jar → xray-plugin/lib/allure-jira-commons-2.36.0.jar} +0 -0
  35. package/dist/plugins/{jira-plugin/lib/jackson-core-2.20.0.jar → xray-plugin/lib/jackson-core-2.20.1.jar} +0 -0
  36. package/dist/plugins/{jira-plugin/lib/jackson-databind-2.20.0.jar → xray-plugin/lib/jackson-databind-2.20.1.jar} +0 -0
  37. package/dist/plugins/{jira-plugin/lib/kotlin-stdlib-2.2.0.jar → xray-plugin/lib/kotlin-stdlib-2.2.21.jar} +0 -0
  38. package/dist/plugins/xray-plugin/lib/okhttp-jvm-5.3.2.jar +0 -0
  39. package/dist/plugins/xray-plugin/lib/okio-jvm-3.16.4.jar +0 -0
  40. package/dist/plugins/xray-plugin/{xray-plugin-2.35.1.jar → xray-plugin-2.36.0.jar} +0 -0
  41. package/dist/plugins/xunit-xml-plugin/{xunit-xml-plugin-2.35.1.jar → xunit-xml-plugin-2.36.0.jar} +0 -0
  42. package/index.js +30 -9
  43. package/package.json +1 -1
  44. package/dist/lib/allure-model-2.29.1.jar +0 -0
  45. package/dist/lib/commons-lang3-3.18.0.jar +0 -0
  46. package/dist/lib/commons-text-1.11.0.jar +0 -0
  47. package/dist/lib/tika-core-2.9.4.jar +0 -0
  48. package/dist/plugins/custom-logo-plugin/custom-logo-plugin-2.35.1.jar +0 -0
  49. package/dist/plugins/jira-plugin/lib/okhttp-jvm-5.1.0.jar +0 -0
  50. package/dist/plugins/jira-plugin/lib/okio-jvm-3.15.0.jar +0 -0
  51. package/dist/plugins/screen-diff-plugin/screen-diff-plugin-2.35.1.jar +0 -0
  52. package/dist/plugins/xray-plugin/lib/okhttp-jvm-5.1.0.jar +0 -0
  53. package/dist/plugins/xray-plugin/lib/okio-jvm-3.15.0.jar +0 -0
package/dist/bin/allure CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  #
4
- # Copyright © 2015-2021 the original authors.
4
+ # Copyright © 2015 the original authors.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -15,6 +15,8 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
+ # SPDX-License-Identifier: Apache-2.0
19
+ #
18
20
 
19
21
  ##############################################################################
20
22
  #
@@ -55,7 +57,7 @@
55
57
  # Darwin, MinGW, and NonStop.
56
58
  #
57
59
  # (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60
+ # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
61
  # within the Gradle project.
60
62
  #
61
63
  # You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,7 @@ done
84
86
  # shellcheck disable=SC2034
85
87
  APP_BASE_NAME=${0##*/}
86
88
  # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87
- export APP_HOME=$( cd "${APP_HOME:-./}.." > /dev/null && pwd -P ) || exit
89
+ export APP_HOME=$( cd -P "${APP_HOME:-./}.." > /dev/null && printf '%s\n' "$PWD" ) || exit
88
90
 
89
91
  # Use the maximum available, or set MAX_FD != -1 to use that value.
90
92
  MAX_FD=maximum
@@ -203,7 +205,7 @@ fi
203
205
  DEFAULT_JVM_OPTS=""
204
206
 
205
207
  # Collect all arguments for the java command:
206
- # * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208
+ # * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207
209
  # and any embedded shellness will be escaped.
208
210
  # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209
211
  # treated as '${Hostname}' itself on the command line.
@@ -13,6 +13,8 @@
13
13
  @rem See the License for the specific language governing permissions and
14
14
  @rem limitations under the License.
15
15
  @rem
16
+ @rem SPDX-License-Identifier: Apache-2.0
17
+ @rem
16
18
 
17
19
  @if "%DEBUG%"=="" @echo off
18
20
  @rem ##########################################################################
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
43
45
  %JAVA_EXE% -version >NUL 2>&1
44
46
  if %ERRORLEVEL% equ 0 goto execute
45
47
 
46
- echo.
47
- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48
- echo.
49
- echo Please set the JAVA_HOME variable in your environment to match the
50
- echo location of your Java installation.
48
+ echo. 1>&2
49
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
50
+ echo. 1>&2
51
+ echo Please set the JAVA_HOME variable in your environment to match the 1>&2
52
+ echo location of your Java installation. 1>&2
51
53
 
52
54
  goto fail
53
55
 
@@ -57,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57
59
 
58
60
  if exist "%JAVA_EXE%" goto execute
59
61
 
60
- echo.
61
- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62
- echo.
63
- echo Please set the JAVA_HOME variable in your environment to match the
64
- echo location of your Java installation.
62
+ echo. 1>&2
63
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
64
+ echo. 1>&2
65
+ echo Please set the JAVA_HOME variable in your environment to match the 1>&2
66
+ echo location of your Java installation. 1>&2
65
67
 
66
68
  goto fail
67
69
 
Binary file
Binary file
@@ -84,6 +84,20 @@ allure.api.addTranslation('he', {
84
84
  }
85
85
  });
86
86
 
87
+ allure.api.addTranslation('hu', {
88
+ tab: {
89
+ behaviors: {
90
+ name: 'Viselkedés'
91
+ }
92
+ },
93
+ widget: {
94
+ behaviors: {
95
+ name: 'Funkció rendezése sztorinként',
96
+ showAll: 'összes mutatása'
97
+ }
98
+ }
99
+ });
100
+
87
101
  allure.api.addTranslation('br', {
88
102
  tab: {
89
103
  behaviors: {
@@ -48,6 +48,14 @@ allure.api.addTranslation('he', {
48
48
  }
49
49
  });
50
50
 
51
+ allure.api.addTranslation('hu', {
52
+ tab: {
53
+ packages: {
54
+ name: 'Modulok'
55
+ }
56
+ }
57
+ });
58
+
51
59
  allure.api.addTranslation('br', {
52
60
  tab: {
53
61
  packages: {
package/index.js CHANGED
@@ -1,12 +1,33 @@
1
1
  #!/usr/bin/env node
2
- var path = require('path');
3
- var isWindows = path.sep === '\\';
4
- var allureCommand = 'allure' + (isWindows ? '.bat' : '');
2
+ var path = require("node:path");
5
3
 
6
- module.exports = function(args) {
7
- return require('child_process').spawn(path.join(__dirname, 'dist/bin', allureCommand), args, {
8
- env: process.env,
9
- stdio: 'inherit',
10
- shell: true,
11
- });
4
+ function escapeCMDArg(arg) {
5
+ if (/[\r\n]/.test(arg)) throw new Error("Invalid character in argument");
6
+ return `"${arg
7
+ .replace(/\\+(?="|$)/g, "$&$&")
8
+ .replace(/"/g, '""')
9
+ .replace(/%/g, "%%cd:~,%")}"`;
12
10
  }
11
+
12
+ module.exports = function (args) {
13
+ var process = require("node:process");
14
+ var childProcess = require("node:child_process");
15
+ if (process.platform === "win32") {
16
+ let command = path.join(__dirname, "dist/bin/allure.bat");
17
+ return childProcess.spawn(
18
+ "cmd.exe",
19
+ ["/E:ON", "/F:OFF", "/V:OFF", "/d", "/s", "/c", `"${[command, ...args].map(escapeCMDArg).join(" ")}"`],
20
+ {
21
+ env: process.env,
22
+ stdio: "inherit",
23
+ shell: false,
24
+ windowsVerbatimArguments: true,
25
+ },
26
+ );
27
+ }
28
+
29
+ return childProcess.spawn(path.join(__dirname, "dist/bin/allure"), args, {
30
+ env: process.env,
31
+ stdio: "inherit",
32
+ });
33
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "bin": {
4
4
  "allure": "bin/allure"
5
5
  },
6
- "version": "2.35.1",
6
+ "version": "2.36.0",
7
7
  "description": "Wrapper to install Allure-commandline via NPM",
8
8
  "main": "index.js",
9
9
  "files": [
Binary file
Binary file
Binary file
Binary file