@beff/cli 0.0.117 → 0.0.119
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/CHANGELOG.md +12 -0
- package/dist-cli/cli.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist-cli/cli.js
CHANGED
|
@@ -45781,7 +45781,7 @@ var fs = __toESM(require("fs"));
|
|
|
45781
45781
|
var path = __toESM(require("path"));
|
|
45782
45782
|
|
|
45783
45783
|
// ts-node/generated/bundle.ts
|
|
45784
|
-
var bundle_default = { "codegen-v2.js": '"use strict";\n\nimport {\n TypeofRuntype,\n AnyRuntype,\n NullishRuntype,\n NeverRuntype,\n ConstRuntype,\n RegexRuntype,\n DateRuntype,\n BigIntRuntype,\n StringWithFormatRuntype,\n NumberWithFormatRuntype,\n AnyOfConstsRuntype,\n TupleRuntype,\n AllOfRuntype,\n AnyOfRuntype,\n ArrayRuntype,\n AnyOfDiscriminatedRuntype,\n ObjectRuntype,\n OptionalFieldRuntype,\n registerStringFormatter,\n registerNumberFormatter,\n buildParserFromRuntype,\n generateHashFromString,\n} from "@beff/client/codegen-v2";\n\
|
|
45784
|
+
var bundle_default = { "codegen-v2.js": '"use strict";\n\nimport {\n TypeofRuntype,\n AnyRuntype,\n NullishRuntype,\n NeverRuntype,\n ConstRuntype,\n RegexRuntype,\n DateRuntype,\n BigIntRuntype,\n StringWithFormatRuntype,\n NumberWithFormatRuntype,\n AnyOfConstsRuntype,\n TupleRuntype,\n AllOfRuntype,\n AnyOfRuntype,\n ArrayRuntype,\n AnyOfDiscriminatedRuntype,\n ObjectRuntype,\n OptionalFieldRuntype,\n BaseRefRuntype,\n registerStringFormatter,\n registerNumberFormatter,\n buildParserFromRuntype,\n generateHashFromString,\n} from "@beff/client/codegen-v2";\n\nclass RefRuntype extends BaseRefRuntype {\n getNamedRuntypes() {\n return namedRuntypes;\n }\n}\n\nconst buildParsers = (args) => {\n const stringFormats = args?.stringFormats ?? {};\n for (const k of RequiredStringFormats) {\n if (stringFormats[k] == null) {\n throw new Error(`Missing custom format ${k}`);\n }\n }\n Object.keys(stringFormats).forEach((k) => {\n const v = stringFormats[k];\n registerStringFormatter(k, v);\n });\n const numberFormats = args?.numberFormats ?? {};\n for (const k of RequiredNumberFormats) {\n if (numberFormats[k] == null) {\n throw new Error(`Missing custom format ${k}`);\n }\n }\n Object.keys(numberFormats).forEach((k) => {\n const v = numberFormats[k];\n registerNumberFormatter(k, v);\n });\n let acc = {};\n for (const k of Object.keys(buildParsersInput)) {\n const it = buildParserFromRuntype(buildParsersInput[k], k, false);\n acc[k] = it;\n }\n return acc;\n};\n', "parser.d.ts": 'import { BuildParserFunction } from "@beff/client";\n\ndeclare const _exports: {\n buildParsers: BuildParserFunction;\n};\n\nexport default _exports;\n' };
|
|
45785
45785
|
|
|
45786
45786
|
// ts-node/bundle-to-disk.ts
|
|
45787
45787
|
var esmTag = (mod) => {
|