cyberchef 9.36.0 → 9.36.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyberchef",
3
- "version": "9.36.0",
3
+ "version": "9.36.1",
4
4
  "description": "The Cyber Swiss Army Knife for encryption, encoding, compression and data analysis.",
5
5
  "author": "n1474335 <n1474335@gmail.com>",
6
6
  "homepage": "https://gchq.github.io/CyberChef",
@@ -46,7 +46,7 @@ class GetAllCasings extends Operation {
46
46
  }
47
47
  result += temp.join("") + "\n";
48
48
  }
49
- return result;
49
+ return result.slice(0, -1);
50
50
  }
51
51
  }
52
52
 
@@ -11,7 +11,7 @@ TestRegister.addTests([
11
11
  {
12
12
  name: "All casings of test",
13
13
  input: "test",
14
- expectedOutput: "test\nTest\ntEst\nTEst\nteSt\nTeSt\ntESt\nTESt\ntesT\nTesT\ntEsT\nTEsT\nteST\nTeST\ntEST\nTEST\n",
14
+ expectedOutput: "test\nTest\ntEst\nTEst\nteSt\nTeSt\ntESt\nTESt\ntesT\nTesT\ntEsT\nTEsT\nteST\nTeST\ntEST\nTEST",
15
15
  recipeConfig: [
16
16
  {
17
17
  "op": "Get All Casings",
@@ -22,7 +22,7 @@ TestRegister.addTests([
22
22
  {
23
23
  name: "All casings of t",
24
24
  input: "t",
25
- expectedOutput: "t\nT\n",
25
+ expectedOutput: "t\nT",
26
26
  recipeConfig: [
27
27
  {
28
28
  "op": "Get All Casings",
@@ -33,7 +33,7 @@ TestRegister.addTests([
33
33
  {
34
34
  name: "All casings of null",
35
35
  input: "",
36
- expectedOutput: "\n",
36
+ expectedOutput: "",
37
37
  recipeConfig: [
38
38
  {
39
39
  "op": "Get All Casings",