diff --git a/src/modules/requireProvider.ts b/src/modules/requireProvider.ts index 513c9e3b7..1d4cc1d9b 100644 --- a/src/modules/requireProvider.ts +++ b/src/modules/requireProvider.ts @@ -2,6 +2,7 @@ import * as jsslang from '..' import * as stdlib from '../stdlib' import type { Context } from '../types' import * as types from '../types' +import * as stringify from '../utils/stringify' /** * Returns a function that simulates the job of Node's `require`. The require @@ -23,7 +24,10 @@ export const getRequireProvider = (context: Context) => (x: string) => { ...jsslang, dist: { stdlib, - types + types, + utils: { + stringify + } }, context }