New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dosgato/templating

Package Overview
Dependencies
Maintainers
2
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dosgato/templating - npm Package Compare versions

Comparing version 0.0.146 to 0.0.147

6

dist/component.js

@@ -114,3 +114,5 @@ import { get, isNotBlank, titleCase } from 'txstate-utils';

const wrap = opts?.wrap ?? defaultWrap;
if (opts?.skipBars || opts?.skipEditBars)
if (opts?.skipContent && !this.editMode)
return '';
if (opts?.skipBars || opts?.skipEditBars || !this.editMode)
return components.map((c, indexInArea) => wrap({ ...c, content: c.output, bar: '', indexInArea })).join('');

@@ -150,3 +152,3 @@ return components

let output = this.renderComponents(components, { ...opts, editBarOpts: { ...opts?.editBarOpts, disableDelete: ownedComponentCount <= (opts?.min ?? 0), disableDrop: full } });
if (!opts?.skipBars && !opts?.skipNewBar) {
if (!opts?.skipBars && !opts?.skipNewBar && this.editMode) {
let bar;

@@ -153,0 +155,0 @@ if (full) {

{
"name": "@dosgato/templating",
"version": "0.0.146",
"version": "0.0.147",
"description": "A library to support building templates for dosgato CMS.",

@@ -5,0 +5,0 @@ "type": "module",

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