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

@dosgato/templating

Package Overview
Dependencies
Maintainers
2
Versions
161
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.40 to 0.0.41

5

dist/component.d.ts

@@ -234,6 +234,5 @@ import { ResourceProvider } from './provider.js';

}
export interface RenderedComponent {
inherited: boolean;
export interface RenderedComponent<C extends Component = Component> {
component: C;
html: string;
editbar: string;
}

@@ -240,0 +239,0 @@ export declare abstract class Page<DataType extends PageData = any, FetchedType = any, RenderContextType extends ContextBase = any> extends Component<DataType, FetchedType, RenderContextType> {

2

dist/component.js

@@ -97,3 +97,3 @@ import { isNotBlank } from 'txstate-utils';

renderComponents(components = [], opts) {
return components.flatMap(c => c.inherited && opts?.hideInheritBars ? [c.html] : [c.editbar, c.html]).join('');
return components.flatMap(c => c.component.inheritedFrom && opts?.hideInheritBars ? [c.html] : [c.component.editBar(), c.html]).join('');
}

@@ -100,0 +100,0 @@ /**

{
"name": "@dosgato/templating",
"version": "0.0.40",
"version": "0.0.41",
"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