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

@shopify/theme-check-common

Package Overview
Dependencies
Maintainers
25
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.14.0 to 1.14.1

6

CHANGELOG.md
# @shopify/theme-check-common
## 1.14.1
### Patch Changes
- b7514f4: Fixup UndefinedObject for sections
## 1.14.0

@@ -4,0 +10,0 @@

4

dist/checks/undefined-object/index.js

@@ -87,4 +87,4 @@ "use strict";

const objects = await themeDocset.objects();
const globalObjects = objects.filter(({ access }) => {
return !access || access.global === true || access.template.length > 0;
const globalObjects = objects.filter(({ access, name }) => {
return name === 'section' || !access || access.global === true || access.template.length > 0;
});

@@ -91,0 +91,0 @@ return globalObjects;

{
"name": "@shopify/theme-check-common",
"version": "1.14.0",
"version": "1.14.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Shopify/theme-tools/blob/main/packages/theme-check-common/README.md",

@@ -109,4 +109,4 @@ import {

const globalObjects = objects.filter(({ access }) => {
return !access || access.global === true || access.template.length > 0;
const globalObjects = objects.filter(({ access, name }) => {
return name === 'section' || !access || access.global === true || access.template.length > 0;
});

@@ -113,0 +113,0 @@

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