New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nitunity/api-compiler

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nitunity/api-compiler - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

modules/engine/index.js

@@ -19,3 +19,3 @@ const nunjucks = require('nunjucks')

module.exports.post = async (config, object, slug) => {
let template = await nunjucks.render(`${config.views}/posts`, object)
let template = await nunjucks.render(`${config.views}/posts/single.njk`, object)
fs.writeFileSync(`${config.cache}/posts/index-${slug}.html`, template.toString())

@@ -22,0 +22,0 @@ }

@@ -26,2 +26,3 @@ const request = require('./request')

console.log('Home is ready')
counter++
})

@@ -33,3 +34,3 @@ .catch(e => {

clearInterval(interval)
counter++
counter = 0
}

@@ -36,0 +37,0 @@ })

{
"name": "@nitunity/api-compiler",
"version": "0.1.6",
"version": "0.1.7",
"description": "This package is API for compiling HTML templates using Nunjucks template engine",

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

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