mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-23 06:08:39 +01:00
Merge pull request #488 from lared/bugfix/set-up-ajv-in-scripts
fix(#473) add Ajv to the runtime
This commit is contained in:
commit
524c3f8445
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user