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

openrosa-xpath-evaluator

Package Overview
Dependencies
Maintainers
9
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openrosa-xpath-evaluator - npm Package Compare versions

Comparing version 2.0.0-beta.1 to 2.0.0-beta.2

2

package.json
{
"name": "openrosa-xpath-evaluator",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "Wrapper for browsers' XPath evaluator with added support for OpenRosa extensions.",

@@ -5,0 +5,0 @@ "main": "src/orxe.js",

@@ -482,23 +482,4 @@ var config = require('./config');

};
this.customXPathFunction = {
type: {
StringType: xpr.string,
NumberType: xpr.number,
BooleanType: xpr.boolean,
DateType: xpr.date
},
add: function(name, fnObj) {
extendedFuncs[name] = fnObj;
},
remove: function(name) {
delete extendedFuncs[name];
},
all: function() {
return extendedFuncs;
}
};
};
module.exports = ExtendedXPathEvaluator;

@@ -552,3 +552,21 @@ var {area, distance, areaOrDistance} = require('./geo');

};
ret.customXPathFunction = {
type: {
StringType: xpr.string,
NumberType: xpr.number,
BooleanType: xpr.boolean,
DateType: xpr.date
},
add: function(name, fnObj) {
func[name] = fnObj;
},
remove: function(name) {
delete func[name];
},
all: function() {
return func;
}
};
return ret;

@@ -555,0 +573,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