From ef79eab44bfd000792c610b968b5ceefd41e76a0 Mon Sep 17 00:00:00 2001 From: Darius Jahandarie Date: Sat, 4 Nov 2023 18:45:57 +0900 Subject: Modernize codebase - Use ES modules - Remove vendored libs and build them from npm using esbuild - Switch from JSZip to zip.js --- .../handlebars/__snapshots__/index.test.ts.snap | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 dev/lib/handlebars/__snapshots__/index.test.ts.snap (limited to 'dev/lib/handlebars/__snapshots__') diff --git a/dev/lib/handlebars/__snapshots__/index.test.ts.snap b/dev/lib/handlebars/__snapshots__/index.test.ts.snap new file mode 100644 index 00000000..b9a8c27e --- /dev/null +++ b/dev/lib/handlebars/__snapshots__/index.test.ts.snap @@ -0,0 +1,91 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Handlebars.create 1`] = ` +HandlebarsEnvironment { + "AST": Object { + "helpers": Object { + "helperExpression": [Function], + "scopedId": [Function], + "simpleId": [Function], + }, + }, + "COMPILER_REVISION": 8, + "Compiler": [Function], + "Exception": [Function], + "HandlebarsEnvironment": [Function], + "JavaScriptCompiler": [Function], + "LAST_COMPATIBLE_COMPILER_REVISION": 7, + "Parser": Object { + "yy": Object {}, + }, + "REVISION_CHANGES": Object { + "1": "<= 1.0.rc.2", + "2": "== 1.0.0-rc.3", + "3": "== 1.0.0-rc.4", + "4": "== 1.x.x", + "5": "== 2.0.0-alpha.x", + "6": ">= 2.0.0-beta.1", + "7": ">= 4.0.0 <4.3.0", + "8": ">= 4.3.0", + }, + "SafeString": [Function], + "Utils": Object { + "__esModule": true, + "appendContextPath": [Function], + "blockParams": [Function], + "createFrame": [Function], + "escapeExpression": [Function], + "extend": [Function], + "indexOf": [Function], + "isArray": [Function], + "isEmpty": [Function], + "isFunction": [Function], + "toString": [Function], + }, + "VERSION": "4.7.7", + "VM": Object { + "__esModule": true, + "checkRevision": [Function], + "invokePartial": [Function], + "noop": [Function], + "resolvePartial": [Function], + "template": [Function], + "wrapProgram": [Function], + }, + "__esModule": true, + "compile": [Function], + "compileAST": [Function], + "createFrame": [Function], + "decorators": Object { + "inline": [Function], + }, + "escapeExpression": [Function], + "helpers": Object { + "blockHelperMissing": [Function], + "each": [Function], + "helperMissing": [Function], + "if": [Function], + "log": [Function], + "lookup": [Function], + "unless": [Function], + "with": [Function], + }, + "log": [Function], + "logger": Object { + "level": "info", + "log": [Function], + "lookupLevel": [Function], + "methodMap": Array [ + "debug", + "info", + "warn", + "error", + ], + }, + "parse": [Function], + "parseWithoutProcessing": [Function], + "partials": Object {}, + "precompile": [Function], + "template": [Function], +} +`; -- cgit v1.2.3