Skip to content

Commit

Permalink
Ensure backcompat of xpath API
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneRifle committed Jan 1, 2019
1 parent 0f56ff9 commit fd4eb1f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
var select = require('xpath').select

module.exports = require('./lib/signed-xml')
module.exports.xpath = require('xpath').select
module.exports.xpath = function(node, xpath) {
return select(xpath, node)
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xml-crypto",
"version": "1.1.0",
"version": "1.1.1",
"description": "Xml digital signature and encryption library for Node.js",
"engines": {
"node": ">=0.4.0"
Expand Down

0 comments on commit fd4eb1f

Please sign in to comment.