
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
@pienter/gridsome-source-directus
Advanced tools
I created this script for personal use before peXed published his gridsome-source-directus. Because it has a slightly different approach I decided to publish this package anyway.
pascalTypes to false if you do not want this.shallowCamelCase to true if you do not want this.yarn add @pienter/gridsome-source-directusnpm install @pienter/gridsome-source-directusAdd the plugin to your gridsome.config.js file.
| Name | Required | Type | Default | Description |
|---|---|---|---|---|
| url | true | string | / | Directus API root url (see here for more info) |
| project | false | string | '_' | Directus project prefix |
| token | false | string | '' | Directus static token (see here for more info), use either token or email/password |
| false | string | '' | Directus user email | |
| password | false | string | '' | Directus user password |
| camelCase | false | boolean | true | Transform field names to camel case |
| shallowCamelCase | false | boolean | false | Do only a shalow transformation to camel case. Use this after updating this package |
| pascalTypes | false | boolean | true | Converts table names to pascal case |
| routes | false | object | {} | Add route option to content type, object where key is the collection and the value is the route (see here for more info) |
module.exports = {
plugins: [
{
use: '@pienter/gridsome-source-directus',
options: {
url: 'https://directus.api.url',
project: '_',
email: 'directus@user.something',
password: 'USERPASSWORD',
camelCase: false,
routes: {
posts: 'posts/:year/:slug',
},
},
},
],
};
FAQs
Directus source for Gridsome
We found that @pienter/gridsome-source-directus 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.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.