Socket
Socket
Sign inDemoInstall

cms-module-client

Package Overview
Dependencies
1
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.1 to 0.3.2

10

lib/lib/util.js

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

var meta = {
url: window.location.pathname,
title: document.title,
description: head.querySelector("meta[name=\"description\"]").getAttribute("content"),
keywords: head.querySelector("meta[name=\"keywords\"]").getAttribute("content"),
canonical: head.querySelector("link[rel=\"canonical\"]").getAttribute("href")
url: window.location.pathname || "",
title: document.title || "",
description: head.querySelector("meta[name=\"description\"]").getAttribute("content") || "",
keywords: head.querySelector("meta[name=\"keywords\"]").getAttribute("content") || "",
canonical: head.querySelector("link[rel=\"canonical\"]").getAttribute("href") || ""
};

@@ -48,0 +48,0 @@ return meta;

{
"name": "cms-module-client",
"version": "0.3.1",
"version": "0.3.2",
"description": "An editor for html pages. This is the client side part of the JS CMS module tool. It lets you edit a webpage in a WYSIWYG way. Together with the Server side module, it creates nicely integrated content management system for Node JS.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc