zeanium-node
Advanced tools
Comparing version 0.6.37 to 0.6.38
{ | ||
"name": "zeanium-node", | ||
"version": "0.6.37", | ||
"version": "0.6.38", | ||
"description": "Zeanium for Node.js, simple http server and custome your business.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -48,3 +48,3 @@ zn.define(function () { | ||
format: "date_format({},'%Y-%c-%d %h:%i:%s')", | ||
hidden: true, | ||
//hidden: true, | ||
default: null | ||
@@ -51,0 +51,0 @@ }, |
@@ -47,3 +47,3 @@ /** | ||
if(_value == null){ | ||
_value = prop.get && prop.get.call(this, key, prop, props); | ||
_value = prop.get && prop.get.call(this, key, prop, values); | ||
} | ||
@@ -50,0 +50,0 @@ switch (prop.type[0].toLowerCase()) { |
@@ -234,2 +234,6 @@ /** | ||
fs.renameSync(_sourceFile, _targetFile); | ||
var _url = _targetFile.replace(_uploadConfig.root, ''); | ||
if(_url.indexOf(zn.SLASH)!=0){ | ||
_url = zn.SLASH + _url; | ||
} | ||
return { | ||
@@ -242,3 +246,3 @@ name: file.name, | ||
path: _targetFile, | ||
url: zn.SLASH + _targetFile.replace(_uploadConfig.root, ''), | ||
url: _url, | ||
lastModifiedDate: file.lastModifiedDate.toISOString().slice(0, 19) | ||
@@ -245,0 +249,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
262535
6118