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

cortex-handlebars-compiler

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cortex-handlebars-compiler - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

9

index.js

@@ -60,3 +60,2 @@ 'use strict';

this.relative_cwd = node_path.join('..', '..', to_cwd);
this.helpers = {};

@@ -280,2 +279,5 @@ this.register('facade', this._facade_handler, this);

Compiler.prototype._to_url_path = function(path){
return path.replace(/\\/g,'\/')
}

@@ -287,3 +289,3 @@ Compiler.prototype._neuron_config = function() {

'graph:' + JSON.stringify(this.graph) + ',',
'path:"' + this.relative_cwd + '"' + ',',
'path:"' + this._to_url_path(this.relative_cwd) + '"' + ',',
'});',

@@ -296,3 +298,4 @@ '</script>'

Compiler.prototype._normalize = function(name, version) {
return node_path.join(this.relative_cwd, name, version, name + this.ext.js);
var path = node_path.join(this.relative_cwd, name, version, name + this.ext.js)
return this._to_url_path(path);
};
{
"name": "cortex-handlebars-compiler",
"version": "1.0.2",
"version": "1.0.3",
"description": "Handlebar helpers for cortex template.",

@@ -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