Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@algolia/recommend-vdom

Package Overview
Dependencies
Maintainers
84
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/recommend-vdom - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

2

dist/esm/version.d.ts

@@ -1,1 +0,1 @@

export declare const version = "1.9.0";
export declare const version = "1.10.0";

@@ -1,1 +0,1 @@

export const version = '1.9.0';
export const version = '1.10.0';

@@ -1,3 +0,3 @@

/*! @algolia/recommend-vdom 1.9.0 | MIT License | © Algolia, Inc. and contributors | https://github.com/algolia/recommend */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@algolia/recommend-vdom"]={})}(this,(function(e){"use strict";function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},t.apply(this,arguments)}function n(...e){return e.filter(Boolean).join(" ")}function a({createElement:e,Fragment:t}){return function(a){return 0===a.recommendations.length&&"idle"===a.status?e(a.Fallback,null):e("section",{className:n("auc-Recommend",a.classNames.root)},e(a.Header,{classNames:a.classNames,recommendations:a.recommendations,translations:a.translations,createElement:e,Fragment:t}),e(a.View,null))}}function r({createElement:e}){return function(t){return!t.recommendations||t.recommendations.length<1?null:t.translations.title?e("h3",{className:n("auc-Recommend-title",t.classNames.title)},t.translations.title):null}}function m({createElement:e,Fragment:t}){return function(a){return e("div",{className:n("auc-Recommend-container",a.classNames.container)},e("ol",{className:n("auc-Recommend-list",a.classNames.list)},a.items.map((r=>e("li",{key:r.objectID,className:n("auc-Recommend-item",a.classNames.item)},e(a.itemComponent,{createElement:e,Fragment:t,item:r}))))))}}e.createFrequentlyBoughtTogetherComponent=function({createElement:e,Fragment:n}){return function(s){const l={title:"Frequently bought together",sliderLabel:"Frequently bought together products",...s.translations},o=s.classNames??{},c=s.children??a({createElement:e,Fragment:n}),i=s.fallbackComponent??function(){return null},u=s.headerComponent??r({createElement:e,Fragment:n}),d=s.view??m({createElement:e,Fragment:n});return c({classNames:o,Fallback:()=>e(i,{Fragment:n,createElement:e}),Header:u,recommendations:s.items,status:s.status,translations:l,View:a=>e(d,t({classNames:o,itemComponent:s.itemComponent,items:s.items,translations:l,Fragment:n,createElement:e},a))})}},e.createLookingSimilarComponent=function({createElement:e,Fragment:n}){return function(s){const l={title:"Looking Similar",sliderLabel:"Looking Similar",...s.translations},o=s.classNames??{},c=s.children??a({createElement:e,Fragment:n}),i=s.fallbackComponent??function(){return null},u=s.headerComponent??r({createElement:e,Fragment:n}),d=s.view??m({createElement:e,Fragment:n});return c({classNames:o,Fallback:()=>e(i,{Fragment:n,createElement:e}),Header:u,recommendations:s.items,status:s.status,translations:l,View:a=>e(d,t({classNames:o,itemComponent:s.itemComponent,items:s.items,translations:l,Fragment:n,createElement:e},a))})}},e.createRelatedProductsComponent=function({createElement:e,Fragment:n}){return function(s){const l={title:"Related products",sliderLabel:"Related products",...s.translations},o=s.classNames??{},c=s.children??a({createElement:e,Fragment:n}),i=s.fallbackComponent??function(){return null},u=s.headerComponent??r({createElement:e,Fragment:n}),d=s.view??m({createElement:e,Fragment:n});return c({classNames:o,Fallback:()=>e(i,{Fragment:n,createElement:e}),Header:u,recommendations:s.items,status:s.status,translations:l,View:a=>e(d,t({classNames:o,itemComponent:s.itemComponent,items:s.items,translations:l,Fragment:n,createElement:e},a))})}},e.createTrendingFacetsComponent=function({createElement:e,Fragment:m}){return function(s){const l={title:"Trending facets",sliderLabel:"Trending facets",...s.translations},o=s.classNames??{},c=s.children??a({createElement:e,Fragment:m}),i=s.fallbackComponent??function(){return null},u=s.headerComponent??r({createElement:e,Fragment:m}),d=s.view??function({createElement:e,Fragment:t}){return function(a){return e("div",{className:n("auc-Recommend-container",a.classNames.container)},e("ol",{className:n("auc-Recommend-list",a.classNames.list)},a.items.map((r=>e("li",{key:r.facetValue,className:n("auc-Recommend-item",a.classNames.item)},e(a.itemComponent,{createElement:e,Fragment:t,item:r}))))))}}({createElement:e,Fragment:m});return c({classNames:o,Fallback:()=>e(i,{Fragment:m,createElement:e}),Header:u,recommendations:s.items,status:s.status,translations:l,View:n=>e(d,t({classNames:o,itemComponent:s.itemComponent,items:s.items,translations:l,Fragment:m,createElement:e},n))})}},e.createTrendingItemsComponent=function({createElement:e,Fragment:n}){return function(s){const l={title:"Trending items",sliderLabel:"Trending items",...s.translations},o=s.classNames??{},c=s.children??a({createElement:e,Fragment:n}),i=s.fallbackComponent??function(){return null},u=s.headerComponent??r({createElement:e,Fragment:n}),d=s.view??m({createElement:e,Fragment:n});return c({classNames:o,Fallback:()=>e(i,{Fragment:n,createElement:e}),Header:u,recommendations:s.items,status:s.status,translations:l,View:a=>e(d,t({classNames:o,itemComponent:s.itemComponent,items:s.items,translations:l,Fragment:n,createElement:e},a))})}}}));
/*! @algolia/recommend-vdom 1.10.0 | MIT License | © Algolia, Inc. and contributors | https://github.com/algolia/recommend */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@algolia/recommend-vdom"]={})}(this,(function(e){"use strict";function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},t.apply(this,arguments)}function n(...e){return e.filter(Boolean).join(" ")}function a({createElement:e,Fragment:t}){return function(a){return 0===a.recommendations.length&&"idle"===a.status?e(a.Fallback,null):e("section",{className:n("auc-Recommend",a.classNames.root)},e(a.Header,{classNames:a.classNames,recommendations:a.recommendations,translations:a.translations,createElement:e,Fragment:t}),e(a.View,null))}}function r({createElement:e}){return function(t){return!t.recommendations||t.recommendations.length<1?null:t.translations.title?e("h3",{className:n("auc-Recommend-title",t.classNames.title)},t.translations.title):null}}function s({createElement:e,Fragment:t}){return function(a){return e("div",{className:n("auc-Recommend-container",a.classNames.container)},e("ol",{className:n("auc-Recommend-list",a.classNames.list)},a.items.map((r=>e("li",{key:r.objectID,className:n("auc-Recommend-item",a.classNames.item)},e(a.itemComponent,{createElement:e,Fragment:t,item:r}))))))}}e.createFrequentlyBoughtTogetherComponent=function({createElement:e,Fragment:n}){return function(m){const l={title:"Frequently bought together",sliderLabel:"Frequently bought together products",...m.translations},o=m.classNames??{},c=m.children??a({createElement:e,Fragment:n}),i=m.fallbackComponent??function(){return null},u=m.headerComponent??r({createElement:e,Fragment:n}),d=m.view??s({createElement:e,Fragment:n});return c({classNames:o,Fallback:()=>e(i,{Fragment:n,createElement:e}),Header:u,recommendations:m.items,status:m.status,translations:l,View:a=>e(d,t({classNames:o,itemComponent:m.itemComponent,items:m.items,translations:l,Fragment:n,createElement:e},a))})}},e.createLookingSimilarComponent=function({createElement:e,Fragment:n}){return function(m){const l={title:"Looking Similar",sliderLabel:"Looking Similar",...m.translations},o=m.classNames??{},c=m.children??a({createElement:e,Fragment:n}),i=m.fallbackComponent??function(){return null},u=m.headerComponent??r({createElement:e,Fragment:n}),d=m.view??s({createElement:e,Fragment:n});return c({classNames:o,Fallback:()=>e(i,{Fragment:n,createElement:e}),Header:u,recommendations:m.items,status:m.status,translations:l,View:a=>e(d,t({classNames:o,itemComponent:m.itemComponent,items:m.items,translations:l,Fragment:n,createElement:e},a))})}},e.createRelatedProductsComponent=function({createElement:e,Fragment:n}){return function(m){const l={title:"Related products",sliderLabel:"Related products",...m.translations},o=m.classNames??{},c=m.children??a({createElement:e,Fragment:n}),i=m.fallbackComponent??function(){return null},u=m.headerComponent??r({createElement:e,Fragment:n}),d=m.view??s({createElement:e,Fragment:n});return c({classNames:o,Fallback:()=>e(i,{Fragment:n,createElement:e}),Header:u,recommendations:m.items,status:m.status,translations:l,View:a=>e(d,t({classNames:o,itemComponent:m.itemComponent,items:m.items,translations:l,Fragment:n,createElement:e},a))})}},e.createTrendingFacetsComponent=function({createElement:e,Fragment:s}){return function(m){const l={title:"Trending facets",sliderLabel:"Trending facets",...m.translations},o=m.classNames??{},c=m.children??a({createElement:e,Fragment:s}),i=m.fallbackComponent??function(){return null},u=m.headerComponent??r({createElement:e,Fragment:s}),d=m.view??function({createElement:e,Fragment:t}){return function(a){return e("div",{className:n("auc-Recommend-container",a.classNames.container)},e("ol",{className:n("auc-Recommend-list",a.classNames.list)},a.items.map((r=>e("li",{key:r.facetValue,className:n("auc-Recommend-item",a.classNames.item)},e(a.itemComponent,{createElement:e,Fragment:t,item:r}))))))}}({createElement:e,Fragment:s});return c({classNames:o,Fallback:()=>e(i,{Fragment:s,createElement:e}),Header:u,recommendations:m.items,status:m.status,translations:l,View:n=>e(d,t({classNames:o,itemComponent:m.itemComponent,items:m.items,translations:l,Fragment:s,createElement:e},n))})}},e.createTrendingItemsComponent=function({createElement:e,Fragment:n}){return function(m){const l={title:"Trending items",sliderLabel:"Trending items",...m.translations},o=m.classNames??{},c=m.children??a({createElement:e,Fragment:n}),i=m.fallbackComponent??function(){return null},u=m.headerComponent??r({createElement:e,Fragment:n}),d=m.view??s({createElement:e,Fragment:n});return c({classNames:o,Fallback:()=>e(i,{Fragment:n,createElement:e}),Header:u,recommendations:m.items,status:m.status,translations:l,View:a=>e(d,t({classNames:o,itemComponent:m.itemComponent,items:m.items,translations:l,Fragment:n,createElement:e},a))})}}}));
//# sourceMappingURL=index.js.map
{
"name": "@algolia/recommend-vdom",
"version": "1.9.0",
"version": "1.10.0",
"license": "MIT",

@@ -31,4 +31,4 @@ "homepage": "https://github.com/algolia/recommend",

"devDependencies": {
"@algolia/recommend-core": "1.9.0"
"@algolia/recommend-core": "1.10.0"
}
}

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