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

@scvo/router

Package Overview
Dependencies
Maintainers
2
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scvo/router - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

3

build/helpers.js

@@ -233,6 +233,7 @@ "use strict";

Helpers.helper_component = function (partialName, options) {
options = options.hasOwnProperty('hash') ? options.hash : options;
console.log('Arguments:', util.inspect(options, false, null));
var partial = Helpers.handlebars.partials[partialName];
var template = Helpers.handlebars.compile(partial);
var html = template(options.hash);
var html = template(options);
return new Helpers.handlebars.SafeString(html);

@@ -239,0 +240,0 @@ };

{
"name": "@scvo/router",
"version": "1.1.15",
"version": "1.1.16",
"description": "A moderately oppinionated web application framework based around mapping routes to tasks and then rendering with handlebars",

@@ -5,0 +5,0 @@ "main": "./build/index",

@@ -256,6 +256,7 @@ import * as dot from 'dot-object';

static helper_component(partialName: string, options: any) {
options = options.hasOwnProperty('hash') ? options.hash : options;
console.log('Arguments:', util.inspect(options, false, null));
const partial = Helpers.handlebars.partials[partialName];
const template = Helpers.handlebars.compile(partial)
const html = template(options.hash)
const template = Helpers.handlebars.compile(partial);
const html = template(options);
return new Helpers.handlebars.SafeString(html)

@@ -262,0 +263,0 @@ }

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