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

template-engine

Package Overview
Dependencies
Maintainers
2
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

template-engine - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

6

lib/api/Ocdn.js

@@ -29,3 +29,3 @@ var Class = require('core').Class;

if(!this.configuration.runtime.hasOwnProperty('static_url')){
this.configuration.runtime.static_url = "http://ocdn.eu/static/";
this.configuration.runtime.static_url = "http://ocdn.eu/static";
}

@@ -77,3 +77,3 @@ if(!this.configuration.runtime.hasOwnProperty('resource_url')){

} else if(resourcePath.indexOf('/static/')==0){
return new OcdnStaticUrl(this.configuration.runtime.static_url + resourcePath.replace('/static/', ''));
return new OcdnStaticUrl(this.configuration.runtime.static_url + resourcePath.replace('/static', ''));
} else if(resourcePath.indexOf('/files/')==0){

@@ -105,2 +105,2 @@ return new OcdnFilesUrl(this.configuration.runtime.static_url + resourcePath);

Ocdn = new Class(new Ocdn());
exports.Ocdn = Ocdn;
exports.Ocdn = Ocdn;
{
"name": "template-engine",
"version": "0.2.5",
"version": "0.2.6",
"description": "Engine that renders templates of any kind",

@@ -5,0 +5,0 @@ "contributors": [

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