Merge pull request #488 from lared/bugfix/set-up-ajv-in-scripts

fix(#473) add Ajv to the runtime
This commit is contained in:
Anoop M D 2023-10-09 22:15:17 +05:30 committed by GitHub
commit 524c3f8445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,