Merge branch 'fix-protobuf-order' of https://github.com/oliverrahner/CyberChef
This commit is contained in:
commit
dd66f728b3
@ -184,7 +184,7 @@ class Protobuf {
|
|||||||
bytes: String,
|
bytes: String,
|
||||||
longs: Number,
|
longs: Number,
|
||||||
enums: String,
|
enums: String,
|
||||||
defualts: true
|
defaults: true
|
||||||
});
|
});
|
||||||
const output = {};
|
const output = {};
|
||||||
|
|
||||||
|
@ -40,10 +40,10 @@ TestRegister.addTests([
|
|||||||
"Apple": [
|
"Apple": [
|
||||||
28
|
28
|
||||||
],
|
],
|
||||||
"Banana": "You",
|
|
||||||
"Carrot": [
|
"Carrot": [
|
||||||
"Me"
|
"Me"
|
||||||
]
|
],
|
||||||
|
"Banana": "You"
|
||||||
}, null, 4),
|
}, null, 4),
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
{
|
{
|
||||||
@ -72,10 +72,10 @@ TestRegister.addTests([
|
|||||||
"Apple": [
|
"Apple": [
|
||||||
28
|
28
|
||||||
],
|
],
|
||||||
"Banana": "You",
|
|
||||||
"Carrot": [
|
"Carrot": [
|
||||||
"Me"
|
"Me"
|
||||||
]
|
],
|
||||||
|
"Banana": "You"
|
||||||
},
|
},
|
||||||
"Unknown Fields": {
|
"Unknown Fields": {
|
||||||
"4": 43,
|
"4": 43,
|
||||||
@ -111,10 +111,10 @@ TestRegister.addTests([
|
|||||||
"Apple": [
|
"Apple": [
|
||||||
28
|
28
|
||||||
],
|
],
|
||||||
"Banana": "You",
|
|
||||||
"Carrot": [
|
"Carrot": [
|
||||||
"Me"
|
"Me"
|
||||||
],
|
],
|
||||||
|
"Banana": "You",
|
||||||
"Date": 43,
|
"Date": 43,
|
||||||
"Elderberry": {
|
"Elderberry": {
|
||||||
"Fig": "abc123",
|
"Fig": "abc123",
|
||||||
@ -154,10 +154,10 @@ TestRegister.addTests([
|
|||||||
input: "0d1c0000001203596f751a024d65202b2a0a0a06616263313233120031ba32a96cc10200003801",
|
input: "0d1c0000001203596f751a024d65202b2a0a0a06616263313233120031ba32a96cc10200003801",
|
||||||
expectedOutput: JSON.stringify({
|
expectedOutput: JSON.stringify({
|
||||||
"Test": {
|
"Test": {
|
||||||
"Banana (string)": "You",
|
|
||||||
"Carrot (string)": [
|
"Carrot (string)": [
|
||||||
"Me"
|
"Me"
|
||||||
],
|
],
|
||||||
|
"Banana (string)": "You",
|
||||||
"Date (int32)": 43,
|
"Date (int32)": 43,
|
||||||
"Imbe (Options)": "Option1"
|
"Imbe (Options)": "Option1"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user