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

odesza

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

odesza - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

test.js

12

index.js

@@ -24,3 +24,3 @@ /**

odesza.render = (template, vars) => {
odesza.render = function(template, vars) {
try {

@@ -31,3 +31,3 @@ return vm.runInNewContext('`' + template + '`', vars);

}
};
}

@@ -40,3 +40,3 @@ /**

odesza.compile = (path, options) => {
odesza.compile = function(path, options) {
try {

@@ -48,3 +48,3 @@ var template = fs.readFileSync(path).toString();

return this.render(template, options);
};
}

@@ -59,4 +59,4 @@ /**

odesza.__express = (path, options, fn) => {
odesza.__express = function(path, options, fn) {
return fn(this.compile(path, options));
};
}
{
"name": "odesza",
"version": "0.0.2",
"version": "0.0.3",
"description": "Flexible templates powered by ES6 template strings.",

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