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.3.8 to 0.3.9

4

lib/driver/DriverSession.js

@@ -282,3 +282,5 @@ var Event = require('core').Event.Event;

var parts = cookie.split('=');
cookies[parts[0].trim()] = parts[1].trim();
if (parts.length > 1) {
cookies[parts[0].trim()] = parts[1].trim();
}
});

@@ -285,0 +287,0 @@

@@ -1,5 +0,2 @@

var fs = require('fs');
var YAML = require("core").Yaml.YAML;
var Loader = require("core").Net.Loader;
var Request = require("core").Net.Request;
var Resource = require('./Resource.js').Resource;

@@ -30,8 +27,8 @@ var md5 = require('core').Common.Crypto.md5;

if (!yaml) {
console.error('emerg', 'ResourceExternal: THERE IS NO section in files: ', that._config.resourceName, that._config.httpSource);
console.error('emerg', 'ResourceExternal: THERE IS NO resource package', that._config.resourceName, 'in file:', that._config.httpSource);
} else {
that._config.files = yaml.files;
that._config['class'] = yaml['class'];
that.version = yaml.version;
}
that._config.files = yaml.files;
that._config['class'] = yaml['class'];
that.version = yaml.version;
Resource.prototype.init.call(that);

@@ -51,4 +48,4 @@ } else {

this.init();
}
};
exports.ResourceExternal = ResourceExternal;

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

}
})
});
};

@@ -120,3 +120,3 @@

loader.removeEventListener(Loader.Event.LOADED);
var status
var status;
if ((status = e.data.getStatusCode()) !== 200) {

@@ -135,5 +135,6 @@ //console.log("-> ResourceRouter / remote ocdn params NOT FOUND! - response status:", status);

loader.addEventListener(Loader.Event.ERROR, function(e){
//console.log("-> ResourceRouter / remote ocdn params NOT FOUND!");
console.info("-> ResourceRouter / remote ocdn error", e.message, 'url:', request.getUrl());
return callback(e, null);
});
loader.setTimeout(500);
loader.load(request);

@@ -143,2 +144,2 @@ };

ResourceRouter = new Class( new ResourceRouter() );
exports.ResourceRouter = ResourceRouter;
exports.ResourceRouter = ResourceRouter;

@@ -125,2 +125,3 @@ var JsonRpcResponse = require('core').JsonRpc.JsonRpcResponse;

console.log(' -- Template '+this._name+': data error');
this._handleError(e);
//TODO handle error

@@ -382,2 +383,2 @@ };

exports.Template = Template;
exports.Template = Template;
{
"name": "template-engine",
"version": "0.3.8",
"version": "0.3.9",
"description": "Engine that renders templates of any kind",

@@ -11,3 +11,3 @@ "contributors": [

"dependencies": {
"jqtpl": ">= 1.0.0",
"jqtpl": "1.1.0",
"core": "< 0.9.0",

@@ -14,0 +14,0 @@ "dl": "< 0.9.0",

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