enketo-transformer
Advanced tools
Comparing version 1.41.1 to 1.41.2
@@ -5,2 +5,7 @@ ## Change Log | ||
[1.41.2] - 2020-11-18 | ||
------------------------ | ||
##### Fixed | ||
- If a ref or nodeset attribute starts with a space, the absolute path is not determined correctly. | ||
[1.41.1] - 2020-08-25 | ||
@@ -7,0 +12,0 @@ ----------------------- |
{ | ||
"name": "enketo-transformer", | ||
"version": "1.41.1", | ||
"version": "1.41.2", | ||
"description": "Library/app that transforms ODK-compliant XForms into a format that Enketo can consume", | ||
@@ -49,8 +49,8 @@ "license": "Apache-2.0", | ||
"docdash": "^1.2.0", | ||
"eslint": "^7.7.0", | ||
"eslint-plugin-jsdoc": "^30.2.4", | ||
"eslint": "^7.13.0", | ||
"eslint-plugin-jsdoc": "^30.7.8", | ||
"http-server": "^0.12.3", | ||
"istanbul-reporter-shield-badge": "^1.2.1", | ||
"jsdoc": "^3.6.5", | ||
"mocha": "^8.1.1", | ||
"jsdoc": "^3.6.6", | ||
"mocha": "^8.2.1", | ||
"nyc": "^15.1.0", | ||
@@ -57,0 +57,0 @@ "rimraf": "^3.0.2", |
@@ -795,2 +795,15 @@ const chai = require( 'chai' ); | ||
describe( 'supports the oc:external attribute if openclinica=1', () => { | ||
const xform = fs.readFileSync( './test/forms/oc-external.xml' ); | ||
const result = transformer.transform( { | ||
xform, | ||
openclinica: 1 | ||
} ); | ||
it( 'by turning it into the data-oc-external attribute', () => Promise.all( [ | ||
expect( result ).to.eventually.have.property( 'form' ).and.to.contain( 'data-oc-external="clinicaldata"' ), | ||
] ) ); | ||
} ); | ||
describe( 'oc:relevantMsg binding attributes', () => { | ||
@@ -797,0 +810,0 @@ const xform = fs.readFileSync( './test/forms/relevant_constraint_required.xml' ); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
5681611
101
3113