enketo-transformer
Advanced tools
Comparing version 1.16.0 to 1.17.1
@@ -5,2 +5,7 @@ ## Change Log | ||
[1.17.1] - 2017-05-15 | ||
--------------------- | ||
##### Added | ||
- Copy image-customization form control attribute (KoBo client-specific customization). | ||
[1.16.0] - 2017-04-12 | ||
@@ -7,0 +12,0 @@ --------------------- |
{ | ||
"name": "enketo-transformer", | ||
"version": "1.16.0", | ||
"version": "1.17.1", | ||
"description": "Library/app that transforms ODK-compliant XForms into a format that enketo-core consumes", | ||
@@ -35,3 +35,3 @@ "license": "Apache-2.0", | ||
"body-parser": "1.17.x", | ||
"enketo-xslt": "1.10.0", | ||
"enketo-xslt": "1.11.1", | ||
"express": "5.0.0-alpha.2", | ||
@@ -38,0 +38,0 @@ "language-tags": "1.0.5", |
@@ -25,3 +25,3 @@ Enketo Transformer | ||
transformer.transform( { | ||
// required string of XForm | ||
// required string of XForm | ||
xform: xform, | ||
@@ -32,9 +32,9 @@ // optional string, to add theme if no theme is defined in the XForm | ||
media: { | ||
'myfile.png' : '/path/to/somefile.png', | ||
'myfile.mp3' : '/another/path/to/2.mp3' | ||
}, | ||
'myfile.png' : '/path/to/somefile.png', | ||
'myfile.mp3' : '/another/path/to/2.mp3' | ||
}, | ||
// optional ability to disable markdown rendering (default is true) | ||
markdown: false, | ||
// optional preprocess function that transforms the XForm (as libXMLJs object) to | ||
// e.g. correct incompatible XForm syntax before Enketo's tranformation takes place | ||
// e.g. correct incompatible XForm syntax before Enketo's transformation takes place | ||
preprocess: function(doc){ return doc; }, | ||
@@ -70,8 +70,8 @@ } ).then(function( result ){ | ||
{ | ||
"form" : "<form>.....</form>", | ||
"model": "<model>...</model>", | ||
"form" : "<form>.....</form>", | ||
"model": "<model>...</model>", | ||
"transformerVersion": "1.13.0", | ||
"languageMap": { "Français": "fr", "English": "en" } | ||
} | ||
``` | ||
@@ -78,0 +78,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
151447
+ Addedenketo-xslt@1.11.1(transitive)
- Removedenketo-xslt@1.10.0(transitive)
Updatedenketo-xslt@1.11.1