@goast/core 0.4.0-beta4 → 0.4.1
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/LICENSE +21 -21
- package/README.md +4 -0
- package/esm/_dnt.shims.d.ts +1 -1
- package/esm/_dnt.test_polyfills.d.ts +29 -0
- package/esm/_dnt.test_polyfills.d.ts.map +1 -0
- package/esm/_dnt.test_polyfills.js +31 -0
- package/esm/_dnt.test_shims.d.ts +14 -0
- package/esm/_dnt.test_shims.d.ts.map +1 -0
- package/esm/_dnt.test_shims.js +69 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +26 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +30 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts +18 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/false.js +22 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts +23 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.js +53 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts +18 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/match.js +26 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts +20 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.js +29 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts +18 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.js +26 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts +23 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.js +32 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts +24 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.js +57 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts +20 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.js +29 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts +14 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.js +43 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts +17 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.js +26 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts +4 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.js +13 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts +46 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.js +161 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts +6 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.js +29 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts +4 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.js +11 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts +9 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.js +191 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts +4 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.js +11 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts +3 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.js +12 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts +34 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.js +714 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts +11 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.js +10 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +4 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.js +10 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts +843 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_types.js +3 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts +9 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.js +218 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts +60 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/expect.js +523 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts +29 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/fn.js +85 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts +86 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/mod.js +88 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +160 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +199 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +82 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js +111 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +140 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js +277 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +99 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js +180 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts +2 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/format.js +37 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +159 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js +207 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts +16 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/types.js +2 -0
- package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts +79 -0
- package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.js +380 -0
- package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts +738 -0
- package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.js +654 -0
- package/esm/mod.d.ts +30 -0
- package/esm/mod.d.ts.map +1 -0
- package/esm/mod.js +29 -0
- package/esm/src/ast/node.d.ts +17 -0
- package/esm/src/ast/node.d.ts.map +1 -0
- package/esm/src/codegen/config.d.ts +16 -0
- package/esm/src/codegen/config.d.ts.map +1 -0
- package/esm/src/codegen/endpoints-generator.d.ts +18 -0
- package/esm/src/codegen/endpoints-generator.d.ts.map +1 -0
- package/esm/src/codegen/generator.d.ts +39 -0
- package/esm/src/codegen/generator.d.ts.map +1 -0
- package/esm/src/codegen/generator.js +117 -0
- package/esm/src/codegen/internal-utils.d.ts.map +1 -0
- package/esm/src/codegen/internal-utils.js +6 -0
- package/esm/src/codegen/schemas-generator.d.ts +19 -0
- package/esm/src/codegen/schemas-generator.d.ts.map +1 -0
- package/esm/src/codegen/schemas-generator.js +45 -0
- package/esm/src/codegen/services-generator.d.ts +18 -0
- package/esm/src/codegen/services-generator.d.ts.map +1 -0
- package/esm/src/codegen/types.d.ts +19 -0
- package/esm/src/codegen/types.d.ts.map +1 -0
- package/esm/src/collect/collector.d.ts +5 -0
- package/esm/src/collect/collector.d.ts.map +1 -0
- package/esm/src/collect/helpers.d.ts +5 -0
- package/esm/src/collect/helpers.d.ts.map +1 -0
- package/esm/src/collect/helpers.test.d.ts +2 -0
- package/esm/src/collect/helpers.test.d.ts.map +1 -0
- package/esm/src/collect/helpers.test.js +77 -0
- package/esm/src/collect/types.d.ts +14 -0
- package/esm/src/collect/types.d.ts.map +1 -0
- package/esm/src/internal-utils.d.ts.map +1 -0
- package/esm/src/parse/deref-proxy.d.ts.map +1 -0
- package/esm/src/parse/deref-proxy.js +62 -0
- package/esm/src/parse/openapi-types.d.ts.map +1 -0
- package/esm/src/parse/parser.d.ts +19 -0
- package/esm/src/parse/parser.d.ts.map +1 -0
- package/esm/src/parse/parser.js +195 -0
- package/esm/src/parse/types.d.ts.map +1 -0
- package/esm/src/transform/api-types.d.ts +196 -0
- package/esm/src/transform/api-types.d.ts.map +1 -0
- package/esm/src/transform/helpers.d.ts +52 -0
- package/esm/src/transform/helpers.d.ts.map +1 -0
- package/esm/src/transform/helpers.js +160 -0
- package/esm/src/transform/helpers.test.d.ts +2 -0
- package/esm/src/transform/helpers.test.d.ts.map +1 -0
- package/esm/src/transform/helpers.test.js +265 -0
- package/esm/src/transform/transform-document.d.ts +5 -0
- package/esm/src/transform/transform-document.d.ts.map +1 -0
- package/esm/src/transform/transform-endpoint.d.ts +5 -0
- package/esm/src/transform/transform-endpoint.d.ts.map +1 -0
- package/esm/src/transform/transform-endpoint.js +269 -0
- package/esm/src/transform/transform-schema.d.ts +6 -0
- package/esm/src/transform/transform-schema.d.ts.map +1 -0
- package/esm/src/transform/transform-schema.js +182 -0
- package/esm/src/transform/transformer.d.ts +5 -0
- package/esm/src/transform/transformer.d.ts.map +1 -0
- package/esm/src/transform/types.d.ts.map +1 -0
- package/esm/src/utils/action-provider.d.ts.map +1 -0
- package/esm/src/utils/action-provider.js +29 -0
- package/esm/src/utils/action-provider.test.d.ts +2 -0
- package/esm/src/utils/action-provider.test.d.ts.map +1 -0
- package/esm/src/utils/action-provider.test.js +28 -0
- package/esm/src/utils/array.utils.d.ts.map +1 -0
- package/esm/src/utils/asset-manager.d.ts +9 -0
- package/esm/src/utils/asset-manager.d.ts.map +1 -0
- package/esm/src/utils/asset-manager.js +50 -0
- package/esm/src/utils/class.utils.d.ts.map +1 -0
- package/esm/src/utils/class.utils.js +28 -0
- package/esm/src/utils/common.utils.d.ts.map +1 -0
- package/esm/src/utils/common.utils.test.d.ts +2 -0
- package/esm/src/utils/common.utils.test.d.ts.map +1 -0
- package/esm/src/utils/common.utils.test.js +18 -0
- package/esm/src/utils/condition.d.ts.map +1 -0
- package/esm/src/utils/condition.test.d.ts +2 -0
- package/esm/src/utils/condition.test.d.ts.map +1 -0
- package/esm/src/utils/condition.test.js +31 -0
- package/esm/src/utils/endpoint.utils.d.ts +3 -0
- package/esm/src/utils/endpoint.utils.d.ts.map +1 -0
- package/esm/src/utils/endpoint.utils.test.d.ts +2 -0
- package/esm/src/utils/endpoint.utils.test.d.ts.map +1 -0
- package/esm/src/utils/endpoint.utils.test.js +31 -0
- package/esm/src/utils/error.utils.d.ts.map +1 -0
- package/esm/src/utils/factory.d.ts +21 -0
- package/esm/src/utils/factory.d.ts.map +1 -0
- package/esm/src/utils/factory.test.d.ts +2 -0
- package/esm/src/utils/factory.test.d.ts.map +1 -0
- package/esm/src/utils/factory.test.js +34 -0
- package/esm/src/utils/file-system.utils.d.ts.map +1 -0
- package/esm/src/utils/generator.utils.d.ts.map +1 -0
- package/esm/src/utils/generator.utils.test.d.ts +2 -0
- package/esm/src/utils/generator.utils.test.d.ts.map +1 -0
- package/esm/src/utils/generator.utils.test.js +13 -0
- package/esm/src/utils/object.utils.d.ts.map +1 -0
- package/esm/src/utils/object.utils.js +36 -0
- package/esm/src/utils/object.utils.test.d.ts +2 -0
- package/esm/src/utils/object.utils.test.d.ts.map +1 -0
- package/esm/src/utils/object.utils.test.js +29 -0
- package/esm/src/utils/schema.utils.d.ts +11 -0
- package/esm/src/utils/schema.utils.d.ts.map +1 -0
- package/esm/src/utils/schema.utils.test.d.ts +2 -0
- package/esm/src/utils/schema.utils.test.d.ts.map +1 -0
- package/esm/src/utils/schema.utils.test.js +70 -0
- package/esm/src/utils/source-builder.d.ts +234 -0
- package/esm/src/utils/source-builder.d.ts.map +1 -0
- package/esm/src/utils/source-builder.js +447 -0
- package/esm/src/utils/source-builder.test.d.ts +2 -0
- package/esm/src/utils/source-builder.test.d.ts.map +1 -0
- package/esm/src/utils/source-builder.test.js +505 -0
- package/esm/src/utils/string-builder/options.d.ts.map +1 -0
- package/esm/src/utils/string-builder/string-builder.d.ts +73 -0
- package/esm/src/utils/string-builder/string-builder.d.ts.map +1 -0
- package/esm/src/utils/string-builder/string-builder.js +149 -0
- package/esm/src/utils/string-builder/string-builder.test.d.ts +2 -0
- package/esm/src/utils/string-builder/string-builder.test.d.ts.map +1 -0
- package/esm/src/utils/string-builder/string-builder.test.js +163 -0
- package/esm/src/utils/string-builder/utils.d.ts.map +1 -0
- package/esm/src/utils/string.utils.d.ts.map +1 -0
- package/esm/src/utils/string.utils.test.d.ts +2 -0
- package/esm/src/utils/string.utils.test.d.ts.map +1 -0
- package/esm/src/utils/string.utils.test.js +528 -0
- package/esm/src/utils/string.utils.types.d.ts.map +1 -0
- package/esm/src/utils/type.utils.d.ts.map +1 -0
- package/esm/tests/openapi.test.d.ts +2 -0
- package/esm/tests/openapi.test.d.ts.map +1 -0
- package/esm/tests/openapi.test.js +33 -0
- package/esm/tests/schema-factory.d.ts +42 -0
- package/esm/tests/schema-factory.d.ts.map +1 -0
- package/esm/tests/schema-factory.js +138 -0
- package/package.json +6 -6
- package/script/_dnt.shims.d.ts +1 -1
- package/script/_dnt.test_polyfills.d.ts +29 -0
- package/script/_dnt.test_polyfills.d.ts.map +1 -0
- package/script/_dnt.test_polyfills.js +32 -0
- package/script/_dnt.test_shims.d.ts +14 -0
- package/script/_dnt.test_shims.d.ts.map +1 -0
- package/script/_dnt.test_shims.js +79 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +26 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +34 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts +18 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/false.js +25 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts +23 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.js +56 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts +18 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/match.js +29 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts +20 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.js +32 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts +18 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/not_match.js +29 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts +23 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.js +35 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts +24 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.js +60 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts +20 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.js +32 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts +14 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.js +46 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts +17 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.js +29 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts +4 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.js +18 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts +46 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.js +183 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts +6 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.js +33 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts +4 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.js +15 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts +9 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_equal.js +194 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts +4 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_extend.js +15 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts +3 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.js +17 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts +34 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.js +748 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts +11 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.js +14 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +4 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.js +14 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts +843 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_types.js +4 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts +9 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_utils.js +226 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts +60 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/expect.js +527 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts +29 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/fn.js +88 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts +86 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/mod.js +91 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +160 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +204 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +82 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/build_message.js +116 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +140 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/diff.js +284 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +99 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.js +186 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts +2 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/format.js +41 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +159 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/styles.js +220 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts +16 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/types.js +3 -0
- package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts +79 -0
- package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.js +385 -0
- package/script/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts +738 -0
- package/script/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/testing/1.0.9/bdd.js +665 -0
- package/script/mod.d.ts +30 -0
- package/script/mod.d.ts.map +1 -0
- package/script/mod.js +34 -0
- package/script/src/ast/node.d.ts +17 -0
- package/script/src/ast/node.d.ts.map +1 -0
- package/script/src/codegen/config.d.ts +16 -0
- package/script/src/codegen/config.d.ts.map +1 -0
- package/script/src/codegen/endpoints-generator.d.ts +18 -0
- package/script/src/codegen/endpoints-generator.d.ts.map +1 -0
- package/script/src/codegen/generator.d.ts +39 -0
- package/script/src/codegen/generator.d.ts.map +1 -0
- package/script/src/codegen/generator.js +123 -0
- package/script/src/codegen/internal-utils.d.ts.map +1 -0
- package/script/src/codegen/internal-utils.js +9 -0
- package/script/src/codegen/schemas-generator.d.ts +19 -0
- package/script/src/codegen/schemas-generator.d.ts.map +1 -0
- package/script/src/codegen/schemas-generator.js +49 -0
- package/script/src/codegen/services-generator.d.ts +18 -0
- package/script/src/codegen/services-generator.d.ts.map +1 -0
- package/script/src/codegen/types.d.ts +19 -0
- package/script/src/codegen/types.d.ts.map +1 -0
- package/script/src/collect/collector.d.ts +5 -0
- package/script/src/collect/collector.d.ts.map +1 -0
- package/script/src/collect/helpers.d.ts +5 -0
- package/script/src/collect/helpers.d.ts.map +1 -0
- package/script/src/collect/helpers.test.d.ts +2 -0
- package/script/src/collect/helpers.test.d.ts.map +1 -0
- package/script/src/collect/helpers.test.js +79 -0
- package/script/src/collect/types.d.ts +14 -0
- package/script/src/collect/types.d.ts.map +1 -0
- package/script/src/internal-utils.d.ts.map +1 -0
- package/script/src/parse/deref-proxy.d.ts.map +1 -0
- package/script/src/parse/deref-proxy.js +65 -0
- package/script/src/parse/openapi-types.d.ts.map +1 -0
- package/script/src/parse/parser.d.ts +19 -0
- package/script/src/parse/parser.d.ts.map +1 -0
- package/script/src/parse/parser.js +200 -0
- package/script/src/parse/types.d.ts.map +1 -0
- package/script/src/transform/api-types.d.ts +196 -0
- package/script/src/transform/api-types.d.ts.map +1 -0
- package/script/src/transform/helpers.d.ts +52 -0
- package/script/src/transform/helpers.d.ts.map +1 -0
- package/script/src/transform/helpers.js +173 -0
- package/script/src/transform/helpers.test.d.ts +2 -0
- package/script/src/transform/helpers.test.d.ts.map +1 -0
- package/script/src/transform/helpers.test.js +267 -0
- package/script/src/transform/transform-document.d.ts +5 -0
- package/script/src/transform/transform-document.d.ts.map +1 -0
- package/script/src/transform/transform-endpoint.d.ts +5 -0
- package/script/src/transform/transform-endpoint.d.ts.map +1 -0
- package/script/src/transform/transform-endpoint.js +272 -0
- package/script/src/transform/transform-schema.d.ts +6 -0
- package/script/src/transform/transform-schema.d.ts.map +1 -0
- package/script/src/transform/transform-schema.js +185 -0
- package/script/src/transform/transformer.d.ts +5 -0
- package/script/src/transform/transformer.d.ts.map +1 -0
- package/script/src/transform/types.d.ts.map +1 -0
- package/script/src/utils/action-provider.d.ts.map +1 -0
- package/script/src/utils/action-provider.js +33 -0
- package/script/src/utils/action-provider.test.d.ts +2 -0
- package/script/src/utils/action-provider.test.d.ts.map +1 -0
- package/script/src/utils/action-provider.test.js +30 -0
- package/script/src/utils/array.utils.d.ts.map +1 -0
- package/script/src/utils/asset-manager.d.ts +9 -0
- package/script/src/utils/asset-manager.d.ts.map +1 -0
- package/script/src/utils/asset-manager.js +55 -0
- package/script/src/utils/class.utils.d.ts.map +1 -0
- package/script/src/utils/class.utils.js +33 -0
- package/script/src/utils/common.utils.d.ts.map +1 -0
- package/script/src/utils/common.utils.test.d.ts +2 -0
- package/script/src/utils/common.utils.test.d.ts.map +1 -0
- package/script/src/utils/common.utils.test.js +20 -0
- package/script/src/utils/condition.d.ts.map +1 -0
- package/script/src/utils/condition.test.d.ts +2 -0
- package/script/src/utils/condition.test.d.ts.map +1 -0
- package/script/src/utils/condition.test.js +33 -0
- package/script/src/utils/endpoint.utils.d.ts +3 -0
- package/script/src/utils/endpoint.utils.d.ts.map +1 -0
- package/script/src/utils/endpoint.utils.test.d.ts +2 -0
- package/script/src/utils/endpoint.utils.test.d.ts.map +1 -0
- package/script/src/utils/endpoint.utils.test.js +33 -0
- package/script/src/utils/error.utils.d.ts.map +1 -0
- package/script/src/utils/factory.d.ts +21 -0
- package/script/src/utils/factory.d.ts.map +1 -0
- package/script/src/utils/factory.test.d.ts +2 -0
- package/script/src/utils/factory.test.d.ts.map +1 -0
- package/script/src/utils/factory.test.js +36 -0
- package/script/src/utils/file-system.utils.d.ts.map +1 -0
- package/script/src/utils/generator.utils.d.ts.map +1 -0
- package/script/src/utils/generator.utils.test.d.ts +2 -0
- package/script/src/utils/generator.utils.test.d.ts.map +1 -0
- package/script/src/utils/generator.utils.test.js +15 -0
- package/script/src/utils/object.utils.d.ts.map +1 -0
- package/script/src/utils/object.utils.js +40 -0
- package/script/src/utils/object.utils.test.d.ts +2 -0
- package/script/src/utils/object.utils.test.d.ts.map +1 -0
- package/script/src/utils/object.utils.test.js +31 -0
- package/script/src/utils/schema.utils.d.ts +11 -0
- package/script/src/utils/schema.utils.d.ts.map +1 -0
- package/script/src/utils/schema.utils.test.d.ts +2 -0
- package/script/src/utils/schema.utils.test.d.ts.map +1 -0
- package/script/src/utils/schema.utils.test.js +72 -0
- package/script/src/utils/source-builder.d.ts +234 -0
- package/script/src/utils/source-builder.d.ts.map +1 -0
- package/script/src/utils/source-builder.js +451 -0
- package/script/src/utils/source-builder.test.d.ts +2 -0
- package/script/src/utils/source-builder.test.d.ts.map +1 -0
- package/script/src/utils/source-builder.test.js +507 -0
- package/script/src/utils/string-builder/options.d.ts.map +1 -0
- package/script/src/utils/string-builder/string-builder.d.ts +73 -0
- package/script/src/utils/string-builder/string-builder.d.ts.map +1 -0
- package/script/src/utils/string-builder/string-builder.js +153 -0
- package/script/src/utils/string-builder/string-builder.test.d.ts +2 -0
- package/script/src/utils/string-builder/string-builder.test.d.ts.map +1 -0
- package/script/src/utils/string-builder/string-builder.test.js +165 -0
- package/script/src/utils/string-builder/utils.d.ts.map +1 -0
- package/script/src/utils/string.utils.d.ts.map +1 -0
- package/script/src/utils/string.utils.test.d.ts +2 -0
- package/script/src/utils/string.utils.test.d.ts.map +1 -0
- package/script/src/utils/string.utils.test.js +530 -0
- package/script/src/utils/string.utils.types.d.ts.map +1 -0
- package/script/src/utils/type.utils.d.ts.map +1 -0
- package/script/tests/openapi.test.d.ts +2 -0
- package/script/tests/openapi.test.d.ts.map +1 -0
- package/script/tests/openapi.test.js +35 -0
- package/script/tests/schema-factory.d.ts +42 -0
- package/script/tests/schema-factory.d.ts.map +1 -0
- package/script/tests/schema-factory.js +162 -0
- package/src/_dnt.shims.ts +69 -0
- package/src/_dnt.test_polyfills.ts +70 -0
- package/src/_dnt.test_shims.ts +72 -0
- package/src/deps/jsr.io/@std/assert/1.0.11/assertion_error.ts +31 -0
- package/src/deps/jsr.io/@std/assert/1.0.11/false.ts +26 -0
- package/src/deps/jsr.io/@std/assert/1.0.11/instance_of.ts +64 -0
- package/src/deps/jsr.io/@std/assert/1.0.11/match.ts +30 -0
- package/src/deps/jsr.io/@std/assert/1.0.11/not_instance_of.ts +33 -0
- package/src/deps/jsr.io/@std/assert/1.0.11/not_match.ts +30 -0
- package/src/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.ts +42 -0
- package/src/deps/jsr.io/@std/assert/1.0.11/strict_equals.ts +67 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_assert_equals.ts +38 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.ts +54 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.ts +35 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_assertions.ts +18 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.ts +198 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_build_message.ts +51 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.ts +19 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_equal.ts +230 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_extend.ts +16 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_inspect_args.ts +15 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_matchers.ts +1028 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_mock_util.ts +22 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_serializer.ts +15 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_types.ts +923 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/_utils.ts +283 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/expect.ts +620 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/fn.ts +91 -0
- package/src/deps/jsr.io/@std/expect/1.0.12/mod.ts +89 -0
- package/src/deps/jsr.io/@std/internal/1.0.5/assertion_state.ts +214 -0
- package/src/deps/jsr.io/@std/internal/1.0.5/build_message.ts +134 -0
- package/src/deps/jsr.io/@std/internal/1.0.5/diff.ts +317 -0
- package/src/deps/jsr.io/@std/internal/1.0.5/diff_str.ts +204 -0
- package/src/deps/jsr.io/@std/internal/1.0.5/format.ts +39 -0
- package/src/deps/jsr.io/@std/internal/1.0.5/styles.ts +233 -0
- package/src/deps/jsr.io/@std/internal/1.0.5/types.ts +18 -0
- package/src/deps/jsr.io/@std/testing/1.0.9/_test_suite.ts +448 -0
- package/src/deps/jsr.io/@std/testing/1.0.9/bdd.ts +1288 -0
- package/src/mod.ts +33 -0
- package/src/src/ast/node.ts +46 -0
- package/src/src/codegen/config.ts +28 -0
- package/src/src/codegen/endpoints-generator.ts +72 -0
- package/src/src/codegen/generator.ts +181 -0
- package/src/src/codegen/internal-utils.ts +6 -0
- package/src/src/codegen/schemas-generator.ts +87 -0
- package/src/src/codegen/services-generator.ts +77 -0
- package/src/src/codegen/types.ts +37 -0
- package/src/src/collect/collector.ts +142 -0
- package/src/src/collect/helpers.test.ts +91 -0
- package/src/src/collect/helpers.ts +36 -0
- package/src/src/collect/types.ts +21 -0
- package/src/src/internal-utils.ts +5 -0
- package/src/src/parse/deref-proxy.ts +64 -0
- package/src/src/parse/openapi-types.ts +949 -0
- package/src/src/parse/parser.ts +220 -0
- package/src/src/parse/types.ts +27 -0
- package/src/src/transform/api-types.ts +243 -0
- package/src/src/transform/helpers.test.ts +316 -0
- package/src/src/transform/helpers.ts +211 -0
- package/src/src/transform/transform-document.ts +35 -0
- package/src/src/transform/transform-endpoint.ts +331 -0
- package/src/src/transform/transform-schema.ts +217 -0
- package/src/src/transform/transformer.ts +52 -0
- package/src/src/transform/types.ts +52 -0
- package/src/src/utils/action-provider.test.ts +32 -0
- package/src/src/utils/action-provider.ts +58 -0
- package/src/src/utils/array.utils.ts +7 -0
- package/src/src/utils/asset-manager.ts +51 -0
- package/src/src/utils/class.utils.ts +40 -0
- package/src/src/utils/common.utils.test.ts +22 -0
- package/src/src/utils/common.utils.ts +86 -0
- package/src/src/utils/condition.test.ts +36 -0
- package/src/src/utils/condition.ts +7 -0
- package/src/src/utils/endpoint.utils.test.ts +36 -0
- package/src/src/utils/endpoint.utils.ts +10 -0
- package/src/src/utils/error.utils.ts +3 -0
- package/src/src/utils/factory.test.ts +31 -0
- package/src/src/utils/factory.ts +42 -0
- package/src/src/utils/file-system.utils.ts +48 -0
- package/src/src/utils/generator.utils.test.ts +16 -0
- package/src/src/utils/generator.utils.ts +6 -0
- package/src/src/utils/object.utils.test.ts +33 -0
- package/src/src/utils/object.utils.ts +32 -0
- package/src/src/utils/schema.utils.test.ts +88 -0
- package/src/src/utils/schema.utils.ts +142 -0
- package/src/src/utils/source-builder.test.ts +657 -0
- package/src/src/utils/source-builder.ts +589 -0
- package/src/src/utils/string-builder/options.ts +19 -0
- package/src/src/utils/string-builder/string-builder.test.ts +188 -0
- package/src/src/utils/string-builder/string-builder.ts +165 -0
- package/src/src/utils/string-builder/utils.ts +69 -0
- package/src/src/utils/string.utils.test.ts +691 -0
- package/src/src/utils/string.utils.ts +369 -0
- package/src/src/utils/string.utils.types.ts +179 -0
- package/src/src/utils/type.utils.ts +93 -0
- package/src/tests/openapi.test.ts +50 -0
- package/src/tests/schema-factory.ts +185 -0
- package/test_runner.js +221 -0
- package/esm/index.d.ts +0 -6
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js +0 -5
- package/esm/lib/ast/index.d.ts +0 -2
- package/esm/lib/ast/index.d.ts.map +0 -1
- package/esm/lib/ast/index.js +0 -1
- package/esm/lib/ast/node.d.ts +0 -15
- package/esm/lib/ast/node.d.ts.map +0 -1
- package/esm/lib/codegen/config.d.ts +0 -16
- package/esm/lib/codegen/config.d.ts.map +0 -1
- package/esm/lib/codegen/endpoints-generator.d.ts +0 -18
- package/esm/lib/codegen/endpoints-generator.d.ts.map +0 -1
- package/esm/lib/codegen/generator.d.ts +0 -39
- package/esm/lib/codegen/generator.d.ts.map +0 -1
- package/esm/lib/codegen/generator.js +0 -115
- package/esm/lib/codegen/index.d.ts +0 -7
- package/esm/lib/codegen/index.d.ts.map +0 -1
- package/esm/lib/codegen/index.js +0 -6
- package/esm/lib/codegen/internal-utils.d.ts.map +0 -1
- package/esm/lib/codegen/internal-utils.js +0 -5
- package/esm/lib/codegen/schemas-generator.d.ts +0 -19
- package/esm/lib/codegen/schemas-generator.d.ts.map +0 -1
- package/esm/lib/codegen/schemas-generator.js +0 -45
- package/esm/lib/codegen/services-generator.d.ts +0 -18
- package/esm/lib/codegen/services-generator.d.ts.map +0 -1
- package/esm/lib/codegen/types.d.ts +0 -19
- package/esm/lib/codegen/types.d.ts.map +0 -1
- package/esm/lib/collect/collector.d.ts +0 -4
- package/esm/lib/collect/collector.d.ts.map +0 -1
- package/esm/lib/collect/helpers.d.ts +0 -5
- package/esm/lib/collect/helpers.d.ts.map +0 -1
- package/esm/lib/collect/index.d.ts +0 -4
- package/esm/lib/collect/index.d.ts.map +0 -1
- package/esm/lib/collect/index.js +0 -3
- package/esm/lib/collect/types.d.ts +0 -13
- package/esm/lib/collect/types.d.ts.map +0 -1
- package/esm/lib/internal-utils.d.ts.map +0 -1
- package/esm/lib/parse/deref-proxy.d.ts.map +0 -1
- package/esm/lib/parse/deref-proxy.js +0 -62
- package/esm/lib/parse/index.d.ts +0 -4
- package/esm/lib/parse/index.d.ts.map +0 -1
- package/esm/lib/parse/index.js +0 -3
- package/esm/lib/parse/openapi-types.d.ts.map +0 -1
- package/esm/lib/parse/parser.d.ts +0 -19
- package/esm/lib/parse/parser.d.ts.map +0 -1
- package/esm/lib/parse/parser.js +0 -190
- package/esm/lib/parse/types.d.ts.map +0 -1
- package/esm/lib/transform/api-types.d.ts +0 -195
- package/esm/lib/transform/api-types.d.ts.map +0 -1
- package/esm/lib/transform/helpers.d.ts +0 -51
- package/esm/lib/transform/helpers.d.ts.map +0 -1
- package/esm/lib/transform/helpers.js +0 -158
- package/esm/lib/transform/index.d.ts +0 -3
- package/esm/lib/transform/index.d.ts.map +0 -1
- package/esm/lib/transform/index.js +0 -2
- package/esm/lib/transform/transform-document.d.ts +0 -4
- package/esm/lib/transform/transform-document.d.ts.map +0 -1
- package/esm/lib/transform/transform-endpoint.d.ts +0 -5
- package/esm/lib/transform/transform-endpoint.d.ts.map +0 -1
- package/esm/lib/transform/transform-endpoint.js +0 -275
- package/esm/lib/transform/transform-schema.d.ts +0 -5
- package/esm/lib/transform/transform-schema.d.ts.map +0 -1
- package/esm/lib/transform/transform-schema.js +0 -182
- package/esm/lib/transform/transformer.d.ts +0 -5
- package/esm/lib/transform/transformer.d.ts.map +0 -1
- package/esm/lib/transform/types.d.ts.map +0 -1
- package/esm/lib/utils/action-provider.d.ts.map +0 -1
- package/esm/lib/utils/action-provider.js +0 -35
- package/esm/lib/utils/array.utils.d.ts.map +0 -1
- package/esm/lib/utils/asset-manager.d.ts +0 -8
- package/esm/lib/utils/asset-manager.d.ts.map +0 -1
- package/esm/lib/utils/asset-manager.js +0 -49
- package/esm/lib/utils/class.utils.d.ts.map +0 -1
- package/esm/lib/utils/class.utils.js +0 -27
- package/esm/lib/utils/common.utils.d.ts.map +0 -1
- package/esm/lib/utils/condition.d.ts.map +0 -1
- package/esm/lib/utils/endpoint.utils.d.ts +0 -3
- package/esm/lib/utils/endpoint.utils.d.ts.map +0 -1
- package/esm/lib/utils/error.utils.d.ts.map +0 -1
- package/esm/lib/utils/factory.d.ts +0 -21
- package/esm/lib/utils/factory.d.ts.map +0 -1
- package/esm/lib/utils/file-system.utils.d.ts.map +0 -1
- package/esm/lib/utils/generator.utils.d.ts.map +0 -1
- package/esm/lib/utils/index.d.ts +0 -16
- package/esm/lib/utils/index.d.ts.map +0 -1
- package/esm/lib/utils/index.js +0 -15
- package/esm/lib/utils/object.utils.d.ts.map +0 -1
- package/esm/lib/utils/object.utils.js +0 -35
- package/esm/lib/utils/schema.utils.d.ts +0 -11
- package/esm/lib/utils/schema.utils.d.ts.map +0 -1
- package/esm/lib/utils/source-builder.d.ts +0 -233
- package/esm/lib/utils/source-builder.d.ts.map +0 -1
- package/esm/lib/utils/source-builder.js +0 -446
- package/esm/lib/utils/string-builder/index.d.ts +0 -4
- package/esm/lib/utils/string-builder/index.d.ts.map +0 -1
- package/esm/lib/utils/string-builder/index.js +0 -3
- package/esm/lib/utils/string-builder/options.d.ts.map +0 -1
- package/esm/lib/utils/string-builder/string-builder.d.ts +0 -73
- package/esm/lib/utils/string-builder/string-builder.d.ts.map +0 -1
- package/esm/lib/utils/string-builder/string-builder.js +0 -149
- package/esm/lib/utils/string-builder/utils.d.ts.map +0 -1
- package/esm/lib/utils/string.utils.d.ts.map +0 -1
- package/esm/lib/utils/string.utils.types.d.ts.map +0 -1
- package/esm/lib/utils/type.utils.d.ts.map +0 -1
- package/script/index.d.ts +0 -6
- package/script/index.d.ts.map +0 -1
- package/script/index.js +0 -8
- package/script/lib/ast/index.d.ts +0 -2
- package/script/lib/ast/index.d.ts.map +0 -1
- package/script/lib/ast/index.js +0 -4
- package/script/lib/ast/node.d.ts +0 -15
- package/script/lib/ast/node.d.ts.map +0 -1
- package/script/lib/codegen/config.d.ts +0 -16
- package/script/lib/codegen/config.d.ts.map +0 -1
- package/script/lib/codegen/endpoints-generator.d.ts +0 -18
- package/script/lib/codegen/endpoints-generator.d.ts.map +0 -1
- package/script/lib/codegen/generator.d.ts +0 -39
- package/script/lib/codegen/generator.d.ts.map +0 -1
- package/script/lib/codegen/generator.js +0 -121
- package/script/lib/codegen/index.d.ts +0 -7
- package/script/lib/codegen/index.d.ts.map +0 -1
- package/script/lib/codegen/index.js +0 -9
- package/script/lib/codegen/internal-utils.d.ts.map +0 -1
- package/script/lib/codegen/internal-utils.js +0 -8
- package/script/lib/codegen/schemas-generator.d.ts +0 -19
- package/script/lib/codegen/schemas-generator.d.ts.map +0 -1
- package/script/lib/codegen/schemas-generator.js +0 -49
- package/script/lib/codegen/services-generator.d.ts +0 -18
- package/script/lib/codegen/services-generator.d.ts.map +0 -1
- package/script/lib/codegen/types.d.ts +0 -19
- package/script/lib/codegen/types.d.ts.map +0 -1
- package/script/lib/collect/collector.d.ts +0 -4
- package/script/lib/collect/collector.d.ts.map +0 -1
- package/script/lib/collect/helpers.d.ts +0 -5
- package/script/lib/collect/helpers.d.ts.map +0 -1
- package/script/lib/collect/index.d.ts +0 -4
- package/script/lib/collect/index.d.ts.map +0 -1
- package/script/lib/collect/index.js +0 -6
- package/script/lib/collect/types.d.ts +0 -13
- package/script/lib/collect/types.d.ts.map +0 -1
- package/script/lib/internal-utils.d.ts.map +0 -1
- package/script/lib/parse/deref-proxy.d.ts.map +0 -1
- package/script/lib/parse/deref-proxy.js +0 -65
- package/script/lib/parse/index.d.ts +0 -4
- package/script/lib/parse/index.d.ts.map +0 -1
- package/script/lib/parse/index.js +0 -6
- package/script/lib/parse/openapi-types.d.ts.map +0 -1
- package/script/lib/parse/parser.d.ts +0 -19
- package/script/lib/parse/parser.d.ts.map +0 -1
- package/script/lib/parse/parser.js +0 -195
- package/script/lib/parse/types.d.ts.map +0 -1
- package/script/lib/transform/api-types.d.ts +0 -195
- package/script/lib/transform/api-types.d.ts.map +0 -1
- package/script/lib/transform/helpers.d.ts +0 -51
- package/script/lib/transform/helpers.d.ts.map +0 -1
- package/script/lib/transform/helpers.js +0 -171
- package/script/lib/transform/index.d.ts +0 -3
- package/script/lib/transform/index.d.ts.map +0 -1
- package/script/lib/transform/index.js +0 -5
- package/script/lib/transform/transform-document.d.ts +0 -4
- package/script/lib/transform/transform-document.d.ts.map +0 -1
- package/script/lib/transform/transform-endpoint.d.ts +0 -5
- package/script/lib/transform/transform-endpoint.d.ts.map +0 -1
- package/script/lib/transform/transform-endpoint.js +0 -278
- package/script/lib/transform/transform-schema.d.ts +0 -5
- package/script/lib/transform/transform-schema.d.ts.map +0 -1
- package/script/lib/transform/transform-schema.js +0 -185
- package/script/lib/transform/transformer.d.ts +0 -5
- package/script/lib/transform/transformer.d.ts.map +0 -1
- package/script/lib/transform/types.d.ts.map +0 -1
- package/script/lib/utils/action-provider.d.ts.map +0 -1
- package/script/lib/utils/action-provider.js +0 -39
- package/script/lib/utils/array.utils.d.ts.map +0 -1
- package/script/lib/utils/asset-manager.d.ts +0 -8
- package/script/lib/utils/asset-manager.d.ts.map +0 -1
- package/script/lib/utils/asset-manager.js +0 -54
- package/script/lib/utils/class.utils.d.ts.map +0 -1
- package/script/lib/utils/class.utils.js +0 -32
- package/script/lib/utils/common.utils.d.ts.map +0 -1
- package/script/lib/utils/condition.d.ts.map +0 -1
- package/script/lib/utils/endpoint.utils.d.ts +0 -3
- package/script/lib/utils/endpoint.utils.d.ts.map +0 -1
- package/script/lib/utils/error.utils.d.ts.map +0 -1
- package/script/lib/utils/factory.d.ts +0 -21
- package/script/lib/utils/factory.d.ts.map +0 -1
- package/script/lib/utils/file-system.utils.d.ts.map +0 -1
- package/script/lib/utils/generator.utils.d.ts.map +0 -1
- package/script/lib/utils/index.d.ts +0 -16
- package/script/lib/utils/index.d.ts.map +0 -1
- package/script/lib/utils/index.js +0 -18
- package/script/lib/utils/object.utils.d.ts.map +0 -1
- package/script/lib/utils/object.utils.js +0 -39
- package/script/lib/utils/schema.utils.d.ts +0 -11
- package/script/lib/utils/schema.utils.d.ts.map +0 -1
- package/script/lib/utils/source-builder.d.ts +0 -233
- package/script/lib/utils/source-builder.d.ts.map +0 -1
- package/script/lib/utils/source-builder.js +0 -450
- package/script/lib/utils/string-builder/index.d.ts +0 -4
- package/script/lib/utils/string-builder/index.d.ts.map +0 -1
- package/script/lib/utils/string-builder/index.js +0 -8
- package/script/lib/utils/string-builder/options.d.ts.map +0 -1
- package/script/lib/utils/string-builder/string-builder.d.ts +0 -73
- package/script/lib/utils/string-builder/string-builder.d.ts.map +0 -1
- package/script/lib/utils/string-builder/string-builder.js +0 -153
- package/script/lib/utils/string-builder/utils.d.ts.map +0 -1
- package/script/lib/utils/string.utils.d.ts.map +0 -1
- package/script/lib/utils/string.utils.types.d.ts.map +0 -1
- package/script/lib/utils/type.utils.d.ts.map +0 -1
- /package/esm/{lib → src}/ast/node.js +0 -0
- /package/esm/{lib → src}/codegen/config.js +0 -0
- /package/esm/{lib → src}/codegen/endpoints-generator.js +0 -0
- /package/esm/{lib → src}/codegen/internal-utils.d.ts +0 -0
- /package/esm/{lib → src}/codegen/services-generator.js +0 -0
- /package/esm/{lib → src}/codegen/types.js +0 -0
- /package/esm/{lib → src}/collect/collector.js +0 -0
- /package/esm/{lib → src}/collect/helpers.js +0 -0
- /package/esm/{lib → src}/collect/types.js +0 -0
- /package/esm/{lib → src}/internal-utils.d.ts +0 -0
- /package/esm/{lib → src}/internal-utils.js +0 -0
- /package/esm/{lib → src}/parse/deref-proxy.d.ts +0 -0
- /package/esm/{lib → src}/parse/openapi-types.d.ts +0 -0
- /package/esm/{lib → src}/parse/openapi-types.js +0 -0
- /package/esm/{lib → src}/parse/types.d.ts +0 -0
- /package/esm/{lib → src}/parse/types.js +0 -0
- /package/esm/{lib → src}/transform/api-types.js +0 -0
- /package/esm/{lib → src}/transform/transform-document.js +0 -0
- /package/esm/{lib → src}/transform/transformer.js +0 -0
- /package/esm/{lib → src}/transform/types.d.ts +0 -0
- /package/esm/{lib → src}/transform/types.js +0 -0
- /package/esm/{lib → src}/utils/action-provider.d.ts +0 -0
- /package/esm/{lib → src}/utils/array.utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/array.utils.js +0 -0
- /package/esm/{lib → src}/utils/class.utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/common.utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/common.utils.js +0 -0
- /package/esm/{lib → src}/utils/condition.d.ts +0 -0
- /package/esm/{lib → src}/utils/condition.js +0 -0
- /package/esm/{lib → src}/utils/endpoint.utils.js +0 -0
- /package/esm/{lib → src}/utils/error.utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/error.utils.js +0 -0
- /package/esm/{lib → src}/utils/factory.js +0 -0
- /package/esm/{lib → src}/utils/file-system.utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/file-system.utils.js +0 -0
- /package/esm/{lib → src}/utils/generator.utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/generator.utils.js +0 -0
- /package/esm/{lib → src}/utils/object.utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/schema.utils.js +0 -0
- /package/esm/{lib → src}/utils/string-builder/options.d.ts +0 -0
- /package/esm/{lib → src}/utils/string-builder/options.js +0 -0
- /package/esm/{lib → src}/utils/string-builder/utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/string-builder/utils.js +0 -0
- /package/esm/{lib → src}/utils/string.utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/string.utils.js +0 -0
- /package/esm/{lib → src}/utils/string.utils.types.d.ts +0 -0
- /package/esm/{lib → src}/utils/string.utils.types.js +0 -0
- /package/esm/{lib → src}/utils/type.utils.d.ts +0 -0
- /package/esm/{lib → src}/utils/type.utils.js +0 -0
- /package/script/{lib → src}/ast/node.js +0 -0
- /package/script/{lib → src}/codegen/config.js +0 -0
- /package/script/{lib → src}/codegen/endpoints-generator.js +0 -0
- /package/script/{lib → src}/codegen/internal-utils.d.ts +0 -0
- /package/script/{lib → src}/codegen/services-generator.js +0 -0
- /package/script/{lib → src}/codegen/types.js +0 -0
- /package/script/{lib → src}/collect/collector.js +0 -0
- /package/script/{lib → src}/collect/helpers.js +0 -0
- /package/script/{lib → src}/collect/types.js +0 -0
- /package/script/{lib → src}/internal-utils.d.ts +0 -0
- /package/script/{lib → src}/internal-utils.js +0 -0
- /package/script/{lib → src}/parse/deref-proxy.d.ts +0 -0
- /package/script/{lib → src}/parse/openapi-types.d.ts +0 -0
- /package/script/{lib → src}/parse/openapi-types.js +0 -0
- /package/script/{lib → src}/parse/types.d.ts +0 -0
- /package/script/{lib → src}/parse/types.js +0 -0
- /package/script/{lib → src}/transform/api-types.js +0 -0
- /package/script/{lib → src}/transform/transform-document.js +0 -0
- /package/script/{lib → src}/transform/transformer.js +0 -0
- /package/script/{lib → src}/transform/types.d.ts +0 -0
- /package/script/{lib → src}/transform/types.js +0 -0
- /package/script/{lib → src}/utils/action-provider.d.ts +0 -0
- /package/script/{lib → src}/utils/array.utils.d.ts +0 -0
- /package/script/{lib → src}/utils/array.utils.js +0 -0
- /package/script/{lib → src}/utils/class.utils.d.ts +0 -0
- /package/script/{lib → src}/utils/common.utils.d.ts +0 -0
- /package/script/{lib → src}/utils/common.utils.js +0 -0
- /package/script/{lib → src}/utils/condition.d.ts +0 -0
- /package/script/{lib → src}/utils/condition.js +0 -0
- /package/script/{lib → src}/utils/endpoint.utils.js +0 -0
- /package/script/{lib → src}/utils/error.utils.d.ts +0 -0
- /package/script/{lib → src}/utils/error.utils.js +0 -0
- /package/script/{lib → src}/utils/factory.js +0 -0
- /package/script/{lib → src}/utils/file-system.utils.d.ts +0 -0
- /package/script/{lib → src}/utils/file-system.utils.js +0 -0
- /package/script/{lib → src}/utils/generator.utils.d.ts +0 -0
- /package/script/{lib → src}/utils/generator.utils.js +0 -0
- /package/script/{lib → src}/utils/object.utils.d.ts +0 -0
- /package/script/{lib → src}/utils/schema.utils.js +0 -0
- /package/script/{lib → src}/utils/string-builder/options.d.ts +0 -0
- /package/script/{lib → src}/utils/string-builder/options.js +0 -0
- /package/script/{lib → src}/utils/string-builder/utils.d.ts +0 -0
- /package/script/{lib → src}/utils/string-builder/utils.js +0 -0
- /package/script/{lib → src}/utils/string.utils.d.ts +0 -0
- /package/script/{lib → src}/utils/string.utils.js +0 -0
- /package/script/{lib → src}/utils/string.utils.types.d.ts +0 -0
- /package/script/{lib → src}/utils/string.utils.types.js +0 -0
- /package/script/{lib → src}/utils/type.utils.d.ts +0 -0
- /package/script/{lib → src}/utils/type.utils.js +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { diff } from "./diff.js";
|
|
2
|
+
/**
|
|
3
|
+
* Unescape invisible characters.
|
|
4
|
+
*
|
|
5
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#escape_sequences}
|
|
6
|
+
*
|
|
7
|
+
* @param string String to unescape.
|
|
8
|
+
*
|
|
9
|
+
* @returns Unescaped string.
|
|
10
|
+
*
|
|
11
|
+
* @example Usage
|
|
12
|
+
* ```ts
|
|
13
|
+
* import { unescape } from "@std/internal/diff-str";
|
|
14
|
+
* import { assertEquals } from "@std/assert";
|
|
15
|
+
*
|
|
16
|
+
* assertEquals(unescape("Hello\nWorld"), "Hello\\n\nWorld");
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export function unescape(string) {
|
|
20
|
+
return string
|
|
21
|
+
.replaceAll("\b", "\\b")
|
|
22
|
+
.replaceAll("\f", "\\f")
|
|
23
|
+
.replaceAll("\t", "\\t")
|
|
24
|
+
.replaceAll("\v", "\\v")
|
|
25
|
+
// This does not remove line breaks
|
|
26
|
+
.replaceAll(/\r\n|\r|\n/g, (str) => str === "\r" ? "\\r" : str === "\n" ? "\\n\n" : "\\r\\n\r\n");
|
|
27
|
+
}
|
|
28
|
+
const WHITESPACE_SYMBOLS = /([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/;
|
|
29
|
+
/**
|
|
30
|
+
* Tokenizes a string into an array of tokens.
|
|
31
|
+
*
|
|
32
|
+
* @param string The string to tokenize.
|
|
33
|
+
* @param wordDiff If true, performs word-based tokenization. Default is false.
|
|
34
|
+
*
|
|
35
|
+
* @returns An array of tokens.
|
|
36
|
+
*
|
|
37
|
+
* @example Usage
|
|
38
|
+
* ```ts
|
|
39
|
+
* import { tokenize } from "@std/internal/diff-str";
|
|
40
|
+
* import { assertEquals } from "@std/assert";
|
|
41
|
+
*
|
|
42
|
+
* assertEquals(tokenize("Hello\nWorld"), ["Hello\n", "World"]);
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export function tokenize(string, wordDiff = false) {
|
|
46
|
+
if (wordDiff) {
|
|
47
|
+
return string
|
|
48
|
+
.split(WHITESPACE_SYMBOLS)
|
|
49
|
+
.filter((token) => token);
|
|
50
|
+
}
|
|
51
|
+
const tokens = [];
|
|
52
|
+
const lines = string.split(/(\n|\r\n)/).filter((line) => line);
|
|
53
|
+
for (const [i, line] of lines.entries()) {
|
|
54
|
+
if (i % 2) {
|
|
55
|
+
tokens[tokens.length - 1] += line;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
tokens.push(line);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return tokens;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Create details by filtering relevant word-diff for current line and merge
|
|
65
|
+
* "space-diff" if surrounded by word-diff for cleaner displays.
|
|
66
|
+
*
|
|
67
|
+
* @param line Current line
|
|
68
|
+
* @param tokens Word-diff tokens
|
|
69
|
+
*
|
|
70
|
+
* @returns Array of diff results.
|
|
71
|
+
*
|
|
72
|
+
* @example Usage
|
|
73
|
+
* ```ts
|
|
74
|
+
* import { createDetails } from "@std/internal/diff-str";
|
|
75
|
+
* import { assertEquals } from "@std/assert";
|
|
76
|
+
*
|
|
77
|
+
* const tokens = [
|
|
78
|
+
* { type: "added", value: "a" },
|
|
79
|
+
* { type: "removed", value: "b" },
|
|
80
|
+
* { type: "common", value: "c" },
|
|
81
|
+
* ] as const;
|
|
82
|
+
* assertEquals(
|
|
83
|
+
* createDetails({ type: "added", value: "a" }, [...tokens]),
|
|
84
|
+
* [{ type: "added", value: "a" }, { type: "common", value: "c" }]
|
|
85
|
+
* );
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
export function createDetails(line, tokens) {
|
|
89
|
+
return tokens.filter(({ type }) => type === line.type || type === "common")
|
|
90
|
+
.map((result, i, t) => {
|
|
91
|
+
var _a;
|
|
92
|
+
const token = t[i - 1];
|
|
93
|
+
if ((result.type === "common") && token &&
|
|
94
|
+
(token.type === ((_a = t[i + 1]) === null || _a === void 0 ? void 0 : _a.type)) && /\s+/.test(result.value)) {
|
|
95
|
+
return {
|
|
96
|
+
...result,
|
|
97
|
+
type: token.type,
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
return result;
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
const NON_WHITESPACE_REGEXP = /\S/;
|
|
104
|
+
/**
|
|
105
|
+
* Renders the differences between the actual and expected strings. Partially
|
|
106
|
+
* inspired from {@link https://github.com/kpdecker/jsdiff}.
|
|
107
|
+
*
|
|
108
|
+
* @param A Actual string
|
|
109
|
+
* @param B Expected string
|
|
110
|
+
*
|
|
111
|
+
* @returns Array of diff results.
|
|
112
|
+
*
|
|
113
|
+
* @example Usage
|
|
114
|
+
* ```ts
|
|
115
|
+
* import { diffStr } from "@std/internal/diff-str";
|
|
116
|
+
* import { assertEquals } from "@std/assert";
|
|
117
|
+
*
|
|
118
|
+
* assertEquals(diffStr("Hello!", "Hello"), [
|
|
119
|
+
* {
|
|
120
|
+
* type: "removed",
|
|
121
|
+
* value: "Hello!\n",
|
|
122
|
+
* details: [
|
|
123
|
+
* { type: "common", value: "Hello" },
|
|
124
|
+
* { type: "removed", value: "!" },
|
|
125
|
+
* { type: "common", value: "\n" }
|
|
126
|
+
* ]
|
|
127
|
+
* },
|
|
128
|
+
* {
|
|
129
|
+
* type: "added",
|
|
130
|
+
* value: "Hello\n",
|
|
131
|
+
* details: [
|
|
132
|
+
* { type: "common", value: "Hello" },
|
|
133
|
+
* { type: "common", value: "\n" }
|
|
134
|
+
* ]
|
|
135
|
+
* }
|
|
136
|
+
* ]);
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
export function diffStr(A, B) {
|
|
140
|
+
// Compute multi-line diff
|
|
141
|
+
const diffResult = diff(tokenize(`${unescape(A)}\n`), tokenize(`${unescape(B)}\n`));
|
|
142
|
+
const added = [];
|
|
143
|
+
const removed = [];
|
|
144
|
+
for (const result of diffResult) {
|
|
145
|
+
if (result.type === "added") {
|
|
146
|
+
added.push(result);
|
|
147
|
+
}
|
|
148
|
+
if (result.type === "removed") {
|
|
149
|
+
removed.push(result);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
// Compute word-diff
|
|
153
|
+
const hasMoreRemovedLines = added.length < removed.length;
|
|
154
|
+
const aLines = hasMoreRemovedLines ? added : removed;
|
|
155
|
+
const bLines = hasMoreRemovedLines ? removed : added;
|
|
156
|
+
for (const a of aLines) {
|
|
157
|
+
let tokens = [];
|
|
158
|
+
let b;
|
|
159
|
+
// Search another diff line with at least one common token
|
|
160
|
+
while (bLines.length) {
|
|
161
|
+
b = bLines.shift();
|
|
162
|
+
const tokenized = [
|
|
163
|
+
tokenize(a.value, true),
|
|
164
|
+
tokenize(b.value, true),
|
|
165
|
+
];
|
|
166
|
+
if (hasMoreRemovedLines)
|
|
167
|
+
tokenized.reverse();
|
|
168
|
+
tokens = diff(tokenized[0], tokenized[1]);
|
|
169
|
+
if (tokens.some(({ type, value }) => type === "common" && NON_WHITESPACE_REGEXP.test(value))) {
|
|
170
|
+
break;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
// Register word-diff details
|
|
174
|
+
a.details = createDetails(a, tokens);
|
|
175
|
+
if (b) {
|
|
176
|
+
b.details = createDetails(b, tokens);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return diffResult;
|
|
180
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.5/format.ts"],"names":[],"mappings":"AAuBA,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAezC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
|
+
// This module is browser compatible.
|
|
3
|
+
/**
|
|
4
|
+
* Converts the input into a string. Objects, Sets and Maps are sorted so as to
|
|
5
|
+
* make tests less flaky.
|
|
6
|
+
*
|
|
7
|
+
* @param v Value to be formatted
|
|
8
|
+
*
|
|
9
|
+
* @returns The formatted string
|
|
10
|
+
*
|
|
11
|
+
* @example Usage
|
|
12
|
+
* ```ts
|
|
13
|
+
* import { format } from "@std/internal/format";
|
|
14
|
+
* import { assertEquals } from "@std/assert";
|
|
15
|
+
*
|
|
16
|
+
* assertEquals(format({ a: 1, b: 2 }), "{\n a: 1,\n b: 2,\n}");
|
|
17
|
+
* assertEquals(format(new Set([1, 2])), "Set(2) {\n 1,\n 2,\n}");
|
|
18
|
+
* assertEquals(format(new Map([[1, 2]])), "Map(1) {\n 1 => 2,\n}");
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
import * as dntShim from "../../../../../_dnt.test_shims.js";
|
|
22
|
+
export function format(v) {
|
|
23
|
+
// deno-lint-ignore no-explicit-any
|
|
24
|
+
const { Deno } = dntShim.dntGlobalThis;
|
|
25
|
+
return typeof (Deno === null || Deno === void 0 ? void 0 : Deno.inspect) === "function"
|
|
26
|
+
? Deno.inspect(v, {
|
|
27
|
+
depth: Infinity,
|
|
28
|
+
sorted: true,
|
|
29
|
+
trailingComma: true,
|
|
30
|
+
compact: false,
|
|
31
|
+
iterableLimit: Infinity,
|
|
32
|
+
// getters should be true in assertEquals.
|
|
33
|
+
getters: true,
|
|
34
|
+
strAbbreviateSize: Infinity,
|
|
35
|
+
})
|
|
36
|
+
: `"${String(v).replace(/(?=["\\])/g, "\\")}"`;
|
|
37
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sets the style of text to be printed to bold.
|
|
3
|
+
*
|
|
4
|
+
* Disable by setting the `NO_COLOR` environmental variable.
|
|
5
|
+
*
|
|
6
|
+
* @param str Text to make bold
|
|
7
|
+
*
|
|
8
|
+
* @returns Bold text for printing
|
|
9
|
+
*
|
|
10
|
+
* @example Usage
|
|
11
|
+
* ```ts no-assert
|
|
12
|
+
* import { bold } from "@std/internal/styles";
|
|
13
|
+
*
|
|
14
|
+
* console.log(bold("Hello, world!")); // Prints "Hello, world!" in bold
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function bold(str: string): string;
|
|
18
|
+
/**
|
|
19
|
+
* Sets the color of text to be printed to red.
|
|
20
|
+
*
|
|
21
|
+
* Disable by setting the `NO_COLOR` environmental variable.
|
|
22
|
+
*
|
|
23
|
+
* @param str Text to make red
|
|
24
|
+
*
|
|
25
|
+
* @returns Red text for printing
|
|
26
|
+
*
|
|
27
|
+
* @example Usage
|
|
28
|
+
* ```ts no-assert
|
|
29
|
+
* import { red } from "@std/internal/styles";
|
|
30
|
+
*
|
|
31
|
+
* console.log(red("Hello, world!")); // Prints "Hello, world!" in red
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare function red(str: string): string;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the color of text to be printed to green.
|
|
37
|
+
*
|
|
38
|
+
* Disable by setting the `NO_COLOR` environmental variable.
|
|
39
|
+
*
|
|
40
|
+
* @param str Text to make green
|
|
41
|
+
*
|
|
42
|
+
* @returns Green text for print
|
|
43
|
+
*
|
|
44
|
+
* @example Usage
|
|
45
|
+
* ```ts no-assert
|
|
46
|
+
* import { green } from "@std/internal/styles";
|
|
47
|
+
*
|
|
48
|
+
* console.log(green("Hello, world!")); // Prints "Hello, world!" in green
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare function green(str: string): string;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the color of text to be printed to yellow.
|
|
54
|
+
*
|
|
55
|
+
* Disable by setting the `NO_COLOR` environmental variable.
|
|
56
|
+
*
|
|
57
|
+
* @param str Text to make yellow
|
|
58
|
+
*
|
|
59
|
+
* @returns Yellow text for print
|
|
60
|
+
*
|
|
61
|
+
* @example Usage
|
|
62
|
+
* ```ts no-assert
|
|
63
|
+
* import { yellow } from "@std/internal/styles";
|
|
64
|
+
*
|
|
65
|
+
* console.log(yellow("Hello, world!")); // Prints "Hello, world!" in yellow
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
export declare function yellow(str: string): string;
|
|
69
|
+
/**
|
|
70
|
+
* Sets the color of text to be printed to white.
|
|
71
|
+
*
|
|
72
|
+
* @param str Text to make white
|
|
73
|
+
*
|
|
74
|
+
* @returns White text for print
|
|
75
|
+
*
|
|
76
|
+
* @example Usage
|
|
77
|
+
* ```ts no-assert
|
|
78
|
+
* import { white } from "@std/internal/styles";
|
|
79
|
+
*
|
|
80
|
+
* console.log(white("Hello, world!")); // Prints "Hello, world!" in white
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
export declare function white(str: string): string;
|
|
84
|
+
/**
|
|
85
|
+
* Sets the color of text to be printed to gray.
|
|
86
|
+
*
|
|
87
|
+
* @param str Text to make gray
|
|
88
|
+
*
|
|
89
|
+
* @returns Gray text for print
|
|
90
|
+
*
|
|
91
|
+
* @example Usage
|
|
92
|
+
* ```ts no-assert
|
|
93
|
+
* import { gray } from "@std/internal/styles";
|
|
94
|
+
*
|
|
95
|
+
* console.log(gray("Hello, world!")); // Prints "Hello, world!" in gray
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
export declare function gray(str: string): string;
|
|
99
|
+
/**
|
|
100
|
+
* Sets the color of text to be printed to bright-black.
|
|
101
|
+
*
|
|
102
|
+
* @param str Text to make bright-black
|
|
103
|
+
*
|
|
104
|
+
* @returns Bright-black text for print
|
|
105
|
+
*
|
|
106
|
+
* @example Usage
|
|
107
|
+
* ```ts no-assert
|
|
108
|
+
* import { brightBlack } from "@std/internal/styles";
|
|
109
|
+
*
|
|
110
|
+
* console.log(brightBlack("Hello, world!")); // Prints "Hello, world!" in bright-black
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
export declare function brightBlack(str: string): string;
|
|
114
|
+
/**
|
|
115
|
+
* Sets the background color of text to be printed to red.
|
|
116
|
+
*
|
|
117
|
+
* @param str Text to make its background red
|
|
118
|
+
*
|
|
119
|
+
* @returns Red background text for print
|
|
120
|
+
*
|
|
121
|
+
* @example Usage
|
|
122
|
+
* ```ts no-assert
|
|
123
|
+
* import { bgRed } from "@std/internal/styles";
|
|
124
|
+
*
|
|
125
|
+
* console.log(bgRed("Hello, world!")); // Prints "Hello, world!" with red background
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
export declare function bgRed(str: string): string;
|
|
129
|
+
/**
|
|
130
|
+
* Sets the background color of text to be printed to green.
|
|
131
|
+
*
|
|
132
|
+
* @param str Text to make its background green
|
|
133
|
+
*
|
|
134
|
+
* @returns Green background text for print
|
|
135
|
+
*
|
|
136
|
+
* @example Usage
|
|
137
|
+
* ```ts no-assert
|
|
138
|
+
* import { bgGreen } from "@std/internal/styles";
|
|
139
|
+
*
|
|
140
|
+
* console.log(bgGreen("Hello, world!")); // Prints "Hello, world!" with green background
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
143
|
+
export declare function bgGreen(str: string): string;
|
|
144
|
+
/**
|
|
145
|
+
* Remove ANSI escape codes from the string.
|
|
146
|
+
*
|
|
147
|
+
* @param string Text to remove ANSI escape codes from
|
|
148
|
+
*
|
|
149
|
+
* @returns Text without ANSI escape codes
|
|
150
|
+
*
|
|
151
|
+
* @example Usage
|
|
152
|
+
* ```ts no-assert
|
|
153
|
+
* import { red, stripAnsiCode } from "@std/internal/styles";
|
|
154
|
+
*
|
|
155
|
+
* console.log(stripAnsiCode(red("Hello, world!"))); // Prints "Hello, world!"
|
|
156
|
+
* ```
|
|
157
|
+
*/
|
|
158
|
+
export declare function stripAnsiCode(string: string): string;
|
|
159
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.5/styles.ts"],"names":[],"mappings":"AAqCA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAExC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEvC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE1C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAExC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE3C;AAWD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEpD"}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
|
+
// This module is browser compatible.
|
|
3
|
+
// A module to print ANSI terminal colors. Inspired by chalk, kleur, and colors
|
|
4
|
+
// on npm.
|
|
5
|
+
// This code is vendored from `fmt/colors.ts`.
|
|
6
|
+
// deno-lint-ignore no-explicit-any
|
|
7
|
+
import * as dntShim from "../../../../../_dnt.test_shims.js";
|
|
8
|
+
const { Deno } = dntShim.dntGlobalThis;
|
|
9
|
+
const noColor = typeof (Deno === null || Deno === void 0 ? void 0 : Deno.noColor) === "boolean"
|
|
10
|
+
? Deno.noColor
|
|
11
|
+
: false;
|
|
12
|
+
const enabled = !noColor;
|
|
13
|
+
function code(open, close) {
|
|
14
|
+
return {
|
|
15
|
+
open: `\x1b[${open.join(";")}m`,
|
|
16
|
+
close: `\x1b[${close}m`,
|
|
17
|
+
regexp: new RegExp(`\\x1b\\[${close}m`, "g"),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function run(str, code) {
|
|
21
|
+
return enabled
|
|
22
|
+
? `${code.open}${str.replace(code.regexp, code.open)}${code.close}`
|
|
23
|
+
: str;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Sets the style of text to be printed to bold.
|
|
27
|
+
*
|
|
28
|
+
* Disable by setting the `NO_COLOR` environmental variable.
|
|
29
|
+
*
|
|
30
|
+
* @param str Text to make bold
|
|
31
|
+
*
|
|
32
|
+
* @returns Bold text for printing
|
|
33
|
+
*
|
|
34
|
+
* @example Usage
|
|
35
|
+
* ```ts no-assert
|
|
36
|
+
* import { bold } from "@std/internal/styles";
|
|
37
|
+
*
|
|
38
|
+
* console.log(bold("Hello, world!")); // Prints "Hello, world!" in bold
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export function bold(str) {
|
|
42
|
+
return run(str, code([1], 22));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Sets the color of text to be printed to red.
|
|
46
|
+
*
|
|
47
|
+
* Disable by setting the `NO_COLOR` environmental variable.
|
|
48
|
+
*
|
|
49
|
+
* @param str Text to make red
|
|
50
|
+
*
|
|
51
|
+
* @returns Red text for printing
|
|
52
|
+
*
|
|
53
|
+
* @example Usage
|
|
54
|
+
* ```ts no-assert
|
|
55
|
+
* import { red } from "@std/internal/styles";
|
|
56
|
+
*
|
|
57
|
+
* console.log(red("Hello, world!")); // Prints "Hello, world!" in red
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export function red(str) {
|
|
61
|
+
return run(str, code([31], 39));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Sets the color of text to be printed to green.
|
|
65
|
+
*
|
|
66
|
+
* Disable by setting the `NO_COLOR` environmental variable.
|
|
67
|
+
*
|
|
68
|
+
* @param str Text to make green
|
|
69
|
+
*
|
|
70
|
+
* @returns Green text for print
|
|
71
|
+
*
|
|
72
|
+
* @example Usage
|
|
73
|
+
* ```ts no-assert
|
|
74
|
+
* import { green } from "@std/internal/styles";
|
|
75
|
+
*
|
|
76
|
+
* console.log(green("Hello, world!")); // Prints "Hello, world!" in green
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export function green(str) {
|
|
80
|
+
return run(str, code([32], 39));
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Sets the color of text to be printed to yellow.
|
|
84
|
+
*
|
|
85
|
+
* Disable by setting the `NO_COLOR` environmental variable.
|
|
86
|
+
*
|
|
87
|
+
* @param str Text to make yellow
|
|
88
|
+
*
|
|
89
|
+
* @returns Yellow text for print
|
|
90
|
+
*
|
|
91
|
+
* @example Usage
|
|
92
|
+
* ```ts no-assert
|
|
93
|
+
* import { yellow } from "@std/internal/styles";
|
|
94
|
+
*
|
|
95
|
+
* console.log(yellow("Hello, world!")); // Prints "Hello, world!" in yellow
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
export function yellow(str) {
|
|
99
|
+
return run(str, code([33], 39));
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Sets the color of text to be printed to white.
|
|
103
|
+
*
|
|
104
|
+
* @param str Text to make white
|
|
105
|
+
*
|
|
106
|
+
* @returns White text for print
|
|
107
|
+
*
|
|
108
|
+
* @example Usage
|
|
109
|
+
* ```ts no-assert
|
|
110
|
+
* import { white } from "@std/internal/styles";
|
|
111
|
+
*
|
|
112
|
+
* console.log(white("Hello, world!")); // Prints "Hello, world!" in white
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
export function white(str) {
|
|
116
|
+
return run(str, code([37], 39));
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Sets the color of text to be printed to gray.
|
|
120
|
+
*
|
|
121
|
+
* @param str Text to make gray
|
|
122
|
+
*
|
|
123
|
+
* @returns Gray text for print
|
|
124
|
+
*
|
|
125
|
+
* @example Usage
|
|
126
|
+
* ```ts no-assert
|
|
127
|
+
* import { gray } from "@std/internal/styles";
|
|
128
|
+
*
|
|
129
|
+
* console.log(gray("Hello, world!")); // Prints "Hello, world!" in gray
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
export function gray(str) {
|
|
133
|
+
return brightBlack(str);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Sets the color of text to be printed to bright-black.
|
|
137
|
+
*
|
|
138
|
+
* @param str Text to make bright-black
|
|
139
|
+
*
|
|
140
|
+
* @returns Bright-black text for print
|
|
141
|
+
*
|
|
142
|
+
* @example Usage
|
|
143
|
+
* ```ts no-assert
|
|
144
|
+
* import { brightBlack } from "@std/internal/styles";
|
|
145
|
+
*
|
|
146
|
+
* console.log(brightBlack("Hello, world!")); // Prints "Hello, world!" in bright-black
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
export function brightBlack(str) {
|
|
150
|
+
return run(str, code([90], 39));
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Sets the background color of text to be printed to red.
|
|
154
|
+
*
|
|
155
|
+
* @param str Text to make its background red
|
|
156
|
+
*
|
|
157
|
+
* @returns Red background text for print
|
|
158
|
+
*
|
|
159
|
+
* @example Usage
|
|
160
|
+
* ```ts no-assert
|
|
161
|
+
* import { bgRed } from "@std/internal/styles";
|
|
162
|
+
*
|
|
163
|
+
* console.log(bgRed("Hello, world!")); // Prints "Hello, world!" with red background
|
|
164
|
+
* ```
|
|
165
|
+
*/
|
|
166
|
+
export function bgRed(str) {
|
|
167
|
+
return run(str, code([41], 49));
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Sets the background color of text to be printed to green.
|
|
171
|
+
*
|
|
172
|
+
* @param str Text to make its background green
|
|
173
|
+
*
|
|
174
|
+
* @returns Green background text for print
|
|
175
|
+
*
|
|
176
|
+
* @example Usage
|
|
177
|
+
* ```ts no-assert
|
|
178
|
+
* import { bgGreen } from "@std/internal/styles";
|
|
179
|
+
*
|
|
180
|
+
* console.log(bgGreen("Hello, world!")); // Prints "Hello, world!" with green background
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
export function bgGreen(str) {
|
|
184
|
+
return run(str, code([42], 49));
|
|
185
|
+
}
|
|
186
|
+
// https://github.com/chalk/ansi-regex/blob/02fa893d619d3da85411acc8fd4e2eea0e95a9d9/index.js
|
|
187
|
+
const ANSI_PATTERN = new RegExp([
|
|
188
|
+
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
|
|
189
|
+
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TXZcf-nq-uy=><~]))",
|
|
190
|
+
].join("|"), "g");
|
|
191
|
+
/**
|
|
192
|
+
* Remove ANSI escape codes from the string.
|
|
193
|
+
*
|
|
194
|
+
* @param string Text to remove ANSI escape codes from
|
|
195
|
+
*
|
|
196
|
+
* @returns Text without ANSI escape codes
|
|
197
|
+
*
|
|
198
|
+
* @example Usage
|
|
199
|
+
* ```ts no-assert
|
|
200
|
+
* import { red, stripAnsiCode } from "@std/internal/styles";
|
|
201
|
+
*
|
|
202
|
+
* console.log(stripAnsiCode(red("Hello, world!"))); // Prints "Hello, world!"
|
|
203
|
+
* ```
|
|
204
|
+
*/
|
|
205
|
+
export function stripAnsiCode(string) {
|
|
206
|
+
return string.replace(ANSI_PATTERN, "");
|
|
207
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Ways that lines in a diff can be different. */
|
|
2
|
+
export type DiffType = "removed" | "common" | "added";
|
|
3
|
+
/**
|
|
4
|
+
* Represents the result of a diff operation.
|
|
5
|
+
*
|
|
6
|
+
* @typeParam T The type of the value in the diff result.
|
|
7
|
+
*/
|
|
8
|
+
export interface DiffResult<T> {
|
|
9
|
+
/** The type of the diff. */
|
|
10
|
+
type: DiffType;
|
|
11
|
+
/** The value of the diff. */
|
|
12
|
+
value: T;
|
|
13
|
+
/** The details of the diff. */
|
|
14
|
+
details?: DiffResult<T>[];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.5/types.ts"],"names":[],"mappings":"AAEA,kDAAkD;AAClD,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,4BAA4B;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,6BAA6B;IAC7B,KAAK,EAAE,CAAC,CAAC;IACT,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;CAC3B"}
|