@dxos/vendor-kbn-handlebars 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/neutral/index.mjs +3707 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/package.json +32 -0
- package/src/index.d.ts +25 -0
- package/src/index.js +16 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.js":{"bytes":23382,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js":{"bytes":10309,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js":{"bytes":5950,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js":{"bytes":3831,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"../utils"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js":{"bytes":9875,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"../utils"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js","kind":"require-call","original":"../exception"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js":{"bytes":2013,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js","kind":"require-call","original":"../exception"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js":{"bytes":4458,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"../utils"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js","kind":"require-call","original":"../exception"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js":{"bytes":2507,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js":{"bytes":1244,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js":{"bytes":3759,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"../utils"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js","kind":"require-call","original":"../exception"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers.js":{"bytes":3909,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js","kind":"require-call","original":"./helpers/block-helper-missing"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js","kind":"require-call","original":"./helpers/each"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js","kind":"require-call","original":"./helpers/helper-missing"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js","kind":"require-call","original":"./helpers/if"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js","kind":"require-call","original":"./helpers/log"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js","kind":"require-call","original":"./helpers/lookup"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js","kind":"require-call","original":"./helpers/with"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js":{"bytes":2696,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"../utils"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators.js":{"bytes":1000,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js","kind":"require-call","original":"./decorators/inline"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/logger.js":{"bytes":3883,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"./utils"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js":{"bytes":1783,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"../utils"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js":{"bytes":8493,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js","kind":"require-call","original":"./create-new-lookup-object"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/logger.js","kind":"require-call","original":"../logger"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/base.js":{"bytes":9636,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"./utils"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js","kind":"require-call","original":"./exception"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers.js","kind":"require-call","original":"./helpers"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators.js","kind":"require-call","original":"./decorators"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/logger.js","kind":"require-call","original":"./logger"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js","kind":"require-call","original":"./internal/proto-access"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/safe-string.js":{"bytes":1164,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js":{"bytes":2192,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/runtime.js":{"bytes":44768,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"./utils"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js","kind":"require-call","original":"./exception"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/base.js","kind":"require-call","original":"./base"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers.js","kind":"require-call","original":"./helpers"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js","kind":"require-call","original":"./internal/wrapHelper"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js","kind":"require-call","original":"./internal/proto-access"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js":{"bytes":2507,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.runtime.js":{"bytes":4606,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/base.js","kind":"require-call","original":"./handlebars/base"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/safe-string.js","kind":"require-call","original":"./handlebars/safe-string"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js","kind":"require-call","original":"./handlebars/exception"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"./handlebars/utils"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/runtime.js","kind":"require-call","original":"./handlebars/runtime"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js","kind":"require-call","original":"./handlebars/no-conflict"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js":{"bytes":3425,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js":{"bytes":205665,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js":{"bytes":12631,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js","kind":"require-call","original":"../exception"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js":{"bytes":23162,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js","kind":"require-call","original":"./visitor"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js":{"bytes":19212,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js","kind":"require-call","original":"../exception"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js":{"bytes":3926,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js","kind":"require-call","original":"./parser"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js","kind":"require-call","original":"./whitespace-control"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js","kind":"require-call","original":"./helpers"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"../utils"}],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js":{"bytes":163,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js":{"bytes":163,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.js":{"bytes":4900,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.runtime.js","kind":"require-call","original":"./handlebars.runtime"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js","kind":"require-call","original":"./handlebars/compiler/ast"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js","kind":"require-call","original":"./handlebars/compiler/base"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js","kind":"require-call","original":"./handlebars/compiler/compiler"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js","kind":"require-call","original":"./handlebars/compiler/javascript-compiler"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js","kind":"require-call","original":"./handlebars/compiler/visitor"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js","kind":"require-call","original":"./handlebars/no-conflict"}],"format":"cjs"},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/symbols.js":{"bytes":396,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/utils.js":{"bytes":2368,"imports":[{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"handlebars/dist/cjs/handlebars/utils"}],"format":"cjs"},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/visitor.js":{"bytes":27228,"imports":[{"path":"../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.js","kind":"require-call","original":"tslib"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.js","kind":"require-call","original":"handlebars"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js","kind":"require-call","original":"handlebars/dist/cjs/handlebars/internal/proto-access"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js","kind":"require-call","original":"handlebars/dist/cjs/handlebars/compiler/ast"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js","kind":"require-call","original":"handlebars/dist/cjs/handlebars/utils"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers.js","kind":"require-call","original":"handlebars/dist/cjs/handlebars/helpers"},{"path":"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/symbols.js","kind":"require-call","original":"./symbols"},{"path":"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/utils.js","kind":"require-call","original":"./utils"}],"format":"cjs"},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/handlebars.js":{"bytes":1940,"imports":[{"path":"../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.js","kind":"require-call","original":"tslib"},{"path":"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.js","kind":"require-call","original":"handlebars"},{"path":"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/visitor.js","kind":"require-call","original":"./visitor"}],"format":"cjs"},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/index.js":{"bytes":1048,"imports":[{"path":"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/handlebars.js","kind":"require-call","original":"./src/handlebars"},{"path":"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/utils.js","kind":"require-call","original":"./src/utils"}],"format":"cjs"},"src/index.js":{"bytes":713,"imports":[{"path":"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/index.js","kind":"import-statement","original":"kbn-handlebars"}],"format":"esm"}},"outputs":{"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":258873},"dist/lib/neutral/index.mjs":{"imports":[],"exports":["compileFnName","default"],"entryPoint":"src/index.js","inputs":{"../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.js":{"bytesInOutput":22411},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/utils.js":{"bytesInOutput":2834},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/exception.js":{"bytesInOutput":1657},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js":{"bytesInOutput":1276},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js":{"bytesInOutput":2983},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js":{"bytesInOutput":810},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js":{"bytesInOutput":1433},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js":{"bytesInOutput":825},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js":{"bytesInOutput":497},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js":{"bytesInOutput":1379},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/helpers.js":{"bytesInOutput":1870},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js":{"bytesInOutput":910},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/decorators.js":{"bytesInOutput":611},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/logger.js":{"bytesInOutput":1419},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js":{"bytesInOutput":627},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js":{"bytesInOutput":3124},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/base.js":{"bytesInOutput":3747},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/safe-string.js":{"bytesInOutput":483},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js":{"bytesInOutput":634},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/runtime.js":{"bytesInOutput":13150},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js":{"bytesInOutput":827},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.runtime.js":{"bytesInOutput":2049},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js":{"bytesInOutput":1153},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js":{"bytesInOutput":44928},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js":{"bytesInOutput":4019},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js":{"bytesInOutput":5963},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js":{"bytesInOutput":5831},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js":{"bytesInOutput":1773},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js":{"bytesInOutput":362},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js":{"bytesInOutput":384},"../../node_modules/.pnpm/handlebars@4.7.8/node_modules/handlebars/dist/cjs/handlebars.js":{"bytesInOutput":2178},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/symbols.js":{"bytesInOutput":512},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/utils.js":{"bytesInOutput":1893},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/visitor.js":{"bytesInOutput":22496},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/src/handlebars.js":{"bytesInOutput":1287},"../../node_modules/.pnpm/kbn-handlebars@1.0.0/node_modules/kbn-handlebars/target/types/packages/kbn-handlebars/index.js":{"bytesInOutput":522},"src/index.js":{"bytesInOutput":281}},"bytes":164519}}}
|
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dxos/vendor-kbn-handlebars",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"homepage": "https://dxos.org",
|
|
5
|
+
"bugs": "https://github.com/dxos/dxos/issues",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/dxos/dxos"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"author": "info@dxos.org",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./src/index.d.ts",
|
|
16
|
+
"default": "./dist/lib/neutral/index.mjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"src"
|
|
22
|
+
],
|
|
23
|
+
"dependencies": {},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"esbuild": "catalog:",
|
|
26
|
+
"handlebars": "catalog:",
|
|
27
|
+
"kbn-handlebars": "catalog:"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
}
|
|
32
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
// `kbn-handlebars` ships its source `.ts` (no `.d.ts`) and the source references
|
|
6
|
+
// the removed `hbs` namespace from older `@types/handlebars`, so importing it
|
|
7
|
+
// directly forces TypeScript to compile the upstream source and fail.
|
|
8
|
+
//
|
|
9
|
+
// This vendor wrapper exposes only the surface the DXOS codebase uses
|
|
10
|
+
// (`Handlebars.create`, `registerHelper`, `compileAST`).
|
|
11
|
+
|
|
12
|
+
type HelperDelegate = (this: any, ...args: any[]) => any;
|
|
13
|
+
type TemplateDelegate<T = any> = (context: T, options?: Record<string, unknown>) => string;
|
|
14
|
+
|
|
15
|
+
export interface Handlebars {
|
|
16
|
+
create(): Handlebars;
|
|
17
|
+
registerHelper(name: string, fn: HelperDelegate): void;
|
|
18
|
+
registerHelper(helpers: Record<string, HelperDelegate>): void;
|
|
19
|
+
compileAST<T = any>(input: string, options?: Record<string, unknown>): TemplateDelegate<T>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare const handlebars: Handlebars;
|
|
23
|
+
export default handlebars;
|
|
24
|
+
|
|
25
|
+
export const compileFnName: 'compile' | 'compileAST';
|
package/src/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
// `kbn-handlebars` is published as CommonJS-with-`__esModule`. esbuild's `__toESM`
|
|
6
|
+
// helper (in Node-compatibility mode, which it uses by default) hands us the entire
|
|
7
|
+
// `module.exports` as the synthetic default — i.e. `{ default: <real Handlebars>,
|
|
8
|
+
// compileFnName }` — rather than the inner `default`. We unwrap once here so the
|
|
9
|
+
// bundle exports the patched Handlebars singleton (with `.create()`, `.compileAST()`,
|
|
10
|
+
// `.registerHelper()`) directly to consumers.
|
|
11
|
+
import kbnExports from 'kbn-handlebars';
|
|
12
|
+
|
|
13
|
+
const Handlebars = kbnExports.default ?? kbnExports;
|
|
14
|
+
|
|
15
|
+
export default Handlebars;
|
|
16
|
+
export const compileFnName = kbnExports.compileFnName ?? Handlebars?.compileFnName;
|