Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@shopware-pwa/helpers-next
Advanced tools
Shopware helpers for accessing API data
Welcome to @shopware-pwa/helpers-next
package.
For getting started documentation visit https://frontends.shopware.com/
Documentation specific for this package: helpers
The helpersCssClasses
variable, defined in the cms/layoutClasses.ts
helper file, comprises an array of class names utilized within the CMS.
To enhance type support, a union type HelpersCssClasses
is defined, which encompasses all class names present in the helpersCssClasses
array.
const visibilityMap: Record<CmsVisibility, HelpersCssClasses> = {
mobile: "max-md:hidden",
tablet: "md:max-lg:hidden",
desktop: "lg:hidden",
};
These classes can be integrated into a custom template, thereby ensuring consistency across different packages. For example as a safelist
classes in unocss configuration file
import { helpersCssClasses } from "@shopware-pwa/helpers-next";
export default defineConfig({
safelist: helpersCssClasses,
});
Full changelog for stable version is available here
#871 1566f7a
Thanks @patzick! - Read more about new major release: https://github.com/shopware/frontends/discussions/965
#1056 c729e70
Thanks @patzick! - Removed deprecations from the package:
getProductThumbnailUrl
is removed. Use getSmallestThumbnailUrl
instead._debounce
is removed._parseUrlQuery
is removed.#857 864616f
Thanks @mdanilowicz! - Add isMaintenanceMode to check if backend is available
#508 a92941e
Thanks @mdanilowicz! - Add accessGranted
property for the getMedia helper
#477 487d991
Thanks @mdanilowicz! - Remove "@shopware-pwa/types" dependency and replace it with generic types
#582 97b5949
Thanks @mdanilowicz! - Export css classes as a separate file
6b54268
Thanks @BrocksiNet! - added buildUrlPrefix
, which perviously was internal helper of the @shopware/cms-base
packageFAQs
Shopware helpers for accessing API data
The npm package @shopware-pwa/helpers-next receives a total of 1,091 weekly downloads. As such, @shopware-pwa/helpers-next popularity was classified as popular.
We found that @shopware-pwa/helpers-next demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.