
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
gatsby-source-eventbrite-full
Advanced tools
Gatsby plugin to load Eventbrite Events with full HTML description
Clone of https://github.com/kwelch/gatsby-plugin-source-eventbrite with full HTML description.
A Gatsby plugin to asynchronously load events from the Eventbrite List Events By Organization.
Note: this will only load 50 events, this is to avoid thrashing the servers and eagerly loading.
With npm:
npm install --save gatsby-source-eventbrite-full
Or with Yarn:
yarn add gatsby-source-eventbrite-full
In your gatsby-config.js
file, load in the plugin along with the parameters of which events to load:
module.exports = {
plugins: [
{
resolve: 'gatsby-source-eventbrite-full',
options: {
// You will need to generate an Eventbrite Access token
// https://www.eventbrite.com/myaccount/apps/
token: 'ASDF1234',
// organization to load events for
organizationsId: '0987LKJH',
// This option will pass query param directly to the event search API
// https://www.eventbrite.com/platform/api#/reference/event-search/list/search-events
query: {
expand: ['venue'],
},
},
},
],
};
Since gatsby plugins are used to create static content, it will not load new events until the next deployment.
As a workaround you can use webhooks. You will need a webhook on the Eventbrite side to trigger a webhook to fire a new build.
Here are the steps for leveraging webhooks to keep fresh content when hosting with Netlify.
First, create Netlify a build hook url, see instructions here. From this you will have a url like this, https://api.netlify.com/build_hooks/XXXXXXXXXXXXXXX
, save it for the next step.
Next, create an Eventbrite Webhook to trigger the build when events are created or changed. Documentation on Eventbrite Webhooks can be found here.
Recommended Eventbrite Webhook actions:
event.created
event.published
event.unpublished
event.updated
organizer.updated
venue.updated
Then, use the Netlify build hook url as the "Payload URI".
Lastly, you can use the test button on the Eventbrite Webhook page to verify that the build was properly triggered.
FAQs
Gatsby plugin to load Eventbrite Events with full HTML description
The npm package gatsby-source-eventbrite-full receives a total of 3 weekly downloads. As such, gatsby-source-eventbrite-full popularity was classified as not popular.
We found that gatsby-source-eventbrite-full demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.