Socket
Socket
Sign inDemoInstall

@ns8/ns8-shopify-switches

Package Overview
Dependencies
157
Maintainers
34
Versions
195
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.188 to 1.0.189

16

dist/Logger.js

@@ -110,2 +110,5 @@ "use strict";

static formatOutput(output) {
if (output instanceof Error) {
return { error: Logger.formatError(output) };
}
if (output == null) {

@@ -121,3 +124,7 @@ return {};

try {
return `${JSON.stringify(o, undefined, 2)}\n`;
let output = o;
if (o instanceof Error) {
output = { error: Logger.formatError(o) };
}
return `${JSON.stringify(output, undefined, 2)}\n`;
}

@@ -128,2 +135,9 @@ catch (err) {

}
static formatError(error) {
return {
message: error.message,
name: error.name,
rawError: error,
};
}
}

@@ -130,0 +144,0 @@ exports.Logger = Logger;

2

package.json
{
"name": "@ns8/ns8-shopify-switches",
"version": "1.0.188",
"version": "1.0.189",
"description": "Custom switches for the shopify integration",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc