From c67cf6cca27bca90242ae8d31a22915ea38f8d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szymborski?= Date: Mon, 9 Oct 2023 18:41:29 +0200 Subject: [PATCH] fix(#473) add Ajv to the runtime --- packages/bruno-js/src/runtime/script-runtime.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/bruno-js/src/runtime/script-runtime.js b/packages/bruno-js/src/runtime/script-runtime.js index 0d9d246f5..910c7df43 100644 --- a/packages/bruno-js/src/runtime/script-runtime.js +++ b/packages/bruno-js/src/runtime/script-runtime.js @@ -15,6 +15,7 @@ const BrunoResponse = require('../bruno-response'); const { cleanJson } = require('../utils'); // Inbuilt Library Support +const ajv = require('ajv'); const atob = require('atob'); const btoa = require('btoa'); const lodash = require('lodash'); @@ -93,6 +94,7 @@ class ScriptRuntime { punycode, zlib, // 3rd party libs + ajv, atob, btoa, lodash, @@ -182,6 +184,7 @@ class ScriptRuntime { punycode, zlib, // 3rd party libs + ajv, atob, btoa, lodash,