enketo-transformer
Advanced tools
Comparing version 1.38.0 to 1.38.1
@@ -5,2 +5,7 @@ ## Change Log | ||
[1.38.1] - 2020-02-14 | ||
--------------------- | ||
##### Fixed | ||
- Model attributes not copied. | ||
[1.38.0] - 2020-02-07 | ||
@@ -7,0 +12,0 @@ --------------------- |
{ | ||
"name": "enketo-transformer", | ||
"version": "1.38.0", | ||
"version": "1.38.1", | ||
"description": "Library/app that transforms ODK-compliant XForms into a format that enketo-core consumes", | ||
@@ -40,3 +40,2 @@ "license": "Apache-2.0", | ||
"libxslt": "0.6.5", | ||
"lie": "3.3.x", | ||
"request": "2.88.x", | ||
@@ -43,0 +42,0 @@ "string-direction": "0.1.x" |
@@ -1,2 +0,2 @@ | ||
![coverage-shield-badge-1](https://img.shields.io/badge/coverage-97.61%25-brightgreen.svg) | ||
![coverage-shield-badge-1](https://img.shields.io/badge/coverage-97.6%25-brightgreen.svg) | ||
[![npm version](https://badge.fury.io/js/enketo-transformer.svg)](http://badge.fury.io/js/enketo-transformer) [![Build Status](https://travis-ci.org/enketo/enketo-transformer.svg?branch=master)](https://travis-ci.org/enketo/enketo-transformer) [![Dependency Status](https://david-dm.org/enketo/enketo-transformer.svg)](https://david-dm.org/enketo/enketo-transformer) | ||
@@ -3,0 +3,0 @@ |
@@ -12,3 +12,2 @@ /** | ||
const Promise = require( 'lie' ); | ||
const request = require( 'request' ); | ||
@@ -112,2 +111,2 @@ const express = require( 'express' ); | ||
app.use( '/transform', router ); | ||
}; | ||
}; |
@@ -5,3 +5,2 @@ /** | ||
const Promise = require( 'lie' ); | ||
const pkg = require( '../package' ); | ||
@@ -8,0 +7,0 @@ const crypto = require( 'crypto' ); |
@@ -1,2 +0,1 @@ | ||
const Promise = require( 'lie' ); | ||
const chai = require( 'chai' ); | ||
@@ -3,0 +2,0 @@ const chaiAsPromised = require( 'chai-as-promised' ); |
@@ -1,2 +0,1 @@ | ||
const Promise = require( 'lie' ); | ||
const chai = require( 'chai' ); | ||
@@ -59,2 +58,10 @@ const chaiAsPromised = require( 'chai-as-promised' ); | ||
describe( 'copies attributes on the `<model>`', () => { | ||
it( 'copies the odk:xforms-version attribute', () => { | ||
const xform = fs.readFileSync( './test/forms/autocomplete.xml', 'utf8' ); | ||
const result = transformer.transform( { xform } ); | ||
return expect( result ).to.eventually.have.property( 'model' ).and.to.contain( 'odk:xforms-version="1.0.0"' ); | ||
} ); | ||
} ); | ||
describe( 'manipulates themes and', () => { | ||
@@ -61,0 +68,0 @@ const xform = fs.readFileSync( './test/forms/widgets.xml', 'utf8' ); |
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
4496987
6
2869
- Removedlie@3.3.x
- Removedimmediate@3.0.6(transitive)
- Removedlie@3.3.0(transitive)