In this paper, based on the recently introduced concept of time-varying media, an alternative approach is presented for controlling the compression ratio of an optical pulse in the near-infrared regime via two all-dielectric transmissive metasurfaces consisting of a zigzag array of silicon-based elliptical nanodisks. Upon introducing in-plane asymmetries and under normal incidence, the supported symmetry-protected bound-state in the continuum resonant mode collapses into two Fano resonances, which can be spectrally overlapped to satisfy the first Kerker's condition. To acquire an amplified signal, the desired chirp is applied to the incident pulse via a purely temporal waveform that modulates the optical response of the first layer, while the required group delay dispersion is imparted to the phase-modulated pulse by the second metasurface in order to compress its temporal distribution. Following such a configuration, the temporal duration of the output pulse decreases from 25 to 15 ps, leading to a peak intensity enhancement of 50%. On account of time-varying features of the first metasurface, the instantaneous frequency of the chirped light can be controlled dynamically, giving rise to the active tuning of the peak intensity from 0% up to 200%.