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

@shopify/theme-predictive-search

Package Overview
Dependencies
Maintainers
13
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/theme-predictive-search - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

4

package.json
{
"name": "@shopify/theme-predictive-search",
"version": "3.0.1",
"version": "3.0.2",
"license": "MIT",
"description": "Shopify AJAX Predictive Search API",
"main": "dist/theme-predictive-search.js",
"main": "dist/theme-predictive-search.cjs.js",
"module": "src/theme-predictive-search.js",

@@ -8,0 +8,0 @@ "publishConfig": {

@@ -80,3 +80,3 @@ ## Shopify Predictive Search JS API

predictiveSearch.query("The Calling");
predictiveSearch.query("Yeti SB165");
```

@@ -95,29 +95,28 @@

{
"available": BOOLEAN,
"body": STRING w/HTML,
"compare_at_price_max": DECIMAL ("0.00" when the product has no variants with a "compare_at_price"),
"compare_at_price_min": DECIMAL ("0.00" when the product has no variants with a "compare_at_price"),
"handle": STRING,
"id": INTEGER,
"image": STRING e.g, "https://cdn.shopify.com/s/...",
"price": DECIMAL,
"price_max": DECIMAL,
"price_min": DECIMAL,
"tags" : ARRAY OF STRING,
"title": STRING,
"type" : STRING,
"url": STRING e.g, "/products/fast-snowboard?_pos=1&_psq=snowb&_ss=e&_v=1.0",
"available": true,
"body": "<p>The best bike ever made</p>",
"compare_at_price_max": "5199.99",
"compare_at_price_min": "4899.99",
"handle": "yeti-sb165",
"id": 111,
"image": "https://cdn.shopify.com/s/...",
"price": "4999.99",
"price_max": "5199.99",
"price_min": "4899.99",
"tags": ["best", "bike", "ever", "made"],
"title": "Yeti SB165",
"type": "best-bike",
"url": "/products/sb165",
"variants": [
{
"available": BOOLEAN,
"compare_at_price": DECIMAL (nullable),
"id": INTEGER,
"image": STRING e.g, "https://cdn.shopify.com/s/...",
"price": DECIMAL,
"title": STRING,
"url": STRING e.g, "/products/fast-snowboard?_pos=1&_psq=snowb&_ss=e&_v=1.0"
"available": true,
"compare_at_price": "9999.99",
"id": 222,
"image": "https://cdn.shopify.com/s/...",
"price": "9999.99",
"title": "Yeti SB165 X01 build",
"url": "/products/sb165/x01"
}
],
"vendor": STRING
"vendor": "Yeti Cyclesr"
}

@@ -124,0 +123,0 @@ ]

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