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

libxslt

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libxslt - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

test/resources/min-value.xsl

2

index.js

@@ -10,2 +10,4 @@ /**

binding.registerEXSLT();
/**

@@ -12,0 +14,0 @@ * A compiled stylesheet. Do not call this constructor, instead use parse or parseFile.

2

package.json
{
"name": "libxslt",
"version": "0.2.2",
"version": "0.3.0",
"description": "Node.js bindings for libxslt compatible with libxmljs",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -167,2 +167,15 @@ var fs = require('fs');

});
describe('libexslt bindings', function(){
it('should expose EXSLT functions', function(callback){
libxslt.parseFile('test/resources/min-value.xsl', function(err, stylesheet){
should.not.exist(err);
stylesheet.applyToFile('test/resources/values.xml', function(err, result){
should.not.exist(err);
result.should.match(/Minimum: 4/);
callback();
});
});
});
});
});

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