Socket
Socket
Sign inDemoInstall

feat.js

Package Overview
Dependencies
0
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.8 to 0.0.9

13

lib/customTagParser.js

@@ -203,9 +203,8 @@ module.exports = (html, cmo, options, blb) => {

//remove first el of contentt[0]
contentt[0].shift();
contentt[0][0] = "<a>" + contentt[0][0] + "</a>";
//set contentt[0] to last element contentt[0]
contentt[0] = contentt[0][contentt[0].length - 1];
//join contentt[0]
contentt[0] = contentt[0].join(">");
contentt[0].trim();
contentt[0] = "<a>" + contentt[0] + "</a>";
contentt.pop();

@@ -217,2 +216,3 @@

console.log(contentt);
let returnVal = comp.code(tagAttrs, contentt.join("\n"), options, blb, registerComponent);

@@ -224,3 +224,2 @@

returnVal = returnVal.substring(1);
//remove start to end from sp

@@ -227,0 +226,0 @@ sp.splice(start, end - start + 1, returnVal);

{
"name": "feat.js",
"version": "0.0.8",
"version": "0.0.9",
"main": "src/index.js",

@@ -9,3 +9,3 @@ "scripts": {

},
"homepage":"https://github.com/Feat-js/feat#readme",
"homepage": "https://github.com/Feat-js/feat#readme",
"repository": {

@@ -12,0 +12,0 @@ "type": "git",

@@ -1,2 +0,1 @@

const { render } = require('express/lib/response');
let fs = require('fs');

@@ -105,2 +104,2 @@

module.exports = Feat;
module.exports = Feat;

@@ -11,3 +11,3 @@ let express = require('express');

app.get('/', function (req, res) {
res.render('/test/pages/index', { email, posts, fn_test: true });
res.render('/test/pages/index', { email, posts });
});

@@ -14,0 +14,0 @@

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