diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-11-04 18:45:57 +0900 |
---|---|---|
committer | Darius Jahandarie <djahandarie@gmail.com> | 2023-11-04 18:45:57 +0900 |
commit | ef79eab44bfd000792c610b968b5ceefd41e76a0 (patch) | |
tree | 48b04f30f6248caedbd880801aa49402a9e8066a /dev/lib/handlebars/__snapshots__ | |
parent | 376151096431d4362e4baaacf0cef4a534e169f7 (diff) |
Modernize codebase
- Use ES modules
- Remove vendored libs and build them from npm using esbuild
- Switch from JSZip to zip.js
Diffstat (limited to 'dev/lib/handlebars/__snapshots__')
-rw-r--r-- | dev/lib/handlebars/__snapshots__/index.test.ts.snap | 91 |
1 files changed, 91 insertions, 0 deletions
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], +} +`; |