New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

enketo-xslt

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enketo-xslt - npm Package Compare versions

Comparing version 1.0.8 to 1.1.0

4

index.js

@@ -8,4 +8,4 @@ var xslModel, xslForm,

// only read once
xslModel = fs.readFileSync(xslModelPath);
xslForm = fs.readFileSync(xslFormPath);
xslModel = fs.readFileSync(xslModelPath, {encoding: 'utf8'});
xslForm = fs.readFileSync(xslFormPath, {encoding: 'utf8'});

@@ -12,0 +12,0 @@ module.exports = {

{
"name": "enketo-xslt",
"version": "1.0.8",
"version": "1.1.0",
"description": "XSL stylesheets for the Enketo XForm transformation",

@@ -26,3 +26,3 @@ "main": "index.js",

"author": "Martijn van de Rijdt",
"license": "Apache2"
"license": "Apache-2.0"
}

@@ -7,4 +7,3 @@ var sheets = require("../index"),

it('should return an xslForm sheet', function() {
assert.equal(typeof sheets.xslForm, 'object');
assert.equal(sheets.xslForm instanceof Buffer, true);
assert.equal(typeof sheets.xslForm, 'string');
assert.equal(sheets.xslForm.length > 0, true);

@@ -14,4 +13,3 @@ });

it('should return an xslForm sheet', function() {
assert.equal(sheets.xslModel instanceof Buffer, true);
assert.equal(sheets.xslModel instanceof Buffer, true);
assert.equal(typeof sheets.xslModel, 'string');
assert.equal(sheets.xslModel.length > 0, true);

@@ -18,0 +16,0 @@ });

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