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.129 to 0.0.130

1

dist/component.d.ts

@@ -347,2 +347,3 @@ /// <reference types="node" />

linkId: string;
fallbackTitle: string;
createdAt: Date;

@@ -349,0 +350,0 @@ modifiedAt: Date;

@@ -109,2 +109,14 @@ import type { ContextBase, DataData, PageData, PageRecord, PageRecordOptionalData } from './component.js';

/**
* Exactly like resolveLink but also returns the title of the target page, if the target page
* is internal to the CMS. If the target is a random web page outside the CMS, title will be
* undefined. Perhaps in the future title could be scraped from the page HTML.
*/
resolveLinkAndTitle: (lnk: string | LinkDefinition | undefined, opts?: {
absolute?: boolean;
extension?: string;
}) => Promise<{
href?: string;
title?: string;
}>;
/**
* Get a link href for a page

@@ -111,0 +123,0 @@ *

2

package.json
{
"name": "@dosgato/templating",
"version": "0.0.129",
"version": "0.0.130",
"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