fontoxpath
Advanced tools
Comparing version 3.17.2 to 3.17.3
@@ -319,3 +319,3 @@ /// <reference lib="dom" /> | ||
/** | ||
* Evaluates an XPath on the given contextNode. Returns the first node result. | ||
* Evaluates an XPath on the given contextNode. Returns all nodes the XPath resolves to. | ||
* Returns result in the order defined in the XPath. The path operator ('/'), the union operator ('union' and '|') will sort. | ||
@@ -723,2 +723,5 @@ * This implies (//A, //B) resolves to all A nodes, followed by all B nodes, both in document order, but not merged. | ||
* | ||
* Note that the parseScript function returns a detached element: it is not added to the passed | ||
* document. | ||
* | ||
* @example | ||
@@ -737,3 +740,3 @@ * Parse "self::element" to an XQueryX element and access it | ||
* const nameTestElement = evaluateXPathToFirstNode( | ||
* '//Q{http://www.w3.org/2005/XQueryX}nameTest', | ||
* 'descendant-or-self::Q{http://www.w3.org/2005/XQueryX}nameTest', | ||
* xqueryx) | ||
@@ -740,0 +743,0 @@ * ``` |
@@ -0,0 +0,0 @@ MIT License |
{ | ||
"name": "fontoxpath", | ||
"version": "3.17.2", | ||
"version": "3.17.3", | ||
"description": "A minimalistic XPath 3.1 engine in JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/fontoxpath.js", |
@@ -0,0 +0,0 @@ # fontoxpath  [](https://david-dm.org/FontoXML/fontoxpath#info=devDependencies) [](http://badge.fury.io/js/fontoxpath) [](https://bundlephobia.com/result?p=fontoxpath) [](https://coveralls.io/github/FontoXML/fontoxpath?branch=master) [](https://snyk.io/test/github/FontoXML/fontoxpath?targetFile=package.json) [](https://www.codefactor.io/repository/github/fontoxml/fontoxpath) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
2
825564
4221