Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@craftercms/classes
Advanced tools
Crafter CMS framework classes for developing sites and applications
This package contains useful classes for developing craftercms websites & applications.
All of Crafter CMS packages can be used either via npm or in plain html/javascript via regular script imports.
yarn
or npm
yarn add @craftercms/classes
ornpm install @craftercms/classes
The examples below assume usage in the style of using via npm. If you're using the bundles,
directly importing as a script in the browser, these functions will be under the global variable
named craftercms.classes
(i.e. window.craftercms.classes
).
SDKService
Provides http get and post methods for Crafter services
import { httpGet } from '@craftercms/classes';
const requestURL = "/some-url";
httpGet(requestURL, {
crafterSite: "editorial"
}).subscribe((response) => {
console.log(response);
})
1.2.4
flatten
for the content_store/descriptor
endpoint (via the config argument of the function).parseDescriptor
be able to handle the deserialization products of the recent crafter-source
& crafter-source-content-type-id
attribute additions.repaintPencils
before the dependency loader has been configured to avoid incorrect paths to load scripts/css from.FAQs
Crafter CMS utility classes for developing sites and applications
The npm package @craftercms/classes receives a total of 0 weekly downloads. As such, @craftercms/classes popularity was classified as not popular.
We found that @craftercms/classes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.