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.16 to 0.0.17

12

dist/editbar.js

@@ -11,7 +11,7 @@ "use strict";

return `
<div class="dg-edit-bar ${(_a = opts.extraClass) !== null && _a !== void 0 ? _a : ''}" data-path="${(0, txstate_utils_1.htmlEncode)(path)}">
<div class="dg-edit-bar ${(_a = opts.extraClass) !== null && _a !== void 0 ? _a : ''}" data-path="${(0, txstate_utils_1.htmlEncode)(path)}" draggable="true" ondragstart="window.dgEditing.drag(event)" ondragover="window.dgEditing.over(event)" ondragend="window.dgEditing.drop(event)">
<span id="${id}" class="dg-edit-bar-label">${(0, txstate_utils_1.htmlEncode)(opts.label)}</span>
<button onClick="window.dgEditing.edit" aria-describedby="${id}">Edit</button>
<button onClick="window.dgEditing.move" aria-describedby="${id}">Move</button>
<button onClick="window.dgEditing.del" aria-describedby="${id}">Trash</button>
<button onclick="window.dgEditing.edit(event)" aria-describedby="${id}">Edit</button>
<button onclick="window.dgEditing.move(event)" aria-describedby="${id}">Move</button>
<button onclick="window.dgEditing.del(event)" aria-describedby="${id}">Trash</button>
</div>

@@ -26,4 +26,4 @@ `.trim();

return `
<div class="dg-new-bar ${(_a = opts.extraClass) !== null && _a !== void 0 ? _a : ''}" data-path="${(0, txstate_utils_1.htmlEncode)(path)}">
<button>${(0, txstate_utils_1.htmlEncode)(opts.label)}</button>
<div role="button" onclick="window.dgEditing.create(event)" class="dg-new-bar ${(_a = opts.extraClass) !== null && _a !== void 0 ? _a : ''}" data-path="${(0, txstate_utils_1.htmlEncode)(path)}">
${(0, txstate_utils_1.htmlEncode)(opts.label)}
</div>

@@ -30,0 +30,0 @@ `.trim();

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

@@ -5,0 +5,0 @@ "exports": {

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