Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enketo-transformer

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enketo-transformer - npm Package Compare versions

Comparing version 1.41.1 to 1.41.2

test/forms/clinicaldatasubmission.xml

5

CHANGELOG.md

@@ -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 @@ -----------------------

10

package.json
{
"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

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