
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@pantheon-systems/drupal-kit
Advanced tools
Utilities to help simplify the process of sourcing data from a Drupal backend for a Front-End Site hosted on Pantheon.
To install this package to use in your application:
npm install @pantheon-systems/drupal-kit
Modules can be imported from the @pantheon-systems/drupal-kit
package. For
example, to use Drupal State to source data from your CMS backend:
import { DrupalState } from ' @pantheon-systems/drupal-kit';
const store = new DrupalState({
apiBase: 'https://dev-ds-demo.pantheonsite.io',
});
const recipesFromApi = await store.getObject({ objectName: 'node--recipe' });
const recipeFromStore = await store.getObject({
objectName: 'node--recipe',
id: '33386d32-a87c-44b9-b66b-3dd0bfc38dca',
});
For more information, consult the full Drupal State documentation
To see the API reference for @pantheon-systems/drupal-kit
,
visit our docs site
Please see the Contributing guide in our monorepo to contribute to the project.
FAQs
Pantheon Decoupled Kit's Drupal Kit
The npm package @pantheon-systems/drupal-kit receives a total of 112 weekly downloads. As such, @pantheon-systems/drupal-kit popularity was classified as not popular.
We found that @pantheon-systems/drupal-kit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.