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

blog-easy-client

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blog-easy-client - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

22

index.js

@@ -1602,2 +1602,6 @@ // Main OBJECT

}
if(e.data === null && Selected.tagName === 'H1'){
Input.value= Input.value.substring(0,Input.value.length-1);
return;
}

@@ -1643,3 +1647,3 @@ e.data === " " ? InpSpace=true : InpSpace=false

// var node=Array.prototype.indexOf.call(Nodes, Selected);
// if(node !== -1) models[i].keys.splice(node,1);
// if(node !== -1) models[i].keys.splice(node,1);

@@ -1673,2 +1677,3 @@ var node=getNode();

arr += str[i][j];
space = false;
}

@@ -1682,2 +1687,7 @@ str[i][j] === " " ? space=true : space=false

}
if(Selected.tagName === 'PRE'){
arr = arr.replace(/&lt;/g,'<')
.replace(/&gt;/g,'>')
.replace(/&#92;n/g,'\\n');
}
Input.value = arr;

@@ -1716,3 +1726,6 @@

if(val[i] === '\n'){
if(Selected.tagName !== 'PRE')
str += '<br>';
else
str += val[i];
}else{

@@ -1723,2 +1736,3 @@ if(space && val[i] === " " && Selected.tagName !== 'PRE'){

str += val[i];
space = false;
}

@@ -1729,6 +1743,10 @@ val[i] === " " ? space=true : space=false

}
if(Selected.tagName === 'PRE'){
str = str.replace(/</g,'&lt;')
.replace(/>/g,'&gt;')
.replace(/\\n/g,'&#92;n');
}
Selected.tagName === 'LI' ?
Nodes[node.i].list[node.j].value = str :
Nodes[node.i].html = str;

@@ -1735,0 +1753,0 @@ }

4

package.json
{
"name": "blog-easy-client",
"version": "1.0.0",
"description": "",
"version": "1.0.1",
"description": "A javascript client library for blog-easy which integrates a fully automated blog CMS (content management system) which makes it easy to create and publish blog post",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

# blog-easy-client
blog-easy-client is a javascript client library for [bog-easy](https://github.com/allkods/blog-easy) which enables us to integrates a full automated blog system to a website without having to write any code.
blog-easy-client is a javascript client library for [blog-easy](https://github.com/allkods/blog-easy) which enables us to integrates a full automated blog system to a website without having to write any code.
It consists of :

@@ -97,2 +97,3 @@

```
> For styling all the text of code, Select all the child element with a `*`, Example : `your_class *{}`

@@ -177,2 +178,3 @@

- Automatic compression of images
- Converting the cover image into 2 qualities ( preview and original, to decrease the load time of view while viewing multiple post at a time )
- Converting the cover image into 2 qualities ( preview and original, to decrease the load time of view while viewing multiple post at a time )
- Tag adding feature
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