
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@frontity/wp-source
Advanced tools
A Frontity source package for the REST API of self-hosted and WordPress.com sites
@frontity/wp-sourceSource package of Frontity for self-hosted WordPress and WordPress.com sites. It provides methods and structures tha can be used to access the data got from the REST API from your React components.
Full info about this package can be found in the docs
npm i @frontity/wp-source
Once installed it should be included and configured in your frontity.settings.js
export default {
packages: [
"@frontity/mars-theme",
"@frontity/tiny-router",
{
name: "@frontity/wp-source",
state: {
source: {
api: "https://site.com/wp-json",
},
},
},
],
};
Some interesting methods defined in this package (and available in your React components if you apply connect on them) are:
Full info about this package can be found in the docs
Feature Discussions about Frontity are public. You can join the discussions, vote for those you're interested in or create new ones.
These are the ones related to this package: https://community.frontity.org/tags/c/feature-discussions/33/wp-source
Have a look at the latest updates of this package in the CHANGELOG
Frontity has a number of different channels at your disposal where you can find out more information about the project, join in discussions about it, and also get involved:
@frontity.Got questions or feedback about Frontity? We'd love to hear from you in our community forum.
Frontity also welcomes contributions. There are many ways to support the project! If you don't know where to start then this guide might help: How to contribute?.
If you would like to start contributing to the code please open a pull request to address one of our good first issues.
FAQs
A Frontity source package for the REST API of self-hosted and WordPress.com sites
We found that @frontity/wp-source demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.