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

@shopify/theme-check-node

Package Overview
Dependencies
Maintainers
25
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/theme-check-node - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

dist/find-root.d.ts

4

dist/file-utils.js

@@ -24,3 +24,5 @@ "use strict";

catch (error) {
console.error(`Failed to get file size: ${error}`);
if (process.env.SHOPIFY_FLAG_VERBOSE || process.argv.includes('--verbose')) {
console.error(`Failed to get file size: ${error}`);
}
return 0;

@@ -27,0 +29,0 @@ }

@@ -5,2 +5,3 @@ import { Config, JSONSourceCode, LiquidSourceCode, Offense, Theme } from '@shopify/theme-check-common';

export * from './config/types';
export { PathHandler, findRoot, reusableFindRoot } from './find-root';
export declare const loadConfig: typeof resolveConfig;

@@ -7,0 +8,0 @@ export type ThemeCheckRun = {

@@ -20,12 +20,12 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getTheme = exports.themeCheckRun = exports.checkAndAutofix = exports.check = exports.toSourceCode = exports.loadConfig = void 0;
exports.getTheme = exports.themeCheckRun = exports.checkAndAutofix = exports.check = exports.toSourceCode = exports.loadConfig = exports.reusableFindRoot = exports.findRoot = void 0;
const theme_check_common_1 = require("@shopify/theme-check-common");
const theme_check_docs_updater_1 = require("@shopify/theme-check-docs-updater");
const promises_1 = __importDefault(require("node:fs/promises"));
const node_path_1 = __importDefault(require("node:path"));
const node_util_1 = require("node:util");
const node_path_1 = __importDefault(require("node:path"));
const promises_1 = __importDefault(require("node:fs/promises"));
const glob = require("glob");
const theme_check_docs_updater_1 = require("@shopify/theme-check-docs-updater");
const autofix_1 = require("./autofix");
const config_1 = require("./config");
const file_utils_1 = require("./file-utils");
const config_1 = require("./config");
const autofix_1 = require("./autofix");
const defaultLocale = 'en';

@@ -35,2 +35,5 @@ const asyncGlob = (0, node_util_1.promisify)(glob);

__exportStar(require("./config/types"), exports);
var find_root_1 = require("./find-root");
Object.defineProperty(exports, "findRoot", { enumerable: true, get: function () { return find_root_1.findRoot; } });
Object.defineProperty(exports, "reusableFindRoot", { enumerable: true, get: function () { return find_root_1.reusableFindRoot; } });
const loadConfig = async (configPath, root) => {

@@ -37,0 +40,0 @@ configPath !== null && configPath !== void 0 ? configPath : (configPath = await (0, config_1.findConfigPath)(root));

{
"name": "@shopify/theme-check-node",
"version": "2.1.0",
"version": "2.2.0",
"main": "dist/index.js",

@@ -36,4 +36,4 @@ "types": "dist/index.d.ts",

"dependencies": {
"@shopify/theme-check-common": "2.1.0",
"@shopify/theme-check-docs-updater": "2.1.0",
"@shopify/theme-check-common": "2.2.0",
"@shopify/theme-check-docs-updater": "2.2.0",
"glob": "^8.0.3",

@@ -40,0 +40,0 @@ "yaml": "^2.3.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