[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

fix(vite-node): fix `isValidNodeImport` to check `"type": "module"` first (#5416)

authored by

Hiroshi Ogawa and committed by
GitHub
(Mar 26, 2024, 4:04 PM +0100) 6fb15280 16bacfab

+244 -103
+209 -100
pnpm-lock.yaml
··· 2072 2072 '@types/inquirer': 2073 2073 specifier: ^9.0.3 2074 2074 version: 9.0.3 2075 + '@vitest/test-dep1': 2076 + specifier: file:./deps/dep1 2077 + version: file:test/vite-node/deps/dep1 2078 + '@vitest/test-dep2': 2079 + specifier: file:./deps/dep2 2080 + version: file:test/vite-node/deps/dep2(@vitest/test-dep1@undefined) 2075 2081 execa: 2076 2082 specifier: ^6.1.0 2077 2083 version: 6.1.0 ··· 2561 2567 resolution: {integrity: sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==} 2562 2568 engines: {node: '>=6.9.0'} 2563 2569 dependencies: 2564 - '@babel/types': 7.23.6 2570 + '@babel/types': 7.24.0 2565 2571 dev: true 2566 2572 2567 2573 /@babel/helper-compilation-targets@7.22.15: ··· 2656 2662 dependencies: 2657 2663 '@babel/core': 7.23.3 2658 2664 '@babel/helper-compilation-targets': 7.22.15 2659 - '@babel/helper-plugin-utils': 7.22.5 2665 + '@babel/helper-plugin-utils': 7.24.0 2666 + debug: 4.3.4(supports-color@8.1.1) 2667 + lodash.debounce: 4.0.8 2668 + resolve: 1.22.8 2669 + transitivePeerDependencies: 2670 + - supports-color 2671 + dev: true 2672 + 2673 + /@babel/helper-define-polyfill-provider@0.6.1(@babel/core@7.23.3): 2674 + resolution: {integrity: sha512-o7SDgTJuvx5vLKD6SFvkydkSMBvahDKGiNJzG22IZYXhiqoe9efY7zocICBgzHV4IRg5wdgl2nEL/tulKIEIbA==} 2675 + peerDependencies: 2676 + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 2677 + dependencies: 2678 + '@babel/core': 7.23.3 2679 + '@babel/helper-compilation-targets': 7.22.15 2680 + '@babel/helper-plugin-utils': 7.24.0 2660 2681 debug: 4.3.4(supports-color@8.1.1) 2661 2682 lodash.debounce: 4.0.8 2662 2683 resolve: 1.22.8 ··· 2715 2736 '@babel/types': 7.23.3 2716 2737 dev: false 2717 2738 2739 + /@babel/helper-module-imports@7.24.3: 2740 + resolution: {integrity: sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==} 2741 + engines: {node: '>=6.9.0'} 2742 + dependencies: 2743 + '@babel/types': 7.24.0 2744 + dev: true 2745 + 2718 2746 /@babel/helper-module-transforms@7.23.3(@babel/core@7.12.9): 2719 2747 resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} 2720 2748 engines: {node: '>=6.9.0'} ··· 2756 2784 /@babel/helper-plugin-utils@7.22.5: 2757 2785 resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} 2758 2786 engines: {node: '>=6.9.0'} 2787 + 2788 + /@babel/helper-plugin-utils@7.24.0: 2789 + resolution: {integrity: sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==} 2790 + engines: {node: '>=6.9.0'} 2791 + dev: true 2759 2792 2760 2793 /@babel/helper-remap-async-to-generator@7.18.9(@babel/core@7.23.3): 2761 2794 resolution: {integrity: sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==} ··· 2854 2887 dependencies: 2855 2888 '@babel/helper-function-name': 7.23.0 2856 2889 '@babel/template': 7.22.15 2857 - '@babel/types': 7.23.6 2890 + '@babel/types': 7.24.0 2858 2891 dev: true 2859 2892 2860 2893 /@babel/helpers@7.23.2: ··· 2915 2948 '@babel/core': ^7.0.0 2916 2949 dependencies: 2917 2950 '@babel/core': 7.23.3 2918 - '@babel/helper-plugin-utils': 7.22.5 2951 + '@babel/helper-plugin-utils': 7.24.0 2919 2952 dev: true 2920 2953 2921 2954 /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.18.9(@babel/core@7.23.3): ··· 2937 2970 '@babel/core': ^7.13.0 2938 2971 dependencies: 2939 2972 '@babel/core': 7.23.3 2940 - '@babel/helper-plugin-utils': 7.22.5 2973 + '@babel/helper-plugin-utils': 7.24.0 2941 2974 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 2942 2975 '@babel/plugin-transform-optional-chaining': 7.23.0(@babel/core@7.23.3) 2943 2976 dev: true ··· 3178 3211 '@babel/core': ^7.0.0-0 3179 3212 dependencies: 3180 3213 '@babel/core': 7.23.3 3181 - '@babel/helper-plugin-utils': 7.22.5 3214 + '@babel/helper-plugin-utils': 7.24.0 3182 3215 dev: true 3183 3216 3184 3217 /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.3): ··· 3265 3298 '@babel/core': ^7.0.0-0 3266 3299 dependencies: 3267 3300 '@babel/core': 7.23.3 3268 - '@babel/helper-plugin-utils': 7.22.5 3301 + '@babel/helper-plugin-utils': 7.24.0 3269 3302 dev: true 3270 3303 3271 3304 /@babel/plugin-syntax-import-attributes@7.22.5(@babel/core@7.23.3): ··· 3275 3308 '@babel/core': ^7.0.0-0 3276 3309 dependencies: 3277 3310 '@babel/core': 7.23.3 3278 - '@babel/helper-plugin-utils': 7.22.5 3311 + '@babel/helper-plugin-utils': 7.24.0 3279 3312 dev: true 3280 3313 3281 3314 /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.3): ··· 3284 3317 '@babel/core': ^7.0.0-0 3285 3318 dependencies: 3286 3319 '@babel/core': 7.23.3 3287 - '@babel/helper-plugin-utils': 7.22.5 3320 + '@babel/helper-plugin-utils': 7.24.0 3288 3321 dev: true 3289 3322 3290 3323 /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.3): ··· 3436 3469 dependencies: 3437 3470 '@babel/core': 7.23.3 3438 3471 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.3) 3439 - '@babel/helper-plugin-utils': 7.22.5 3472 + '@babel/helper-plugin-utils': 7.24.0 3440 3473 dev: true 3441 3474 3442 3475 /@babel/plugin-transform-arrow-functions@7.18.6(@babel/core@7.23.3): ··· 3456 3489 '@babel/core': ^7.0.0-0 3457 3490 dependencies: 3458 3491 '@babel/core': 7.23.3 3459 - '@babel/helper-plugin-utils': 7.22.5 3492 + '@babel/helper-plugin-utils': 7.24.0 3460 3493 dev: true 3461 3494 3462 3495 /@babel/plugin-transform-async-generator-functions@7.23.2(@babel/core@7.23.3): ··· 3467 3500 dependencies: 3468 3501 '@babel/core': 7.23.3 3469 3502 '@babel/helper-environment-visitor': 7.22.20 3470 - '@babel/helper-plugin-utils': 7.22.5 3503 + '@babel/helper-plugin-utils': 7.24.0 3471 3504 '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.3) 3472 3505 '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.3) 3473 3506 dev: true ··· 3493 3526 '@babel/core': ^7.0.0-0 3494 3527 dependencies: 3495 3528 '@babel/core': 7.23.3 3496 - '@babel/helper-module-imports': 7.22.15 3497 - '@babel/helper-plugin-utils': 7.22.5 3529 + '@babel/helper-module-imports': 7.24.3 3530 + '@babel/helper-plugin-utils': 7.24.0 3498 3531 '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.3) 3499 3532 dev: true 3500 3533 ··· 3515 3548 '@babel/core': ^7.0.0-0 3516 3549 dependencies: 3517 3550 '@babel/core': 7.23.3 3518 - '@babel/helper-plugin-utils': 7.22.5 3551 + '@babel/helper-plugin-utils': 7.24.0 3519 3552 dev: true 3520 3553 3521 3554 /@babel/plugin-transform-block-scoping@7.18.9(@babel/core@7.23.3): ··· 3535 3568 '@babel/core': ^7.0.0-0 3536 3569 dependencies: 3537 3570 '@babel/core': 7.23.3 3538 - '@babel/helper-plugin-utils': 7.22.5 3571 + '@babel/helper-plugin-utils': 7.24.0 3539 3572 dev: true 3540 3573 3541 3574 /@babel/plugin-transform-class-properties@7.22.5(@babel/core@7.23.3): ··· 3546 3579 dependencies: 3547 3580 '@babel/core': 7.23.3 3548 3581 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.3) 3549 - '@babel/helper-plugin-utils': 7.22.5 3582 + '@babel/helper-plugin-utils': 7.24.0 3550 3583 dev: true 3551 3584 3552 3585 /@babel/plugin-transform-class-static-block@7.22.11(@babel/core@7.23.3): ··· 3557 3590 dependencies: 3558 3591 '@babel/core': 7.23.3 3559 3592 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.3) 3560 - '@babel/helper-plugin-utils': 7.22.5 3593 + '@babel/helper-plugin-utils': 7.24.0 3561 3594 '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.3) 3562 3595 dev: true 3563 3596 ··· 3590 3623 '@babel/helper-environment-visitor': 7.22.20 3591 3624 '@babel/helper-function-name': 7.23.0 3592 3625 '@babel/helper-optimise-call-expression': 7.22.5 3593 - '@babel/helper-plugin-utils': 7.22.5 3626 + '@babel/helper-plugin-utils': 7.24.0 3594 3627 '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.3) 3595 3628 '@babel/helper-split-export-declaration': 7.22.6 3596 3629 globals: 11.12.0 ··· 3613 3646 '@babel/core': ^7.0.0-0 3614 3647 dependencies: 3615 3648 '@babel/core': 7.23.3 3616 - '@babel/helper-plugin-utils': 7.22.5 3649 + '@babel/helper-plugin-utils': 7.24.0 3617 3650 '@babel/template': 7.22.15 3618 3651 dev: true 3619 3652 ··· 3634 3667 '@babel/core': ^7.0.0-0 3635 3668 dependencies: 3636 3669 '@babel/core': 7.23.3 3637 - '@babel/helper-plugin-utils': 7.22.5 3670 + '@babel/helper-plugin-utils': 7.24.0 3638 3671 dev: true 3639 3672 3640 3673 /@babel/plugin-transform-dotall-regex@7.18.6(@babel/core@7.23.3): ··· 3656 3689 dependencies: 3657 3690 '@babel/core': 7.23.3 3658 3691 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.3) 3659 - '@babel/helper-plugin-utils': 7.22.5 3692 + '@babel/helper-plugin-utils': 7.24.0 3660 3693 dev: true 3661 3694 3662 3695 /@babel/plugin-transform-duplicate-keys@7.18.9(@babel/core@7.23.3): ··· 3676 3709 '@babel/core': ^7.0.0-0 3677 3710 dependencies: 3678 3711 '@babel/core': 7.23.3 3679 - '@babel/helper-plugin-utils': 7.22.5 3712 + '@babel/helper-plugin-utils': 7.24.0 3680 3713 dev: true 3681 3714 3682 3715 /@babel/plugin-transform-dynamic-import@7.22.11(@babel/core@7.23.3): ··· 3686 3719 '@babel/core': ^7.0.0-0 3687 3720 dependencies: 3688 3721 '@babel/core': 7.23.3 3689 - '@babel/helper-plugin-utils': 7.22.5 3722 + '@babel/helper-plugin-utils': 7.24.0 3690 3723 '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.3) 3691 3724 dev: true 3692 3725 ··· 3709 3742 dependencies: 3710 3743 '@babel/core': 7.23.3 3711 3744 '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.15 3712 - '@babel/helper-plugin-utils': 7.22.5 3745 + '@babel/helper-plugin-utils': 7.24.0 3713 3746 dev: true 3714 3747 3715 3748 /@babel/plugin-transform-export-namespace-from@7.22.11(@babel/core@7.23.3): ··· 3719 3752 '@babel/core': ^7.0.0-0 3720 3753 dependencies: 3721 3754 '@babel/core': 7.23.3 3722 - '@babel/helper-plugin-utils': 7.22.5 3755 + '@babel/helper-plugin-utils': 7.24.0 3723 3756 '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.3) 3724 3757 dev: true 3725 3758 ··· 3751 3784 '@babel/core': ^7.0.0-0 3752 3785 dependencies: 3753 3786 '@babel/core': 7.23.3 3754 - '@babel/helper-plugin-utils': 7.22.5 3787 + '@babel/helper-plugin-utils': 7.24.0 3755 3788 dev: true 3756 3789 3757 3790 /@babel/plugin-transform-function-name@7.18.9(@babel/core@7.23.3): ··· 3775 3808 '@babel/core': 7.23.3 3776 3809 '@babel/helper-compilation-targets': 7.22.15 3777 3810 '@babel/helper-function-name': 7.23.0 3778 - '@babel/helper-plugin-utils': 7.22.5 3811 + '@babel/helper-plugin-utils': 7.24.0 3779 3812 dev: true 3780 3813 3781 3814 /@babel/plugin-transform-json-strings@7.22.11(@babel/core@7.23.3): ··· 3785 3818 '@babel/core': ^7.0.0-0 3786 3819 dependencies: 3787 3820 '@babel/core': 7.23.3 3788 - '@babel/helper-plugin-utils': 7.22.5 3821 + '@babel/helper-plugin-utils': 7.24.0 3789 3822 '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.3) 3790 3823 dev: true 3791 3824 ··· 3806 3839 '@babel/core': ^7.0.0-0 3807 3840 dependencies: 3808 3841 '@babel/core': 7.23.3 3809 - '@babel/helper-plugin-utils': 7.22.5 3842 + '@babel/helper-plugin-utils': 7.24.0 3810 3843 dev: true 3811 3844 3812 3845 /@babel/plugin-transform-logical-assignment-operators@7.22.11(@babel/core@7.23.3): ··· 3816 3849 '@babel/core': ^7.0.0-0 3817 3850 dependencies: 3818 3851 '@babel/core': 7.23.3 3819 - '@babel/helper-plugin-utils': 7.22.5 3852 + '@babel/helper-plugin-utils': 7.24.0 3820 3853 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.3) 3821 3854 dev: true 3822 3855 ··· 3837 3870 '@babel/core': ^7.0.0-0 3838 3871 dependencies: 3839 3872 '@babel/core': 7.23.3 3840 - '@babel/helper-plugin-utils': 7.22.5 3873 + '@babel/helper-plugin-utils': 7.24.0 3841 3874 dev: true 3842 3875 3843 3876 /@babel/plugin-transform-modules-amd@7.18.6(@babel/core@7.23.3): ··· 3860 3893 dependencies: 3861 3894 '@babel/core': 7.23.3 3862 3895 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.3) 3863 - '@babel/helper-plugin-utils': 7.22.5 3896 + '@babel/helper-plugin-utils': 7.24.0 3864 3897 dev: true 3865 3898 3866 3899 /@babel/plugin-transform-modules-commonjs@7.23.0(@babel/core@7.23.3): ··· 3898 3931 '@babel/core': 7.23.3 3899 3932 '@babel/helper-hoist-variables': 7.22.5 3900 3933 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.3) 3901 - '@babel/helper-plugin-utils': 7.22.5 3934 + '@babel/helper-plugin-utils': 7.24.0 3902 3935 '@babel/helper-validator-identifier': 7.22.20 3903 3936 dev: true 3904 3937 ··· 3921 3954 dependencies: 3922 3955 '@babel/core': 7.23.3 3923 3956 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.3) 3924 - '@babel/helper-plugin-utils': 7.22.5 3957 + '@babel/helper-plugin-utils': 7.24.0 3925 3958 dev: true 3926 3959 3927 3960 /@babel/plugin-transform-named-capturing-groups-regex@7.18.6(@babel/core@7.23.3): ··· 3943 3976 dependencies: 3944 3977 '@babel/core': 7.23.3 3945 3978 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.3) 3946 - '@babel/helper-plugin-utils': 7.22.5 3979 + '@babel/helper-plugin-utils': 7.24.0 3947 3980 dev: true 3948 3981 3949 3982 /@babel/plugin-transform-new-target@7.18.6(@babel/core@7.23.3): ··· 3963 3996 '@babel/core': ^7.0.0-0 3964 3997 dependencies: 3965 3998 '@babel/core': 7.23.3 3966 - '@babel/helper-plugin-utils': 7.22.5 3999 + '@babel/helper-plugin-utils': 7.24.0 3967 4000 dev: true 3968 4001 3969 4002 /@babel/plugin-transform-nullish-coalescing-operator@7.22.11(@babel/core@7.23.3): ··· 3973 4006 '@babel/core': ^7.0.0-0 3974 4007 dependencies: 3975 4008 '@babel/core': 7.23.3 3976 - '@babel/helper-plugin-utils': 7.22.5 4009 + '@babel/helper-plugin-utils': 7.24.0 3977 4010 '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.3) 3978 4011 dev: true 3979 4012 ··· 3984 4017 '@babel/core': ^7.0.0-0 3985 4018 dependencies: 3986 4019 '@babel/core': 7.23.3 3987 - '@babel/helper-plugin-utils': 7.22.5 4020 + '@babel/helper-plugin-utils': 7.24.0 3988 4021 '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.3) 3989 4022 dev: true 3990 4023 ··· 3997 4030 '@babel/compat-data': 7.23.2 3998 4031 '@babel/core': 7.23.3 3999 4032 '@babel/helper-compilation-targets': 7.22.15 4000 - '@babel/helper-plugin-utils': 7.22.5 4033 + '@babel/helper-plugin-utils': 7.24.0 4001 4034 '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.3) 4002 4035 '@babel/plugin-transform-parameters': 7.22.15(@babel/core@7.23.3) 4003 4036 dev: true ··· 4020 4053 '@babel/core': ^7.0.0-0 4021 4054 dependencies: 4022 4055 '@babel/core': 7.23.3 4023 - '@babel/helper-plugin-utils': 7.22.5 4056 + '@babel/helper-plugin-utils': 7.24.0 4024 4057 '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.3) 4025 4058 dev: true 4026 4059 ··· 4031 4064 '@babel/core': ^7.0.0-0 4032 4065 dependencies: 4033 4066 '@babel/core': 7.23.3 4034 - '@babel/helper-plugin-utils': 7.22.5 4067 + '@babel/helper-plugin-utils': 7.24.0 4035 4068 '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.3) 4036 4069 dev: true 4037 4070 ··· 4042 4075 '@babel/core': ^7.0.0-0 4043 4076 dependencies: 4044 4077 '@babel/core': 7.23.3 4045 - '@babel/helper-plugin-utils': 7.22.5 4078 + '@babel/helper-plugin-utils': 7.24.0 4046 4079 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 4047 4080 '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.3) 4048 4081 dev: true ··· 4074 4107 '@babel/core': ^7.0.0-0 4075 4108 dependencies: 4076 4109 '@babel/core': 7.23.3 4077 - '@babel/helper-plugin-utils': 7.22.5 4110 + '@babel/helper-plugin-utils': 7.24.0 4078 4111 dev: true 4079 4112 4080 4113 /@babel/plugin-transform-private-methods@7.22.5(@babel/core@7.23.3): ··· 4085 4118 dependencies: 4086 4119 '@babel/core': 7.23.3 4087 4120 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.3) 4088 - '@babel/helper-plugin-utils': 7.22.5 4121 + '@babel/helper-plugin-utils': 7.24.0 4089 4122 dev: true 4090 4123 4091 4124 /@babel/plugin-transform-private-property-in-object@7.22.11(@babel/core@7.23.3): ··· 4097 4130 '@babel/core': 7.23.3 4098 4131 '@babel/helper-annotate-as-pure': 7.22.5 4099 4132 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.3) 4100 - '@babel/helper-plugin-utils': 7.22.5 4133 + '@babel/helper-plugin-utils': 7.24.0 4101 4134 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.3) 4102 4135 dev: true 4103 4136 ··· 4118 4151 '@babel/core': ^7.0.0-0 4119 4152 dependencies: 4120 4153 '@babel/core': 7.23.3 4121 - '@babel/helper-plugin-utils': 7.22.5 4154 + '@babel/helper-plugin-utils': 7.24.0 4122 4155 dev: true 4123 4156 4124 4157 /@babel/plugin-transform-react-display-name@7.18.6(@babel/core@7.23.3): ··· 4248 4281 '@babel/core': ^7.0.0-0 4249 4282 dependencies: 4250 4283 '@babel/core': 7.23.3 4251 - '@babel/helper-plugin-utils': 7.22.5 4284 + '@babel/helper-plugin-utils': 7.24.0 4252 4285 regenerator-transform: 0.15.2 4253 4286 dev: true 4254 4287 ··· 4269 4302 '@babel/core': ^7.0.0-0 4270 4303 dependencies: 4271 4304 '@babel/core': 7.23.3 4272 - '@babel/helper-plugin-utils': 7.22.5 4305 + '@babel/helper-plugin-utils': 7.24.0 4273 4306 dev: true 4274 4307 4275 4308 /@babel/plugin-transform-shorthand-properties@7.18.6(@babel/core@7.23.3): ··· 4289 4322 '@babel/core': ^7.0.0-0 4290 4323 dependencies: 4291 4324 '@babel/core': 7.23.3 4292 - '@babel/helper-plugin-utils': 7.22.5 4325 + '@babel/helper-plugin-utils': 7.24.0 4293 4326 dev: true 4294 4327 4295 4328 /@babel/plugin-transform-spread@7.18.9(@babel/core@7.23.3): ··· 4310 4343 '@babel/core': ^7.0.0-0 4311 4344 dependencies: 4312 4345 '@babel/core': 7.23.3 4313 - '@babel/helper-plugin-utils': 7.22.5 4346 + '@babel/helper-plugin-utils': 7.24.0 4314 4347 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 4315 4348 dev: true 4316 4349 ··· 4331 4364 '@babel/core': ^7.0.0-0 4332 4365 dependencies: 4333 4366 '@babel/core': 7.23.3 4334 - '@babel/helper-plugin-utils': 7.22.5 4367 + '@babel/helper-plugin-utils': 7.24.0 4335 4368 dev: true 4336 4369 4337 4370 /@babel/plugin-transform-template-literals@7.18.9(@babel/core@7.23.3): ··· 4351 4384 '@babel/core': ^7.0.0-0 4352 4385 dependencies: 4353 4386 '@babel/core': 7.23.3 4354 - '@babel/helper-plugin-utils': 7.22.5 4387 + '@babel/helper-plugin-utils': 7.24.0 4355 4388 dev: true 4356 4389 4357 4390 /@babel/plugin-transform-typeof-symbol@7.18.9(@babel/core@7.23.3): ··· 4371 4404 '@babel/core': ^7.0.0-0 4372 4405 dependencies: 4373 4406 '@babel/core': 7.23.3 4374 - '@babel/helper-plugin-utils': 7.22.5 4407 + '@babel/helper-plugin-utils': 7.24.0 4375 4408 dev: true 4376 4409 4377 4410 /@babel/plugin-transform-typescript@7.22.15(@babel/core@7.23.3): ··· 4417 4450 '@babel/core': ^7.0.0-0 4418 4451 dependencies: 4419 4452 '@babel/core': 7.23.3 4420 - '@babel/helper-plugin-utils': 7.22.5 4453 + '@babel/helper-plugin-utils': 7.24.0 4421 4454 dev: true 4422 4455 4423 4456 /@babel/plugin-transform-unicode-property-regex@7.22.5(@babel/core@7.23.3): ··· 4428 4461 dependencies: 4429 4462 '@babel/core': 7.23.3 4430 4463 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.3) 4431 - '@babel/helper-plugin-utils': 7.22.5 4464 + '@babel/helper-plugin-utils': 7.24.0 4432 4465 dev: true 4433 4466 4434 4467 /@babel/plugin-transform-unicode-regex@7.18.6(@babel/core@7.23.3): ··· 4450 4483 dependencies: 4451 4484 '@babel/core': 7.23.3 4452 4485 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.3) 4453 - '@babel/helper-plugin-utils': 7.22.5 4486 + '@babel/helper-plugin-utils': 7.24.0 4454 4487 dev: true 4455 4488 4456 4489 /@babel/plugin-transform-unicode-sets-regex@7.22.5(@babel/core@7.23.3): ··· 4461 4494 dependencies: 4462 4495 '@babel/core': 7.23.3 4463 4496 '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.3) 4464 - '@babel/helper-plugin-utils': 7.22.5 4497 + '@babel/helper-plugin-utils': 7.24.0 4465 4498 dev: true 4466 4499 4467 4500 /@babel/preset-env@7.18.10(@babel/core@7.23.3): ··· 4559 4592 '@babel/compat-data': 7.23.2 4560 4593 '@babel/core': 7.23.3 4561 4594 '@babel/helper-compilation-targets': 7.22.15 4562 - '@babel/helper-plugin-utils': 7.22.5 4595 + '@babel/helper-plugin-utils': 7.24.0 4563 4596 '@babel/helper-validator-option': 7.22.15 4564 4597 '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.22.15(@babel/core@7.23.3) 4565 4598 '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.22.15(@babel/core@7.23.3) ··· 4631 4664 '@babel/plugin-transform-unicode-regex': 7.22.5(@babel/core@7.23.3) 4632 4665 '@babel/plugin-transform-unicode-sets-regex': 7.22.5(@babel/core@7.23.3) 4633 4666 '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.3) 4634 - '@babel/types': 7.23.6 4635 - babel-plugin-polyfill-corejs2: 0.4.6(@babel/core@7.23.3) 4667 + '@babel/types': 7.24.0 4668 + babel-plugin-polyfill-corejs2: 0.4.10(@babel/core@7.23.3) 4636 4669 babel-plugin-polyfill-corejs3: 0.8.5(@babel/core@7.23.3) 4637 4670 babel-plugin-polyfill-regenerator: 0.5.3(@babel/core@7.23.3) 4638 - core-js-compat: 3.35.1 4671 + core-js-compat: 3.36.1 4639 4672 semver: 6.3.1 4640 4673 transitivePeerDependencies: 4641 4674 - supports-color ··· 4672 4705 '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 4673 4706 dependencies: 4674 4707 '@babel/core': 7.23.3 4675 - '@babel/helper-plugin-utils': 7.22.5 4676 - '@babel/types': 7.23.6 4708 + '@babel/helper-plugin-utils': 7.24.0 4709 + '@babel/types': 7.24.0 4677 4710 esutils: 2.0.3 4678 4711 dev: true 4679 4712 ··· 4797 4830 '@babel/helper-string-parser': 7.23.4 4798 4831 '@babel/helper-validator-identifier': 7.22.20 4799 4832 to-fast-properties: 2.0.0 4833 + 4834 + /@babel/types@7.24.0: 4835 + resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} 4836 + engines: {node: '>=6.9.0'} 4837 + dependencies: 4838 + '@babel/helper-string-parser': 7.23.4 4839 + '@babel/helper-validator-identifier': 7.22.20 4840 + to-fast-properties: 2.0.0 4841 + dev: true 4800 4842 4801 4843 /@base2/pretty-print-object@1.0.1: 4802 4844 resolution: {integrity: sha512-4iri8i1AqYHJE2DstZYkyEprg6Pq6sKx3xn5FpySk9sNhH7qN2LLlHJCfDTZRILNwQNPD7mATWM0TBui7uC1pA==} ··· 5813 5855 engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} 5814 5856 dependencies: 5815 5857 '@jest/types': 27.5.1 5816 - '@types/node': 20.11.27 5858 + '@types/node': 20.11.30 5817 5859 chalk: 4.1.2 5818 5860 jest-message-util: 27.5.1 5819 5861 jest-util: 27.5.1 ··· 5834 5876 '@jest/test-result': 27.5.1 5835 5877 '@jest/transform': 27.5.1 5836 5878 '@jest/types': 27.5.1 5837 - '@types/node': 20.11.27 5879 + '@types/node': 20.11.30 5838 5880 ansi-escapes: 4.3.2 5839 5881 chalk: 4.1.2 5840 5882 emittery: 0.8.1 ··· 5871 5913 dependencies: 5872 5914 '@jest/fake-timers': 27.5.1 5873 5915 '@jest/types': 27.5.1 5874 - '@types/node': 20.11.27 5916 + '@types/node': 20.11.30 5875 5917 jest-mock: 27.5.1 5876 5918 dev: true 5877 5919 ··· 5888 5930 dependencies: 5889 5931 '@jest/types': 27.5.1 5890 5932 '@sinonjs/fake-timers': 8.1.0 5891 - '@types/node': 20.11.27 5933 + '@types/node': 20.11.30 5892 5934 jest-message-util: 27.5.1 5893 5935 jest-mock: 27.5.1 5894 5936 jest-util: 27.5.1 ··· 5917 5959 '@jest/test-result': 27.5.1 5918 5960 '@jest/transform': 27.5.1 5919 5961 '@jest/types': 27.5.1 5920 - '@types/node': 20.11.27 5962 + '@types/node': 20.11.30 5921 5963 chalk: 4.1.2 5922 5964 collect-v8-coverage: 1.0.2 5923 5965 exit: 0.1.2 ··· 6048 6090 dependencies: 6049 6091 '@types/istanbul-lib-coverage': 2.0.6 6050 6092 '@types/istanbul-reports': 3.0.4 6051 - '@types/node': 20.11.27 6093 + '@types/node': 20.11.30 6052 6094 '@types/yargs': 16.0.7 6053 6095 chalk: 4.1.2 6054 6096 dev: true ··· 7084 7126 optional: true 7085 7127 dependencies: 7086 7128 '@babel/core': 7.23.3 7087 - '@babel/helper-module-imports': 7.22.15 7129 + '@babel/helper-module-imports': 7.24.3 7088 7130 '@rollup/pluginutils': 3.1.0(rollup@4.9.6) 7089 7131 rollup: 4.9.6 7090 7132 dev: true ··· 9394 9436 resolution: {integrity: sha512-N7UDG0/xiPQa2D/XrVJXjkWbpqHCd2sBaB32ggRF2l83RhPfamgKGF8gwwqyksS95qUS5ZYF9aF+lLPRlwI2UA==} 9395 9437 dependencies: 9396 9438 '@types/connect': 3.4.37 9397 - '@types/node': 20.11.27 9439 + '@types/node': 20.11.30 9398 9440 dev: true 9399 9441 9400 9442 /@types/braces@3.0.1: ··· 9415 9457 /@types/connect@3.4.37: 9416 9458 resolution: {integrity: sha512-zBUSRqkfZ59OcwXon4HVxhx5oWCJmc0OtBTK05M+p0dYjgN6iTwIL2T/WbsQZrEsdnwaF9cWQ+azOnpPvIqY3Q==} 9417 9459 dependencies: 9418 - '@types/node': 20.11.27 9460 + '@types/node': 20.11.30 9419 9461 dev: true 9420 9462 9421 9463 /@types/cookie@0.4.1: ··· 9482 9524 /@types/express-serve-static-core@4.17.39: 9483 9525 resolution: {integrity: sha512-BiEUfAiGCOllomsRAZOiMFP7LAnrifHpt56pc4Z7l9K6ACyN06Ns1JLMBxwkfLOjJRlSf06NwWsT7yzfpaVpyQ==} 9484 9526 dependencies: 9485 - '@types/node': 20.11.27 9527 + '@types/node': 20.11.30 9486 9528 '@types/qs': 6.9.9 9487 9529 '@types/range-parser': 1.2.6 9488 9530 '@types/send': 0.17.3 ··· 9543 9585 /@types/graceful-fs@4.1.8: 9544 9586 resolution: {integrity: sha512-NhRH7YzWq8WiNKVavKPBmtLYZHxNY19Hh+az28O/phfp68CF45pMFud+ZzJ8ewnxnC5smIdF3dqFeiSUQ5I+pw==} 9545 9587 dependencies: 9546 - '@types/node': 20.11.27 9588 + '@types/node': 20.11.30 9547 9589 dev: true 9548 9590 9549 9591 /@types/hast@2.3.4: ··· 9703 9745 /@types/node-fetch@2.6.7: 9704 9746 resolution: {integrity: sha512-lX17GZVpJ/fuCjguZ5b3TjEbSENxmEk1B2z02yoXSK9WMEWRivhdSY73wWMn6bpcCDAOh6qAdktpKHIlkDk2lg==} 9705 9747 dependencies: 9706 - '@types/node': 20.11.27 9748 + '@types/node': 20.11.30 9707 9749 form-data: 4.0.0 9708 9750 dev: true 9709 9751 ··· 9730 9772 undici-types: 5.26.5 9731 9773 dev: true 9732 9774 9733 - /@types/node@20.11.27: 9734 - resolution: {integrity: sha512-qyUZfMnCg1KEz57r7pzFtSGt49f6RPkPBis3Vo4PbS7roQEDn22hiHzl/Lo1q4i4hDEgBJmBF/NTNg2XR0HbFg==} 9775 + /@types/node@20.11.30: 9776 + resolution: {integrity: sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==} 9735 9777 dependencies: 9736 9778 undici-types: 5.26.5 9737 9779 dev: true ··· 9895 9937 /@types/resolve@1.17.1: 9896 9938 resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} 9897 9939 dependencies: 9898 - '@types/node': 20.11.27 9940 + '@types/node': 20.11.30 9899 9941 dev: true 9900 9942 9901 9943 /@types/resolve@1.20.2: ··· 9913 9955 resolution: {integrity: sha512-/7fKxvKUoETxjFUsuFlPB9YndePpxxRAOfGC/yJdc9kTjTeP5kRCTzfnE8kPUKCeyiyIZu0YQ76s50hCedI1ug==} 9914 9956 dependencies: 9915 9957 '@types/mime': 1.3.4 9916 - '@types/node': 20.11.27 9958 + '@types/node': 20.11.30 9917 9959 dev: true 9918 9960 9919 9961 /@types/serve-static@1.15.4: ··· 9921 9963 dependencies: 9922 9964 '@types/http-errors': 2.0.3 9923 9965 '@types/mime': 3.0.3 9924 - '@types/node': 20.11.27 9966 + '@types/node': 20.11.30 9925 9967 dev: true 9926 9968 9927 9969 /@types/set-cookie-parser@2.4.2: ··· 12315 12357 engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} 12316 12358 dependencies: 12317 12359 '@babel/template': 7.22.15 12318 - '@babel/types': 7.23.6 12360 + '@babel/types': 7.24.0 12319 12361 '@types/babel__core': 7.20.5 12320 12362 '@types/babel__traverse': 7.20.3 12321 12363 dev: true ··· 12354 12396 - supports-color 12355 12397 dev: true 12356 12398 12357 - /babel-plugin-polyfill-corejs2@0.4.6(@babel/core@7.23.3): 12358 - resolution: {integrity: sha512-jhHiWVZIlnPbEUKSSNb9YoWcQGdlTLq7z1GHL4AjFxaoOUMuuEVJ+Y4pAaQUGOGk93YsVCKPbqbfw3m0SM6H8Q==} 12399 + /babel-plugin-polyfill-corejs2@0.4.10(@babel/core@7.23.3): 12400 + resolution: {integrity: sha512-rpIuu//y5OX6jVU+a5BCn1R5RSZYWAl2Nar76iwaOdycqb6JPxediskWFMMl7stfwNJR4b7eiQvh5fB5TEQJTQ==} 12359 12401 peerDependencies: 12360 12402 '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 12361 12403 dependencies: 12362 12404 '@babel/compat-data': 7.23.2 12363 12405 '@babel/core': 7.23.3 12364 - '@babel/helper-define-polyfill-provider': 0.4.3(@babel/core@7.23.3) 12406 + '@babel/helper-define-polyfill-provider': 0.6.1(@babel/core@7.23.3) 12365 12407 semver: 6.3.1 12366 12408 transitivePeerDependencies: 12367 12409 - supports-color ··· 12398 12440 dependencies: 12399 12441 '@babel/core': 7.23.3 12400 12442 '@babel/helper-define-polyfill-provider': 0.4.3(@babel/core@7.23.3) 12401 - core-js-compat: 3.35.1 12443 + core-js-compat: 3.36.1 12402 12444 transitivePeerDependencies: 12403 12445 - supports-color 12404 12446 dev: true ··· 12789 12831 update-browserslist-db: 1.0.13(browserslist@4.22.3) 12790 12832 dev: true 12791 12833 12834 + /browserslist@4.23.0: 12835 + resolution: {integrity: sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==} 12836 + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} 12837 + hasBin: true 12838 + dependencies: 12839 + caniuse-lite: 1.0.30001600 12840 + electron-to-chromium: 1.4.715 12841 + node-releases: 2.0.14 12842 + update-browserslist-db: 1.0.13(browserslist@4.23.0) 12843 + dev: true 12844 + 12792 12845 /bser@2.1.1: 12793 12846 resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} 12794 12847 dependencies: ··· 13079 13132 resolution: {integrity: sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==} 13080 13133 dev: true 13081 13134 13135 + /caniuse-lite@1.0.30001600: 13136 + resolution: {integrity: sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ==} 13137 + dev: true 13138 + 13082 13139 /capture-exit@2.0.0: 13083 13140 resolution: {integrity: sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==} 13084 13141 engines: {node: 6.* || 8.* || >= 10.*} ··· 13255 13312 optionalDependencies: 13256 13313 fsevents: 2.3.3 13257 13314 dev: true 13315 + 13316 + /chokidar@3.6.0: 13317 + resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} 13318 + engines: {node: '>= 8.10.0'} 13319 + requiresBuild: true 13320 + dependencies: 13321 + anymatch: 3.1.3 13322 + braces: 3.0.2 13323 + glob-parent: 5.1.2 13324 + is-binary-path: 2.1.0 13325 + is-glob: 4.0.3 13326 + normalize-path: 3.0.0 13327 + readdirp: 3.6.0 13328 + optionalDependencies: 13329 + fsevents: 2.3.3 13330 + dev: true 13331 + optional: true 13258 13332 13259 13333 /chownr@1.1.4: 13260 13334 resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} ··· 13750 13824 resolution: {integrity: sha512-sftHa5qUJY3rs9Zht1WEnmkvXputCyDBczPnr7QDgL8n3qrF3CMXY4VPSYtOLLiOUJcah2WNXREd48iOl6mQIw==} 13751 13825 dependencies: 13752 13826 browserslist: 4.22.3 13827 + dev: true 13828 + 13829 + /core-js-compat@3.36.1: 13830 + resolution: {integrity: sha512-Dk997v9ZCt3X/npqzyGdTlq6t7lDBhZwGvV94PKzDArjp7BTRm7WlDAXYd/OWdeFHO8OChQYRJNJvUCqCbrtKA==} 13831 + dependencies: 13832 + browserslist: 4.23.0 13753 13833 dev: true 13754 13834 13755 13835 /core-js-pure@3.25.0: ··· 14893 14973 14894 14974 /electron-to-chromium@1.4.661: 14895 14975 resolution: {integrity: sha512-AFg4wDHSOk5F+zA8aR+SVIOabu7m0e7BiJnigCvPXzIGy731XENw/lmNxTySpVFtkFEy+eyt4oHhh5FF3NjQNw==} 14976 + dev: true 14977 + 14978 + /electron-to-chromium@1.4.715: 14979 + resolution: {integrity: sha512-XzWNH4ZSa9BwVUQSDorPWAUQ5WGuYz7zJUNpNif40zFCiCl20t8zgylmreNmn26h5kiyw2lg7RfTmeMBsDklqg==} 14896 14980 dev: true 14897 14981 14898 14982 /elliptic@6.5.4: ··· 18941 19025 '@jest/environment': 27.5.1 18942 19026 '@jest/test-result': 27.5.1 18943 19027 '@jest/types': 27.5.1 18944 - '@types/node': 20.11.27 19028 + '@types/node': 20.11.30 18945 19029 chalk: 4.1.2 18946 19030 co: 4.6.0 18947 19031 dedent: 0.7.0 ··· 19076 19160 '@jest/environment': 27.5.1 19077 19161 '@jest/fake-timers': 27.5.1 19078 19162 '@jest/types': 27.5.1 19079 - '@types/node': 20.11.27 19163 + '@types/node': 20.11.30 19080 19164 jest-mock: 27.5.1 19081 19165 jest-util: 27.5.1 19082 19166 jsdom: 16.7.0 ··· 19094 19178 '@jest/environment': 27.5.1 19095 19179 '@jest/fake-timers': 27.5.1 19096 19180 '@jest/types': 27.5.1 19097 - '@types/node': 20.11.27 19181 + '@types/node': 20.11.30 19098 19182 jest-mock: 27.5.1 19099 19183 jest-util: 27.5.1 19100 19184 dev: true ··· 19138 19222 dependencies: 19139 19223 '@jest/types': 27.5.1 19140 19224 '@types/graceful-fs': 4.1.8 19141 - '@types/node': 20.11.27 19225 + '@types/node': 20.11.30 19142 19226 anymatch: 3.1.3 19143 19227 fb-watchman: 2.0.2 19144 19228 graceful-fs: 4.2.11 ··· 19178 19262 '@jest/source-map': 27.5.1 19179 19263 '@jest/test-result': 27.5.1 19180 19264 '@jest/types': 27.5.1 19181 - '@types/node': 20.11.27 19265 + '@types/node': 20.11.30 19182 19266 chalk: 4.1.2 19183 19267 co: 4.6.0 19184 19268 expect: 27.5.1 ··· 19258 19342 engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} 19259 19343 dependencies: 19260 19344 '@jest/types': 27.5.1 19261 - '@types/node': 20.11.27 19345 + '@types/node': 20.11.30 19262 19346 dev: true 19263 19347 19264 19348 /jest-pnp-resolver@1.2.3(jest-resolve@27.5.1): ··· 19319 19403 '@jest/test-result': 27.5.1 19320 19404 '@jest/transform': 27.5.1 19321 19405 '@jest/types': 27.5.1 19322 - '@types/node': 20.11.27 19406 + '@types/node': 20.11.30 19323 19407 chalk: 4.1.2 19324 19408 emittery: 0.8.1 19325 19409 graceful-fs: 4.2.11 ··· 19384 19468 resolution: {integrity: sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==} 19385 19469 engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} 19386 19470 dependencies: 19387 - '@types/node': 20.11.27 19471 + '@types/node': 20.11.30 19388 19472 graceful-fs: 4.2.11 19389 19473 dev: true 19390 19474 ··· 19396 19480 '@babel/generator': 7.23.3 19397 19481 '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.3) 19398 19482 '@babel/traverse': 7.23.3 19399 - '@babel/types': 7.23.6 19483 + '@babel/types': 7.24.0 19400 19484 '@jest/transform': 27.5.1 19401 19485 '@jest/types': 27.5.1 19402 19486 '@types/babel__traverse': 7.20.3 ··· 19435 19519 engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} 19436 19520 dependencies: 19437 19521 '@jest/types': 27.5.1 19438 - '@types/node': 20.11.27 19522 + '@types/node': 20.11.30 19439 19523 chalk: 4.1.2 19440 19524 ci-info: 3.9.0 19441 19525 graceful-fs: 4.2.11 ··· 19472 19556 dependencies: 19473 19557 '@jest/test-result': 27.5.1 19474 19558 '@jest/types': 27.5.1 19475 - '@types/node': 20.11.27 19559 + '@types/node': 20.11.30 19476 19560 ansi-escapes: 4.3.2 19477 19561 chalk: 4.1.2 19478 19562 jest-util: 27.5.1 ··· 26294 26378 picocolors: 1.0.0 26295 26379 dev: true 26296 26380 26381 + /update-browserslist-db@1.0.13(browserslist@4.23.0): 26382 + resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} 26383 + hasBin: true 26384 + peerDependencies: 26385 + browserslist: '>= 4.21.0' 26386 + dependencies: 26387 + browserslist: 4.23.0 26388 + escalade: 3.1.1 26389 + picocolors: 1.0.0 26390 + dev: true 26391 + 26297 26392 /uri-js@4.4.1: 26298 26393 resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} 26299 26394 dependencies: ··· 26947 27042 graceful-fs: 4.2.11 26948 27043 neo-async: 2.6.2 26949 27044 optionalDependencies: 26950 - chokidar: 3.5.3 27045 + chokidar: 3.6.0 26951 27046 watchpack-chokidar2: 2.0.1 26952 27047 transitivePeerDependencies: 26953 27048 - supports-color ··· 27305 27400 '@webassemblyjs/wasm-parser': 1.11.6 27306 27401 acorn: 8.11.3 27307 27402 acorn-import-assertions: 1.9.0(acorn@8.11.3) 27308 - browserslist: 4.22.3 27403 + browserslist: 4.23.0 27309 27404 chrome-trace-event: 1.0.3 27310 27405 enhanced-resolve: 5.15.0 27311 27406 es-module-lexer: 1.3.1 ··· 27595 27690 27596 27691 /workbox-google-analytics@7.0.0: 27597 27692 resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==} 27598 - deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained 27599 27693 dependencies: 27600 27694 workbox-background-sync: 7.0.0 27601 27695 workbox-core: 7.0.0 ··· 27990 28084 file:test/optimize-deps/dep-url: 27991 28085 resolution: {directory: test/optimize-deps/dep-url, type: directory} 27992 28086 name: '@vitest/test-deps-url' 28087 + dev: true 28088 + 28089 + file:test/vite-node/deps/dep1: 28090 + resolution: {directory: test/vite-node/deps/dep1, type: directory} 28091 + name: '@vitest/test-dep1' 28092 + dev: true 28093 + 28094 + file:test/vite-node/deps/dep2(@vitest/test-dep1@undefined): 28095 + resolution: {directory: test/vite-node/deps/dep2, type: directory} 28096 + id: file:test/vite-node/deps/dep2 28097 + name: '@vitest/test-dep2' 28098 + peerDependencies: 28099 + '@vitest/test-dep1': '*' 28100 + dependencies: 28101 + '@vitest/test-dep1': file:test/vite-node/deps/dep1 27993 28102 dev: true
+2
test/vite-node/package.json
··· 11 11 }, 12 12 "devDependencies": { 13 13 "@types/inquirer": "^9.0.3", 14 + "@vitest/test-dep1": "file:./deps/dep1", 15 + "@vitest/test-dep2": "file:./deps/dep2", 14 16 "execa": "^6.1.0", 15 17 "inquirer": "^9.2.7", 16 18 "vite-node": "workspace:*",
+3 -3
packages/vite-node/src/externalize.ts
··· 61 61 if (extension !== '.js') 62 62 return false 63 63 64 - if (/\.(\w+-)?esm?(-\w+)?\.js$|\/(esm?)\//.test(id)) 65 - return false 66 - 67 64 id = id.replace('file:///', '') 68 65 69 66 const package_ = await findNearestPackageData(dirname(id)) 70 67 71 68 if (package_.type === 'module') 72 69 return true 70 + 71 + if (/\.(\w+-)?esm?(-\w+)?\.js$|\/(esm?)\//.test(id)) 72 + return false 73 73 74 74 const code = await fsp.readFile(id, 'utf8').catch(() => '') 75 75
+12
test/vite-node/test/external.test.ts
··· 1 + import { expect, test } from 'vitest' 2 + 3 + // @ts-expect-error no ts 4 + import * as dep1 from '@vitest/test-dep1' 5 + 6 + // @ts-expect-error no ts 7 + import * as dep2 from '@vitest/test-dep2' 8 + 9 + test('no dual package hazard by externalizing esm deps by default', async () => { 10 + dep1.data.hello = 'world' 11 + expect(dep2.data.hello).toBe('world') 12 + })
+5
test/vite-node/deps/dep1/package.json
··· 1 + { 2 + "name": "@vitest/test-dep1", 3 + "type": "module", 4 + "exports": "./esm/index.js" 5 + }
+1
test/vite-node/deps/dep2/index.js
··· 1 + export { data } from '@vitest/test-dep1'
+8
test/vite-node/deps/dep2/package.json
··· 1 + { 2 + "name": "@vitest/test-dep2", 3 + "type": "module", 4 + "exports": "./index.js", 5 + "peerDependencies": { 6 + "@vitest/test-dep1": "*" 7 + } 8 + }
+4
test/vite-node/deps/dep1/esm/index.js
··· 1 + // esm/index.js was detected as isValidNodeImport(id) = false 2 + // event if package.json has type = module, 3 + // which causes dual package hazard when other external esm import esm/index.js. 4 + export const data = {}