From 5ba3903c31790d057eb8a9e75abf7d74be20d8fc Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Mon, 23 Oct 2023 14:09:24 +0530 Subject: [PATCH] fix(#701): fix bru cli issue --- package-lock.json | 111 +++++++++++++++++++++++++-- packages/bruno-cli/package.json | 4 +- packages/bruno-electron/package.json | 1 - packages/bruno-js/package.json | 3 +- 4 files changed, 109 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index d549744f5..d3c0abbe0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16625,10 +16625,10 @@ }, "packages/bruno-cli": { "name": "@usebruno/cli", - "version": "0.15.0", + "version": "0.15.1", "license": "MIT", "dependencies": { - "@usebruno/js": "0.9.0", + "@usebruno/js": "0.9.1", "@usebruno/lang": "0.9.0", "axios": "^1.5.1", "chai": "^4.3.7", @@ -16727,7 +16727,6 @@ "aws4-axios": "^3.3.0", "axios": "^1.5.1", "chai": "^4.3.7", - "chai-string": "^1.5.0", "chokidar": "^3.5.3", "decomment": "^0.9.5", "dotenv": "^16.0.3", @@ -16766,6 +16765,38 @@ "dev": true, "license": "MIT" }, + "packages/bruno-electron/node_modules/@usebruno/js": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@usebruno/js/-/js-0.9.0.tgz", + "integrity": "sha512-kR5CRi7PgOPQdnUoeyb+MLVBPf0KoJ5jRjkM/79RK/AFZ/ZHfakWta/UOnWnbukQZjS4RjKpW0LBA9wEYfnToQ==", + "dependencies": { + "@usebruno/query": "0.1.0", + "ajv": "^8.12.0", + "atob": "^2.1.2", + "axios": "^0.26.0", + "btoa": "^1.2.1", + "chai": "^4.3.7", + "crypto-js": "^4.1.1", + "handlebars": "^4.7.8", + "json-query": "^2.2.2", + "lodash": "^4.17.21", + "moment": "^2.29.4", + "nanoid": "3.3.4", + "node-fetch": "2.*", + "uuid": "^9.0.0" + }, + "peerDependencies": { + "vm2": "^3.9.13" + } + }, + "packages/bruno-electron/node_modules/@usebruno/js/node_modules/axios": { + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", + "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "dependencies": { + "follow-redirects": "^1.14.8" + } + }, "packages/bruno-electron/node_modules/agent-base": { "version": "7.1.0", "license": "MIT", @@ -16776,6 +16807,21 @@ "node": ">= 14" } }, + "packages/bruno-electron/node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "packages/bruno-electron/node_modules/aws4-axios": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/aws4-axios/-/aws4-axios-3.3.0.tgz", @@ -16892,6 +16938,11 @@ "node": ">= 14" } }, + "packages/bruno-electron/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, "packages/bruno-electron/node_modules/uuid": { "version": "9.0.0", "license": "MIT", @@ -16928,7 +16979,7 @@ }, "packages/bruno-js": { "name": "@usebruno/js", - "version": "0.9.0", + "version": "0.9.1", "license": "MIT", "dependencies": { "@usebruno/query": "0.1.0", @@ -16937,6 +16988,7 @@ "axios": "^0.26.0", "btoa": "^1.2.1", "chai": "^4.3.7", + "chai-string": "^1.5.0", "crypto-js": "^4.1.1", "handlebars": "^4.7.8", "json-query": "^2.2.2", @@ -20660,7 +20712,7 @@ "@usebruno/cli": { "version": "file:packages/bruno-cli", "requires": { - "@usebruno/js": "0.9.0", + "@usebruno/js": "0.9.1", "@usebruno/lang": "0.9.0", "axios": "^1.5.1", "chai": "^4.3.7", @@ -20756,6 +20808,7 @@ "axios": "^0.26.0", "btoa": "^1.2.1", "chai": "^4.3.7", + "chai-string": "^1.5.0", "crypto-js": "^4.1.1", "handlebars": "^4.7.8", "json-query": "^2.2.2", @@ -21614,7 +21667,6 @@ "aws4-axios": "^3.3.0", "axios": "^1.5.1", "chai": "^4.3.7", - "chai-string": "^1.5.0", "chokidar": "^3.5.3", "decomment": "^0.9.5", "dmg-license": "^1.0.11", @@ -21648,12 +21700,54 @@ "version": "16.18.11", "dev": true }, + "@usebruno/js": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@usebruno/js/-/js-0.9.0.tgz", + "integrity": "sha512-kR5CRi7PgOPQdnUoeyb+MLVBPf0KoJ5jRjkM/79RK/AFZ/ZHfakWta/UOnWnbukQZjS4RjKpW0LBA9wEYfnToQ==", + "requires": { + "@usebruno/query": "0.1.0", + "ajv": "^8.12.0", + "atob": "^2.1.2", + "axios": "^0.26.0", + "btoa": "^1.2.1", + "chai": "^4.3.7", + "crypto-js": "^4.1.1", + "handlebars": "^4.7.8", + "json-query": "^2.2.2", + "lodash": "^4.17.21", + "moment": "^2.29.4", + "nanoid": "3.3.4", + "node-fetch": "2.*", + "uuid": "^9.0.0" + }, + "dependencies": { + "axios": { + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", + "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "requires": { + "follow-redirects": "^1.14.8" + } + } + } + }, "agent-base": { "version": "7.1.0", "requires": { "debug": "^4.3.4" } }, + "ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, "aws4-axios": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/aws4-axios/-/aws4-axios-3.3.0.tgz", @@ -21724,6 +21818,11 @@ "debug": "4" } }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, "uuid": { "version": "9.0.0" } diff --git a/packages/bruno-cli/package.json b/packages/bruno-cli/package.json index 0f1af27aa..54fb85fbf 100644 --- a/packages/bruno-cli/package.json +++ b/packages/bruno-cli/package.json @@ -1,6 +1,6 @@ { "name": "@usebruno/cli", - "version": "0.15.0", + "version": "0.15.1", "license": "MIT", "main": "src/index.js", "bin": { @@ -24,7 +24,7 @@ "package.json" ], "dependencies": { - "@usebruno/js": "0.9.0", + "@usebruno/js": "0.9.1", "@usebruno/lang": "0.9.0", "axios": "^1.5.1", "chai": "^4.3.7", diff --git a/packages/bruno-electron/package.json b/packages/bruno-electron/package.json index fe03ca7f0..becef3f89 100644 --- a/packages/bruno-electron/package.json +++ b/packages/bruno-electron/package.json @@ -27,7 +27,6 @@ "aws4-axios": "^3.3.0", "axios": "^1.5.1", "chai": "^4.3.7", - "chai-string": "^1.5.0", "chokidar": "^3.5.3", "decomment": "^0.9.5", "dotenv": "^16.0.3", diff --git a/packages/bruno-js/package.json b/packages/bruno-js/package.json index 26f90f5c1..d8161c9ec 100644 --- a/packages/bruno-js/package.json +++ b/packages/bruno-js/package.json @@ -1,6 +1,6 @@ { "name": "@usebruno/js", - "version": "0.9.0", + "version": "0.9.1", "license": "MIT", "main": "src/index.js", "files": [ @@ -20,6 +20,7 @@ "axios": "^0.26.0", "btoa": "^1.2.1", "chai": "^4.3.7", + "chai-string": "^1.5.0", "crypto-js": "^4.1.1", "handlebars": "^4.7.8", "json-query": "^2.2.2",