Are there any Hindu sacred texts from modern times, such as during the Mughal Empire all the way to the modern era? I feel some of the more recent scriptures don't get the love they deserve, mostly because secular interpreters are always come up with political reasonings for them, even if the accusations make no sense. I would love to know what they say about the other major religions in the world. Preferably texts in Sanskrit as they link more naturally to the older scriptures.
Some Sanskrit works from Malabar fit these periods.
Nārāyaṇīyaṁ, a summary of the Bhāgavata Purāṇa attributed to Mēlpatūr Nārāyaṇa Bhattatirippād. Composed ca. 16th century.
Tantrasamuccayaṁ, a guide on temple-building, nitya pūjas, and other knowledge on tantra. Composed by Cēnnās Nārāyaṇan Nambūdirippad in the 15th century. The author's descendants are the chief tantrīs of the Guruvāyur Śrī Krishnā Temple.
There are many other Malayalam works that are considered authoritative by Malayalis.
Adhyātma Rāmāyaṇaṁ Kil̥ippāttu, Harināmakīrtanaṁ, and Dēvīmāhātmyaṁ by Tuncat Rāmānujan Ezhutaccan.
Krishṇagātha by Ceruśēry Nambūdiri.
Jnānappāna and Santānagōpālampāna by Pūntānaṁ Nambūdiri.
Most of Swami Desikan's works (14th century) - written in Sanskrit, Tamil and ManiPravala fit this period.
One of his works - Abheetistavam, prayer to Ranganatha for Abhayam, is a response to Mughal invasion of Sri Rangam.