New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@shopware-pwa/helpers-next

Package Overview
Dependencies
Maintainers
0
Versions
634
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-pwa/helpers-next - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

18

dist/index.d.ts

@@ -404,5 +404,19 @@ /**

declare function getCmsTranslate(key: string, params?: {
[key: string]: string | number | null;
[key: string]: string | number | null | undefined;
} | null): string;
/**
* Build the breadcrumbs for the CMS page
*
* @param page
* @returns
*/
declare function getCmsBreadcrumbs<T extends {
translated: {
name: string;
};
}>(page: T): {
name: string;
}[];
type Category = {

@@ -604,2 +618,2 @@ apiAlias: "category";

export { type HelpersCssClasses, type LayoutConfiguration, type TierPrice, type UiMediaGalleryItem, type UiMediaGalleryItemUrl, type UiProductOption, type UiProductProperty, type UiProductReview, buildUrlPrefix, canUseQuoteActions, downloadFile, getBackgroundImageUrl, getBiggestThumbnailUrl, getCategoryBreadcrumbs, getCategoryImageUrl, getCategoryRoute, getCategoryUrl, getCmsEntityObject, getCmsLayoutConfiguration, getCmsTranslate, getFormattedPrice, getLanguageName, getListingFilters, getMainImageUrl, getMedia, getProductCalculatedListingPrice, getProductFreeShipping, getProductFromPrice, getProductName, getProductRatingAverage, getProductReviews, getProductRoute, getProductTierPrices, getProductUrl, getShippingMethodDeliveryTime, getSmallestThumbnailUrl, getSrcSetForMedia, getTranslatedProperty, helpersCssClasses, isCategory, isLandingPage, isMaintenanceMode, isProduct, relativeUrlSlash, urlIsAbsolute };
export { type HelpersCssClasses, type LayoutConfiguration, type TierPrice, type UiMediaGalleryItem, type UiMediaGalleryItemUrl, type UiProductOption, type UiProductProperty, type UiProductReview, buildUrlPrefix, canUseQuoteActions, downloadFile, getBackgroundImageUrl, getBiggestThumbnailUrl, getCategoryBreadcrumbs, getCategoryImageUrl, getCategoryRoute, getCategoryUrl, getCmsBreadcrumbs, getCmsEntityObject, getCmsLayoutConfiguration, getCmsTranslate, getFormattedPrice, getLanguageName, getListingFilters, getMainImageUrl, getMedia, getProductCalculatedListingPrice, getProductFreeShipping, getProductFromPrice, getProductName, getProductRatingAverage, getProductReviews, getProductRoute, getProductTierPrices, getProductUrl, getShippingMethodDeliveryTime, getSmallestThumbnailUrl, getSrcSetForMedia, getTranslatedProperty, helpersCssClasses, isCategory, isLandingPage, isMaintenanceMode, isProduct, relativeUrlSlash, urlIsAbsolute };

13

package.json
{
"name": "@shopware-pwa/helpers-next",
"version": "1.1.0",
"version": "1.2.0",
"description": "Shopware helpers for accessing API data",

@@ -35,6 +35,7 @@ "author": "Shopware",

"devDependencies": {
"@vitest/coverage-v8": "2.0.5",
"happy-dom": "15.7.3",
"@biomejs/biome": "1.8.3",
"@vitest/coverage-v8": "2.1.8",
"happy-dom": "15.11.7",
"unbuild": "2.0.0",
"vitest": "2.0.5",
"vitest": "2.1.8",
"tsconfig": "0.0.0"

@@ -46,4 +47,4 @@ },

"dev": "unbuild --stub",
"lint": "biome lint . && pnpm run typecheck",
"lint:fix": "biome lint --apply . && pnpm run typecheck",
"lint": "biome check .",
"lint:fix": "biome check . --write && pnpm run typecheck",
"typecheck": "tsc --noEmit",

@@ -50,0 +51,0 @@ "test": "vitest run",

@@ -39,6 +39,6 @@ # shopware/frontends - helpers

### Latest changes: 1.1.0
### Latest changes: 1.2.0
### Minor Changes
- [#1215](https://github.com/shopware/frontends/pull/1215) [`6ee2f90`](https://github.com/shopware/frontends/commit/6ee2f90ca3b21730fa05e1120072ac4dd45aa665) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Added `getCmsTranslate` helper to replace text placeholder with param value
- [#1369](https://github.com/shopware/frontends/pull/1369) [`13c83be`](https://github.com/shopware/frontends/commit/13c83bec53a6aaba49941b9bf869629eadeb4515) Thanks [@mdanilowicz](https://github.com/mdanilowicz)! - Added `getCmsBreadcrumbs` helper for building CMS breadcrumbs

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc