mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 01:14:23 +01:00
Feat/electron bump (#2668)
* pr review changes * collection root object in export json * import environment updates * tests run execution order fix for collection runs * updated validations * accept request flag in curl string for method type * electron version bump to v31.2.1
This commit is contained in:
parent
7194998b0e
commit
9892f7cd40
@ -119,15 +119,16 @@ const parseCurlCommand = (curlCommand) => {
|
|||||||
cookies = cookie.parse(cookieString.replace(/^Cookie: /gi, ''), cookieParseOptions);
|
cookies = cookie.parse(cookieString.replace(/^Cookie: /gi, ''), cookieParseOptions);
|
||||||
}
|
}
|
||||||
let method;
|
let method;
|
||||||
if (parsedArguments.X === 'POST') {
|
let parsedMethodArgument = parsedArguments.X || parsedArguments.request || parsedArguments.T;
|
||||||
|
if (parsedMethodArgument === 'POST') {
|
||||||
method = 'post';
|
method = 'post';
|
||||||
} else if (parsedArguments.X === 'PUT' || parsedArguments.T) {
|
} else if (parsedMethodArgument === 'PUT') {
|
||||||
method = 'put';
|
method = 'put';
|
||||||
} else if (parsedArguments.X === 'PATCH') {
|
} else if (parsedMethodArgument === 'PATCH') {
|
||||||
method = 'patch';
|
method = 'patch';
|
||||||
} else if (parsedArguments.X === 'DELETE') {
|
} else if (parsedMethodArgument === 'DELETE') {
|
||||||
method = 'delete';
|
method = 'delete';
|
||||||
} else if (parsedArguments.X === 'OPTIONS') {
|
} else if (parsedMethodArgument === 'OPTIONS') {
|
||||||
method = 'options';
|
method = 'options';
|
||||||
} else if (
|
} else if (
|
||||||
(parsedArguments.d ||
|
(parsedArguments.d ||
|
||||||
|
@ -3,7 +3,7 @@ require('dotenv').config({ path: process.env.DOTENV_PATH });
|
|||||||
const config = {
|
const config = {
|
||||||
appId: 'com.usebruno.app',
|
appId: 'com.usebruno.app',
|
||||||
productName: 'Bruno',
|
productName: 'Bruno',
|
||||||
electronVersion: '21.1.1',
|
electronVersion: '31.2.1',
|
||||||
directories: {
|
directories: {
|
||||||
buildResources: 'resources',
|
buildResources: 'resources',
|
||||||
output: 'out'
|
output: 'out'
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
"dmg-license": "^1.0.11"
|
"dmg-license": "^1.0.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "21.1.1",
|
"electron": "31.2.1",
|
||||||
"electron-builder": "23.0.2",
|
"electron-builder": "23.0.2",
|
||||||
"electron-icon-maker": "^0.0.5"
|
"electron-icon-maker": "^0.0.5"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user