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

nixy

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nixy - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

9

compiler.js

@@ -8,2 +8,3 @@ const path = require('path');

const parsePostcss = require('./postcss');
const JSUrl = require('@yaska-eu/jsurl2');

@@ -354,2 +355,10 @@ const globalCss = fs.readFileSync(`${__dirname}/global.css`);

function $jsUrl(data) {
return JSUrl.stringify(data, {short: true});
}
function $jsurl(data) {
return $jsUrl(data);
}
// eslint-disable-next-line max-statements, complexity

@@ -356,0 +365,0 @@ async function parse(html, options = {}, data = {}) {

2

markoToDom.js

@@ -229,3 +229,3 @@ const parser = require('htmljs-parser');

parentNode.argument = attr.argument;
parentNode.tagString = `(${parentNode.argument.value})`;
parentNode.tagString = parentNode.argument ? `(${parentNode.argument.value})` : '';
addNode(parentNode);

@@ -232,0 +232,0 @@

{
"name": "nixy",
"version": "0.0.9",
"version": "0.0.10",
"description": "HTML templating framework focused on SSR and performance",

@@ -13,2 +13,3 @@ "main": "index.js",

"@rollup/plugin-virtual": "^2.0.3",
"@yaska-eu/jsurl2": "^2.1.0",
"autoprefixer": "^10.0.1",

@@ -15,0 +16,0 @@ "htmljs-parser": "^2.7.1",

@@ -21,3 +21,4 @@ const postcss = require('postcss');

rem({
baseline: 13,
baseline: 12.9985,
precision: 4,
}),

@@ -24,0 +25,0 @@ ];

@@ -30,3 +30,3 @@ const fs = require('fs');

console.assert(out === '<div><div data-pos="mw_product_3" class="sm-da" cla="height: 31.25vw"></div><div data-pos="mw_product_3" class="sm-da" cla="height: 31.25vw"></div><div class="box"><div class="header"><div class="title"><h3>A Box</h3></div><div class="actions"><a>View All →</a></div></div><a>Hello</a></div></div>');
console.assert(out === '<div><div data-pos="mw_product_3" class="sm-da" cla="height: 31.25vw"></div><div data-pos="mw_product_3" class="sm-da" cla="height: 31.25vw"></div><div class="box"><div class="header"><div class="title"><h3>A Box</h3></div><div class="actions"><a>View All →</a></div></div><a>Hello</a></div><div data-json="(a~b"></div></div>');

@@ -33,0 +33,0 @@ console.time('render');

Sorry, the diff of this file is not supported yet

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