Socket
Socket
Sign inDemoInstall

editorjs-viewer

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

index.js

10

lib/default.js

@@ -17,4 +17,12 @@ "use strict";

return `<h2>${value.data.text}</h2>`;
case 3:
return `<h3>${value.data.text}</h3>`;
case 4:
return `<h4>${value.data.text}</h4>`;
case 5:
return `<h5>${value.data.text}</h5>`;
case 6:
return `<h6>${value.data.text}</h6>`;
default:
return '';
return `<h1>${value.data.text}</h1>`;
}

@@ -21,0 +29,0 @@ },

4

package.json
{
"name": "editorjs-viewer",
"version": "2.0.0",
"version": "2.0.1",
"description": "Extremly easy turn JSON data to HTML from editor.js dynamicly",

@@ -8,3 +8,3 @@ "main": "index.js",

"test": "echo \"Error: no test specified\" && exit 1",
"build" : "tsc"
"build" : "tsc && tsc index.ts"
},

@@ -11,0 +11,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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