
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@ionic/jpml
Advanced tools
We have a use case (Ionicons) where the browser needs to request svg content which can be loaded cross-origin, or from the file:// protocol. This project will take a directory(s) of files and wrap file contents in a JSONP callback. This allows the JSONP handler to receive the text cross-origin.
import * as jpml from '@ionic/jpml`;
// generate jsonp callback files from a list of directories
jpml.generate({
// array of all the paths to include
include: ['some/input/path/'],
// where all the output files will be saved
outDir: 'some/output/path',
// filter function to test which files to generate from
filter: function(path) {
// returns true if the path ends with ".svg"
return path.split('.').pop() === 'svg';
},
// function to generate each file's content
wrapper: function(content, key) {
return 'loadContent("' + content + '", "' + key + '");'
}
});
FAQs
Wrap any file content within jsonp callback
The npm package @ionic/jpml receives a total of 21 weekly downloads. As such, @ionic/jpml popularity was classified as not popular.
We found that @ionic/jpml demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.