@goast/core 0.4.1 → 0.4.2
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/esm/src/transform/helpers.d.ts.map +1 -1
- package/esm/src/transform/helpers.js +5 -1
- package/esm/src/utils/source-builder.d.ts +2 -0
- package/esm/src/utils/source-builder.d.ts.map +1 -1
- package/esm/src/utils/source-builder.js +7 -1
- package/package.json +1 -4
- package/script/src/transform/helpers.d.ts.map +1 -1
- package/script/src/transform/helpers.js +5 -1
- package/script/src/utils/source-builder.d.ts +2 -0
- package/script/src/utils/source-builder.d.ts.map +1 -1
- package/script/src/utils/source-builder.js +8 -1
- package/src/src/transform/helpers.ts +6 -1
- package/src/src/utils/source-builder.ts +9 -1
- package/esm/_dnt.test_polyfills.d.ts +0 -29
- package/esm/_dnt.test_polyfills.d.ts.map +0 -1
- package/esm/_dnt.test_polyfills.js +0 -31
- package/esm/_dnt.test_shims.d.ts +0 -14
- package/esm/_dnt.test_shims.d.ts.map +0 -1
- package/esm/_dnt.test_shims.js +0 -69
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +0 -26
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +0 -30
- package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts +0 -18
- package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/false.js +0 -22
- package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts +0 -23
- package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.js +0 -53
- package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts +0 -18
- package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/match.js +0 -26
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts +0 -20
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.js +0 -29
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts +0 -18
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.js +0 -26
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts +0 -23
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.js +0 -32
- package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts +0 -24
- package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.js +0 -57
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts +0 -20
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.js +0 -29
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts +0 -14
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.js +0 -43
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts +0 -17
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.js +0 -26
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts +0 -4
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.js +0 -13
- package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts +0 -46
- package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.js +0 -161
- package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts +0 -6
- package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.js +0 -29
- package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts +0 -4
- package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.js +0 -11
- package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts +0 -9
- package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.js +0 -191
- package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts +0 -4
- package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.js +0 -11
- package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts +0 -3
- package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.js +0 -12
- package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts +0 -34
- package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.js +0 -714
- package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts +0 -11
- package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.js +0 -10
- package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +0 -4
- package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.js +0 -10
- package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts +0 -843
- package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_types.js +0 -3
- package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts +0 -9
- package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.js +0 -218
- package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts +0 -60
- package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/expect.js +0 -523
- package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts +0 -29
- package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/fn.js +0 -85
- package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts +0 -86
- package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/mod.js +0 -88
- package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +0 -160
- package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +0 -199
- package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
- package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -111
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +0 -140
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -277
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +0 -99
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -180
- package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
- package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.5/format.js +0 -37
- package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +0 -159
- package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -207
- package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
- package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.5/types.js +0 -2
- package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts +0 -79
- package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.js +0 -380
- package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts +0 -738
- package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.js +0 -654
- package/esm/src/collect/helpers.test.d.ts +0 -2
- package/esm/src/collect/helpers.test.d.ts.map +0 -1
- package/esm/src/collect/helpers.test.js +0 -77
- package/esm/src/transform/helpers.test.d.ts +0 -2
- package/esm/src/transform/helpers.test.d.ts.map +0 -1
- package/esm/src/transform/helpers.test.js +0 -265
- package/esm/src/utils/action-provider.test.d.ts +0 -2
- package/esm/src/utils/action-provider.test.d.ts.map +0 -1
- package/esm/src/utils/action-provider.test.js +0 -28
- package/esm/src/utils/common.utils.test.d.ts +0 -2
- package/esm/src/utils/common.utils.test.d.ts.map +0 -1
- package/esm/src/utils/common.utils.test.js +0 -18
- package/esm/src/utils/condition.test.d.ts +0 -2
- package/esm/src/utils/condition.test.d.ts.map +0 -1
- package/esm/src/utils/condition.test.js +0 -31
- package/esm/src/utils/endpoint.utils.test.d.ts +0 -2
- package/esm/src/utils/endpoint.utils.test.d.ts.map +0 -1
- package/esm/src/utils/endpoint.utils.test.js +0 -31
- package/esm/src/utils/factory.test.d.ts +0 -2
- package/esm/src/utils/factory.test.d.ts.map +0 -1
- package/esm/src/utils/factory.test.js +0 -34
- package/esm/src/utils/generator.utils.test.d.ts +0 -2
- package/esm/src/utils/generator.utils.test.d.ts.map +0 -1
- package/esm/src/utils/generator.utils.test.js +0 -13
- package/esm/src/utils/object.utils.test.d.ts +0 -2
- package/esm/src/utils/object.utils.test.d.ts.map +0 -1
- package/esm/src/utils/object.utils.test.js +0 -29
- package/esm/src/utils/schema.utils.test.d.ts +0 -2
- package/esm/src/utils/schema.utils.test.d.ts.map +0 -1
- package/esm/src/utils/schema.utils.test.js +0 -70
- package/esm/src/utils/source-builder.test.d.ts +0 -2
- package/esm/src/utils/source-builder.test.d.ts.map +0 -1
- package/esm/src/utils/source-builder.test.js +0 -505
- package/esm/src/utils/string-builder/string-builder.test.d.ts +0 -2
- package/esm/src/utils/string-builder/string-builder.test.d.ts.map +0 -1
- package/esm/src/utils/string-builder/string-builder.test.js +0 -163
- package/esm/src/utils/string.utils.test.d.ts +0 -2
- package/esm/src/utils/string.utils.test.d.ts.map +0 -1
- package/esm/src/utils/string.utils.test.js +0 -528
- package/esm/tests/openapi.test.d.ts +0 -2
- package/esm/tests/openapi.test.d.ts.map +0 -1
- package/esm/tests/openapi.test.js +0 -33
- package/esm/tests/schema-factory.d.ts +0 -42
- package/esm/tests/schema-factory.d.ts.map +0 -1
- package/esm/tests/schema-factory.js +0 -138
- package/script/_dnt.test_polyfills.d.ts +0 -29
- package/script/_dnt.test_polyfills.d.ts.map +0 -1
- package/script/_dnt.test_polyfills.js +0 -32
- package/script/_dnt.test_shims.d.ts +0 -14
- package/script/_dnt.test_shims.d.ts.map +0 -1
- package/script/_dnt.test_shims.js +0 -79
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +0 -26
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +0 -34
- package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts +0 -18
- package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/false.js +0 -25
- package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts +0 -23
- package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.js +0 -56
- package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts +0 -18
- package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/match.js +0 -29
- package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts +0 -20
- package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.js +0 -32
- package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts +0 -18
- package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/not_match.js +0 -29
- package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts +0 -23
- package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.js +0 -35
- package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts +0 -24
- package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.js +0 -60
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts +0 -20
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.js +0 -32
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts +0 -14
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.js +0 -46
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts +0 -17
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.js +0 -29
- package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts +0 -4
- package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.js +0 -18
- package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts +0 -46
- package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.js +0 -183
- package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts +0 -6
- package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.js +0 -33
- package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts +0 -4
- package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.js +0 -15
- package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts +0 -9
- package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_equal.js +0 -194
- package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts +0 -4
- package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_extend.js +0 -15
- package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts +0 -3
- package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.js +0 -17
- package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts +0 -34
- package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.js +0 -748
- package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts +0 -11
- package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.js +0 -14
- package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +0 -4
- package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.js +0 -14
- package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts +0 -843
- package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_types.js +0 -4
- package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts +0 -9
- package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_utils.js +0 -226
- package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts +0 -60
- package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/expect.js +0 -527
- package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts +0 -29
- package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/fn.js +0 -88
- package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts +0 -86
- package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/mod.js +0 -91
- package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +0 -160
- package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +0 -204
- package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
- package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -116
- package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +0 -140
- package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -284
- package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +0 -99
- package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -186
- package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
- package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.5/format.js +0 -41
- package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +0 -159
- package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -220
- package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
- package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.5/types.js +0 -3
- package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts +0 -79
- package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.js +0 -385
- package/script/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts +0 -738
- package/script/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/testing/1.0.9/bdd.js +0 -665
- package/script/src/collect/helpers.test.d.ts +0 -2
- package/script/src/collect/helpers.test.d.ts.map +0 -1
- package/script/src/collect/helpers.test.js +0 -79
- package/script/src/transform/helpers.test.d.ts +0 -2
- package/script/src/transform/helpers.test.d.ts.map +0 -1
- package/script/src/transform/helpers.test.js +0 -267
- package/script/src/utils/action-provider.test.d.ts +0 -2
- package/script/src/utils/action-provider.test.d.ts.map +0 -1
- package/script/src/utils/action-provider.test.js +0 -30
- package/script/src/utils/common.utils.test.d.ts +0 -2
- package/script/src/utils/common.utils.test.d.ts.map +0 -1
- package/script/src/utils/common.utils.test.js +0 -20
- package/script/src/utils/condition.test.d.ts +0 -2
- package/script/src/utils/condition.test.d.ts.map +0 -1
- package/script/src/utils/condition.test.js +0 -33
- package/script/src/utils/endpoint.utils.test.d.ts +0 -2
- package/script/src/utils/endpoint.utils.test.d.ts.map +0 -1
- package/script/src/utils/endpoint.utils.test.js +0 -33
- package/script/src/utils/factory.test.d.ts +0 -2
- package/script/src/utils/factory.test.d.ts.map +0 -1
- package/script/src/utils/factory.test.js +0 -36
- package/script/src/utils/generator.utils.test.d.ts +0 -2
- package/script/src/utils/generator.utils.test.d.ts.map +0 -1
- package/script/src/utils/generator.utils.test.js +0 -15
- package/script/src/utils/object.utils.test.d.ts +0 -2
- package/script/src/utils/object.utils.test.d.ts.map +0 -1
- package/script/src/utils/object.utils.test.js +0 -31
- package/script/src/utils/schema.utils.test.d.ts +0 -2
- package/script/src/utils/schema.utils.test.d.ts.map +0 -1
- package/script/src/utils/schema.utils.test.js +0 -72
- package/script/src/utils/source-builder.test.d.ts +0 -2
- package/script/src/utils/source-builder.test.d.ts.map +0 -1
- package/script/src/utils/source-builder.test.js +0 -507
- package/script/src/utils/string-builder/string-builder.test.d.ts +0 -2
- package/script/src/utils/string-builder/string-builder.test.d.ts.map +0 -1
- package/script/src/utils/string-builder/string-builder.test.js +0 -165
- package/script/src/utils/string.utils.test.d.ts +0 -2
- package/script/src/utils/string.utils.test.d.ts.map +0 -1
- package/script/src/utils/string.utils.test.js +0 -530
- package/script/tests/openapi.test.d.ts +0 -2
- package/script/tests/openapi.test.d.ts.map +0 -1
- package/script/tests/openapi.test.js +0 -35
- package/script/tests/schema-factory.d.ts +0 -42
- package/script/tests/schema-factory.d.ts.map +0 -1
- package/script/tests/schema-factory.js +0 -162
- package/src/_dnt.test_polyfills.ts +0 -70
- package/src/_dnt.test_shims.ts +0 -72
- package/src/deps/jsr.io/@std/assert/1.0.11/assertion_error.ts +0 -31
- package/src/deps/jsr.io/@std/assert/1.0.11/false.ts +0 -26
- package/src/deps/jsr.io/@std/assert/1.0.11/instance_of.ts +0 -64
- package/src/deps/jsr.io/@std/assert/1.0.11/match.ts +0 -30
- package/src/deps/jsr.io/@std/assert/1.0.11/not_instance_of.ts +0 -33
- package/src/deps/jsr.io/@std/assert/1.0.11/not_match.ts +0 -30
- package/src/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.ts +0 -42
- package/src/deps/jsr.io/@std/assert/1.0.11/strict_equals.ts +0 -67
- package/src/deps/jsr.io/@std/expect/1.0.12/_assert_equals.ts +0 -38
- package/src/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.ts +0 -54
- package/src/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.ts +0 -35
- package/src/deps/jsr.io/@std/expect/1.0.12/_assertions.ts +0 -18
- package/src/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.ts +0 -198
- package/src/deps/jsr.io/@std/expect/1.0.12/_build_message.ts +0 -51
- package/src/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.ts +0 -19
- package/src/deps/jsr.io/@std/expect/1.0.12/_equal.ts +0 -230
- package/src/deps/jsr.io/@std/expect/1.0.12/_extend.ts +0 -16
- package/src/deps/jsr.io/@std/expect/1.0.12/_inspect_args.ts +0 -15
- package/src/deps/jsr.io/@std/expect/1.0.12/_matchers.ts +0 -1028
- package/src/deps/jsr.io/@std/expect/1.0.12/_mock_util.ts +0 -22
- package/src/deps/jsr.io/@std/expect/1.0.12/_serializer.ts +0 -15
- package/src/deps/jsr.io/@std/expect/1.0.12/_types.ts +0 -923
- package/src/deps/jsr.io/@std/expect/1.0.12/_utils.ts +0 -283
- package/src/deps/jsr.io/@std/expect/1.0.12/expect.ts +0 -620
- package/src/deps/jsr.io/@std/expect/1.0.12/fn.ts +0 -91
- package/src/deps/jsr.io/@std/expect/1.0.12/mod.ts +0 -89
- package/src/deps/jsr.io/@std/internal/1.0.5/assertion_state.ts +0 -214
- package/src/deps/jsr.io/@std/internal/1.0.5/build_message.ts +0 -134
- package/src/deps/jsr.io/@std/internal/1.0.5/diff.ts +0 -317
- package/src/deps/jsr.io/@std/internal/1.0.5/diff_str.ts +0 -204
- package/src/deps/jsr.io/@std/internal/1.0.5/format.ts +0 -39
- package/src/deps/jsr.io/@std/internal/1.0.5/styles.ts +0 -233
- package/src/deps/jsr.io/@std/internal/1.0.5/types.ts +0 -18
- package/src/deps/jsr.io/@std/testing/1.0.9/_test_suite.ts +0 -448
- package/src/deps/jsr.io/@std/testing/1.0.9/bdd.ts +0 -1288
- package/src/src/collect/helpers.test.ts +0 -91
- package/src/src/transform/helpers.test.ts +0 -316
- package/src/src/utils/action-provider.test.ts +0 -32
- package/src/src/utils/common.utils.test.ts +0 -22
- package/src/src/utils/condition.test.ts +0 -36
- package/src/src/utils/endpoint.utils.test.ts +0 -36
- package/src/src/utils/factory.test.ts +0 -31
- package/src/src/utils/generator.utils.test.ts +0 -16
- package/src/src/utils/object.utils.test.ts +0 -33
- package/src/src/utils/schema.utils.test.ts +0 -88
- package/src/src/utils/source-builder.test.ts +0 -657
- package/src/src/utils/string-builder/string-builder.test.ts +0 -188
- package/src/src/utils/string.utils.test.ts +0 -691
- package/src/tests/openapi.test.ts +0 -50
- package/src/tests/schema-factory.ts +0 -185
- package/test_runner.js +0 -221
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.buildEqualErrorMessage = buildEqualErrorMessage;
|
|
5
|
-
exports.buildNotEqualErrorMessage = buildNotEqualErrorMessage;
|
|
6
|
-
const build_message_js_1 = require("../../internal/1.0.5/build_message.js");
|
|
7
|
-
const diff_js_1 = require("../../internal/1.0.5/diff.js");
|
|
8
|
-
const diff_str_js_1 = require("../../internal/1.0.5/diff_str.js");
|
|
9
|
-
const format_js_1 = require("../../internal/1.0.5/format.js");
|
|
10
|
-
function isString(value) {
|
|
11
|
-
return typeof value === "string";
|
|
12
|
-
}
|
|
13
|
-
function buildEqualErrorMessage(actual, expected, options) {
|
|
14
|
-
const { formatter = format_js_1.format, msg } = options !== null && options !== void 0 ? options : {};
|
|
15
|
-
const msgPrefix = msg ? `${msg}: ` : "";
|
|
16
|
-
const actualString = formatter(actual);
|
|
17
|
-
const expectedString = formatter(expected);
|
|
18
|
-
let message = `${msgPrefix}Values are not equal.`;
|
|
19
|
-
const stringDiff = isString(actual) && isString(expected);
|
|
20
|
-
const diffResult = stringDiff
|
|
21
|
-
? (0, diff_str_js_1.diffStr)(actual, expected)
|
|
22
|
-
: (0, diff_js_1.diff)(actualString.split("\n"), expectedString.split("\n"));
|
|
23
|
-
const diffMsg = (0, build_message_js_1.buildMessage)(diffResult, { stringDiff }).join("\n");
|
|
24
|
-
message = `${message}\n${diffMsg}`;
|
|
25
|
-
return message;
|
|
26
|
-
}
|
|
27
|
-
function buildNotEqualErrorMessage(actual, expected, options) {
|
|
28
|
-
const { msg } = options !== null && options !== void 0 ? options : {};
|
|
29
|
-
const actualString = String(actual);
|
|
30
|
-
const expectedString = String(expected);
|
|
31
|
-
const msgPrefix = msg ? `${msg}: ` : "";
|
|
32
|
-
return `${msgPrefix}Expected actual: ${actualString} not to be: ${expectedString}.`;
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_custom_equality_tester.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAI1C,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,QAQ5D;AAED,wBAAgB,wBAAwB,aAEvC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.addCustomEqualityTesters = addCustomEqualityTesters;
|
|
5
|
-
exports.getCustomEqualityTesters = getCustomEqualityTesters;
|
|
6
|
-
const customEqualityTesters = [];
|
|
7
|
-
function addCustomEqualityTesters(newTesters) {
|
|
8
|
-
if (!Array.isArray(newTesters)) {
|
|
9
|
-
throw new TypeError(`customEqualityTester expects an array of Testers. But got ${typeof newTesters}`);
|
|
10
|
-
}
|
|
11
|
-
customEqualityTesters.push(...newTesters);
|
|
12
|
-
}
|
|
13
|
-
function getCustomEqualityTesters() {
|
|
14
|
-
return customEqualityTesters;
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { EqualOptions } from "./_types.js";
|
|
2
|
-
/**
|
|
3
|
-
* Deep equality comparison used in assertions
|
|
4
|
-
* @param c actual value
|
|
5
|
-
* @param d expected value
|
|
6
|
-
* @param options for the equality check
|
|
7
|
-
*/
|
|
8
|
-
export declare function equal(c: unknown, d: unknown, options?: EqualOptions): boolean;
|
|
9
|
-
//# sourceMappingURL=_equal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_equal.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AA+BhD;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CA4L7E"}
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.equal = equal;
|
|
5
|
-
const _asymmetric_matchers_js_1 = require("./_asymmetric_matchers.js");
|
|
6
|
-
function isKeyedCollection(x) {
|
|
7
|
-
return x instanceof Set || x instanceof Map;
|
|
8
|
-
}
|
|
9
|
-
function constructorsEqual(a, b) {
|
|
10
|
-
return a.constructor === b.constructor ||
|
|
11
|
-
a.constructor === Object && !b.constructor ||
|
|
12
|
-
!a.constructor && b.constructor === Object;
|
|
13
|
-
}
|
|
14
|
-
function asymmetricEqual(a, b) {
|
|
15
|
-
const asymmetricA = a instanceof _asymmetric_matchers_js_1.AsymmetricMatcher;
|
|
16
|
-
const asymmetricB = b instanceof _asymmetric_matchers_js_1.AsymmetricMatcher;
|
|
17
|
-
if (asymmetricA && asymmetricB) {
|
|
18
|
-
return undefined;
|
|
19
|
-
}
|
|
20
|
-
if (asymmetricA) {
|
|
21
|
-
return a.equals(b);
|
|
22
|
-
}
|
|
23
|
-
if (asymmetricB) {
|
|
24
|
-
return b.equals(a);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Deep equality comparison used in assertions
|
|
29
|
-
* @param c actual value
|
|
30
|
-
* @param d expected value
|
|
31
|
-
* @param options for the equality check
|
|
32
|
-
*/
|
|
33
|
-
function equal(c, d, options) {
|
|
34
|
-
const { customTesters = [], strictCheck } = options !== null && options !== void 0 ? options : {};
|
|
35
|
-
const seen = new Map();
|
|
36
|
-
return (function compare(a, b) {
|
|
37
|
-
const asymmetric = asymmetricEqual(a, b);
|
|
38
|
-
if (asymmetric !== undefined) {
|
|
39
|
-
return asymmetric;
|
|
40
|
-
}
|
|
41
|
-
if (customTesters === null || customTesters === void 0 ? void 0 : customTesters.length) {
|
|
42
|
-
for (const customTester of customTesters) {
|
|
43
|
-
const testContext = {
|
|
44
|
-
equal,
|
|
45
|
-
};
|
|
46
|
-
const pass = customTester.call(testContext, a, b, customTesters);
|
|
47
|
-
if (pass !== undefined) {
|
|
48
|
-
return pass;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
// Have to render RegExp & Date for string comparison
|
|
53
|
-
// unless it's mistreated as object
|
|
54
|
-
if (a &&
|
|
55
|
-
b &&
|
|
56
|
-
((a instanceof RegExp && b instanceof RegExp) ||
|
|
57
|
-
(a instanceof URL && b instanceof URL))) {
|
|
58
|
-
return String(a) === String(b);
|
|
59
|
-
}
|
|
60
|
-
if (a instanceof Date && b instanceof Date) {
|
|
61
|
-
const aTime = a.getTime();
|
|
62
|
-
const bTime = b.getTime();
|
|
63
|
-
// Check for NaN equality manually since NaN is not
|
|
64
|
-
// equal to itself.
|
|
65
|
-
if (Number.isNaN(aTime) && Number.isNaN(bTime)) {
|
|
66
|
-
return true;
|
|
67
|
-
}
|
|
68
|
-
return aTime === bTime;
|
|
69
|
-
}
|
|
70
|
-
if (a instanceof Error && b instanceof Error) {
|
|
71
|
-
return a.message === b.message;
|
|
72
|
-
}
|
|
73
|
-
if (typeof a === "number" && typeof b === "number") {
|
|
74
|
-
return Number.isNaN(a) && Number.isNaN(b) || a === b;
|
|
75
|
-
}
|
|
76
|
-
if (a === null || b === null) {
|
|
77
|
-
return a === b;
|
|
78
|
-
}
|
|
79
|
-
const className = Object.prototype.toString.call(a);
|
|
80
|
-
if (className !== Object.prototype.toString.call(b)) {
|
|
81
|
-
return false;
|
|
82
|
-
}
|
|
83
|
-
if (Object.is(a, b)) {
|
|
84
|
-
return true;
|
|
85
|
-
}
|
|
86
|
-
if (a && typeof a === "object" && b && typeof b === "object") {
|
|
87
|
-
if (strictCheck && a && b && !constructorsEqual(a, b)) {
|
|
88
|
-
return false;
|
|
89
|
-
}
|
|
90
|
-
if (a instanceof WeakMap || b instanceof WeakMap) {
|
|
91
|
-
if (!(a instanceof WeakMap && b instanceof WeakMap))
|
|
92
|
-
return false;
|
|
93
|
-
throw new TypeError("Cannot compare WeakMap instances");
|
|
94
|
-
}
|
|
95
|
-
if (a instanceof WeakSet || b instanceof WeakSet) {
|
|
96
|
-
if (!(a instanceof WeakSet && b instanceof WeakSet))
|
|
97
|
-
return false;
|
|
98
|
-
throw new TypeError("Cannot compare WeakSet instances");
|
|
99
|
-
}
|
|
100
|
-
if (seen.get(a) === b) {
|
|
101
|
-
return true;
|
|
102
|
-
}
|
|
103
|
-
const aKeys = Object.keys(a !== null && a !== void 0 ? a : {});
|
|
104
|
-
const bKeys = Object.keys(b !== null && b !== void 0 ? b : {});
|
|
105
|
-
let aLen = aKeys.length;
|
|
106
|
-
let bLen = bKeys.length;
|
|
107
|
-
if (strictCheck && aLen !== bLen) {
|
|
108
|
-
return false;
|
|
109
|
-
}
|
|
110
|
-
if (!strictCheck) {
|
|
111
|
-
if (aLen > 0) {
|
|
112
|
-
for (let i = 0; i < aKeys.length; i += 1) {
|
|
113
|
-
const key = aKeys[i];
|
|
114
|
-
if ((key in a) && (a[key] === undefined) &&
|
|
115
|
-
!(key in b)) {
|
|
116
|
-
aLen -= 1;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
if (bLen > 0) {
|
|
121
|
-
for (let i = 0; i < bKeys.length; i += 1) {
|
|
122
|
-
const key = bKeys[i];
|
|
123
|
-
if ((key in b) && (b[key] === undefined) &&
|
|
124
|
-
!(key in a)) {
|
|
125
|
-
bLen -= 1;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
seen.set(a, b);
|
|
131
|
-
if (isKeyedCollection(a) && isKeyedCollection(b)) {
|
|
132
|
-
if (a.size !== b.size) {
|
|
133
|
-
return false;
|
|
134
|
-
}
|
|
135
|
-
const aKeys = [...a.keys()];
|
|
136
|
-
const primitiveKeysFastPath = aKeys.every((k) => {
|
|
137
|
-
return typeof k === "string" ||
|
|
138
|
-
typeof k === "number" ||
|
|
139
|
-
typeof k === "boolean" ||
|
|
140
|
-
typeof k === "bigint" ||
|
|
141
|
-
typeof k === "symbol" ||
|
|
142
|
-
k == null;
|
|
143
|
-
});
|
|
144
|
-
if (primitiveKeysFastPath) {
|
|
145
|
-
if (a instanceof Set) {
|
|
146
|
-
return a.symmetricDifference(b).size === 0;
|
|
147
|
-
}
|
|
148
|
-
for (const key of aKeys) {
|
|
149
|
-
if (!b.has(key) ||
|
|
150
|
-
!compare(a.get(key), b.get(key))) {
|
|
151
|
-
return false;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
return true;
|
|
155
|
-
}
|
|
156
|
-
let unmatchedEntries = a.size;
|
|
157
|
-
for (const [aKey, aValue] of a.entries()) {
|
|
158
|
-
for (const [bKey, bValue] of b.entries()) {
|
|
159
|
-
/* Given that Map keys can be references, we need
|
|
160
|
-
* to ensure that they are also deeply equal */
|
|
161
|
-
if (!compare(aKey, bKey))
|
|
162
|
-
continue;
|
|
163
|
-
if ((aKey === aValue && bKey === bValue) ||
|
|
164
|
-
(compare(aValue, bValue))) {
|
|
165
|
-
unmatchedEntries--;
|
|
166
|
-
break;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
return unmatchedEntries === 0;
|
|
171
|
-
}
|
|
172
|
-
const merged = { ...a, ...b };
|
|
173
|
-
for (const key of [
|
|
174
|
-
...Object.getOwnPropertyNames(merged),
|
|
175
|
-
...Object.getOwnPropertySymbols(merged),
|
|
176
|
-
]) {
|
|
177
|
-
if (!compare(a && a[key], b && b[key])) {
|
|
178
|
-
return false;
|
|
179
|
-
}
|
|
180
|
-
if (((key in a) && (a[key] !== undefined) && (!(key in b))) ||
|
|
181
|
-
((key in b) && (b[key] !== undefined) && (!(key in a)))) {
|
|
182
|
-
return false;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
if (a instanceof WeakRef || b instanceof WeakRef) {
|
|
186
|
-
if (!(a instanceof WeakRef && b instanceof WeakRef))
|
|
187
|
-
return false;
|
|
188
|
-
return compare(a.deref(), b.deref());
|
|
189
|
-
}
|
|
190
|
-
return true;
|
|
191
|
-
}
|
|
192
|
-
return false;
|
|
193
|
-
})(c, d);
|
|
194
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_extend.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_extend.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAI5C,wBAAgB,iBAAiB,OAEhC;AAED,wBAAgB,iBAAiB,CAAC,iBAAiB,EAAE,QAAQ,QAK5D"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.getExtendMatchers = getExtendMatchers;
|
|
5
|
-
exports.setExtendMatchers = setExtendMatchers;
|
|
6
|
-
let extendMatchers = {};
|
|
7
|
-
function getExtendMatchers() {
|
|
8
|
-
return extendMatchers;
|
|
9
|
-
}
|
|
10
|
-
function setExtendMatchers(newExtendMatchers) {
|
|
11
|
-
extendMatchers = {
|
|
12
|
-
...extendMatchers,
|
|
13
|
-
...newExtendMatchers,
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_inspect_args.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_inspect_args.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAEnD;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAK/C"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.inspectArgs = inspectArgs;
|
|
4
|
-
exports.inspectArg = inspectArg;
|
|
5
|
-
const tslib_1 = require("tslib");
|
|
6
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
7
|
-
// deno-lint-ignore-file
|
|
8
|
-
const dntShim = tslib_1.__importStar(require("../../../../../_dnt.test_shims.js"));
|
|
9
|
-
function inspectArgs(args) {
|
|
10
|
-
return args.map(inspectArg).join(", ");
|
|
11
|
-
}
|
|
12
|
-
function inspectArg(arg) {
|
|
13
|
-
const { Deno } = dntShim.dntGlobalThis;
|
|
14
|
-
return typeof Deno !== "undefined" && Deno.inspect
|
|
15
|
-
? Deno.inspect(arg)
|
|
16
|
-
: String(arg);
|
|
17
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { AnyConstructor, MatcherContext, MatchResult } from "./_types.js";
|
|
2
|
-
export declare function toBe(context: MatcherContext, expect: unknown): MatchResult;
|
|
3
|
-
export declare function toEqual(context: MatcherContext, expected: unknown): MatchResult;
|
|
4
|
-
export declare function toStrictEqual(context: MatcherContext, expected: unknown): MatchResult;
|
|
5
|
-
export declare function toBeCloseTo(context: MatcherContext, expected: number, numDigits?: number): MatchResult;
|
|
6
|
-
export declare function toBeDefined(context: MatcherContext): MatchResult;
|
|
7
|
-
export declare function toBeUndefined(context: MatcherContext): MatchResult;
|
|
8
|
-
export declare function toBeFalsy(context: MatcherContext): MatchResult;
|
|
9
|
-
export declare function toBeTruthy(context: MatcherContext): MatchResult;
|
|
10
|
-
export declare function toBeGreaterThanOrEqual(context: MatcherContext, expected: number): MatchResult;
|
|
11
|
-
export declare function toBeGreaterThan(context: MatcherContext, expected: number): MatchResult;
|
|
12
|
-
export declare function toBeInstanceOf<T extends AnyConstructor>(context: MatcherContext, expected: T): MatchResult;
|
|
13
|
-
export declare function toBeLessThanOrEqual(context: MatcherContext, expected: number): MatchResult;
|
|
14
|
-
export declare function toBeLessThan(context: MatcherContext, expected: number): MatchResult;
|
|
15
|
-
export declare function toBeNaN(context: MatcherContext): MatchResult;
|
|
16
|
-
export declare function toBeNull(context: MatcherContext): MatchResult;
|
|
17
|
-
export declare function toHaveLength(context: MatcherContext, expected: number): MatchResult;
|
|
18
|
-
export declare function toHaveProperty(context: MatcherContext, propName: string | string[], v?: unknown): MatchResult;
|
|
19
|
-
export declare function toContain(context: MatcherContext, expected: unknown): MatchResult;
|
|
20
|
-
export declare function toContainEqual(context: MatcherContext, expected: unknown): MatchResult;
|
|
21
|
-
export declare function toMatch(context: MatcherContext, expected: RegExp): MatchResult;
|
|
22
|
-
export declare function toMatchObject(context: MatcherContext, expected: Record<PropertyKey, unknown> | Record<PropertyKey, unknown>[]): MatchResult;
|
|
23
|
-
export declare function toHaveBeenCalled(context: MatcherContext): MatchResult;
|
|
24
|
-
export declare function toHaveBeenCalledTimes(context: MatcherContext, expected: number): MatchResult;
|
|
25
|
-
export declare function toHaveBeenCalledWith(context: MatcherContext, ...expected: unknown[]): MatchResult;
|
|
26
|
-
export declare function toHaveBeenLastCalledWith(context: MatcherContext, ...expected: unknown[]): MatchResult;
|
|
27
|
-
export declare function toHaveBeenNthCalledWith(context: MatcherContext, nth: number, ...expected: unknown[]): MatchResult;
|
|
28
|
-
export declare function toHaveReturned(context: MatcherContext): MatchResult;
|
|
29
|
-
export declare function toHaveReturnedTimes(context: MatcherContext, expected: number): MatchResult;
|
|
30
|
-
export declare function toHaveReturnedWith(context: MatcherContext, expected: unknown): MatchResult;
|
|
31
|
-
export declare function toHaveLastReturnedWith(context: MatcherContext, expected: unknown): MatchResult;
|
|
32
|
-
export declare function toHaveNthReturnedWith(context: MatcherContext, nth: number, expected: unknown): MatchResult;
|
|
33
|
-
export declare function toThrow<E extends Error = Error>(context: MatcherContext, expected?: string | RegExp | E | (new (...args: any[]) => E)): MatchResult;
|
|
34
|
-
//# sourceMappingURL=_matchers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_matchers.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_matchers.ts"],"names":[],"mappings":"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"}
|