Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
@arc-core-components/content-source_author-api-v4
Advanced tools
Content source rendering a single author from the Author API
Readme
This the Arc Core Component representing a content source that hooks into the Author API portion of the Arc Suite.
The most important part is the pattern, which defines the endpoint that PageBuilder Fusion uses to look up content.
This Core Component takes advantage of PageBuilder Fusion's ability to use CONTENT_BASE to define the credentials for an Author API, ensuring that no private secrets are exposed.
This content source should be used with the content-schema_author-v4 core component.
/author/v1/?slug=${slug}
This content source takes one parameter: a slug, typically the author's first and last name attached by a dash. Example: ben-bradlee
.
This Core Component must be used within a Fusion project.
npm install @arc-core-components/content-source_author-api-v4
/content/sources
folder. For this content source, the suggested name is author-api-v4.js
author-api-v4.js
: import source from '@arc-core-components/content-source_author-api-v4'
export default source
This will return a JSON object representing a single author from the Author API. It can be used to provide global content to an Author page, useful for rendering features that display information about the author.
FAQs
Content source rendering a single author from the Author API
The npm package @arc-core-components/content-source_author-api-v4 receives a total of 56 weekly downloads. As such, @arc-core-components/content-source_author-api-v4 popularity was classified as not popular.
We found that @arc-core-components/content-source_author-api-v4 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.