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

@backpackjs/transform-shopify

Package Overview
Dependencies
Maintainers
32
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backpackjs/transform-shopify - npm Package Compare versions

Comparing version 4.27.1-next.0 to 4.27.1

1

dist/index.d.ts
declare function _default(input: any): Promise<{
products: any;
collections: any;
}>;
export default _default;
//# sourceMappingURL=index.d.ts.map

@@ -72,7 +72,18 @@ "use strict";

};
const normalizeCollection = (shop) => (collection) => {
return {
...collection,
products: collection.products
.map(normalizeProduct(shop))
.map((product) => ({ ...product, loaded: true })),
};
};
exports.default = async (input) => {
try {
const { products, context } = input;
const { products, context, collections } = input;
const normalizedCollections = collections.map(normalizeCollection(context.shop));
const normalizedProducts = products.map(normalizeProduct(context.shop));
return {
products: products.map(normalizeProduct(context.shop)),
products: normalizedProducts,
collections: normalizedCollections,
};

@@ -79,0 +90,0 @@ }

4

package.json
{
"name": "@backpackjs/transform-shopify",
"version": "4.27.1-next.0",
"version": "4.27.1",
"license": "MIT",

@@ -22,3 +22,3 @@ "author": "BackpackJS <dev@packdigial.com> (http://packdigital.com/)",

},
"gitHead": "94d6744f5d31f562ff2cdad536bf6f940b2ffef6"
"gitHead": "0d7cd28c095e71a7ccf0efc915f644c4454f6a0f"
}

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