mirror of
https://github.com/s4u/maven-settings-action.git
synced 2026-02-15 00:00:30 +08:00
update dependency after merge from master
This commit is contained in:
1
node_modules/xpath/.npmignore
generated
vendored
1
node_modules/xpath/.npmignore
generated
vendored
@ -1 +0,0 @@
|
||||
node_modules/
|
||||
22
node_modules/xpath/LICENSE
generated
vendored
Normal file
22
node_modules/xpath/LICENSE
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 Cameron McCormack
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
12
node_modules/xpath/docs/XPathEvaluator.md
generated
vendored
12
node_modules/xpath/docs/XPathEvaluator.md
generated
vendored
@ -2,15 +2,15 @@
|
||||
|
||||
The `xpath.parse()` method returns an `XPathEvaluator`, which contains the following methods.
|
||||
|
||||
Each of these methods takes an optional `options` object, which can contain any of the following properties:
|
||||
Each of these methods takes an optional `options` object, which can contain any of the following properties. See the links for each item for further details:
|
||||
|
||||
`namespaces` - a namespace resolver. See the [documentation page](namespace%20resolvers.md) for details.
|
||||
- `namespaces` - a [namespace resolver](namespace%20resolvers.md)
|
||||
|
||||
`variables` - a variable resolver. See the [documentation page](variable%20resolvers.md) for details.
|
||||
- `variables` - a [variable resolver](variable%20resolvers.md)
|
||||
|
||||
`functions` - a function resolver. See the [documentation page](function%20resolvers.md) for details.
|
||||
- `functions` - a [function resolver](function%20resolvers.md)
|
||||
|
||||
`node` - the context node for evaluating the expression
|
||||
- `node` - the context node for evaluating the expression
|
||||
|
||||
Example usage:
|
||||
|
||||
@ -56,7 +56,7 @@ This is only valid for expressions that evaluate to a node set.
|
||||
|
||||
`select1([options])`
|
||||
|
||||
Evaluates the XPath expression and the first node in the resulting node set, in document order. Returns `undefined`
|
||||
Evaluates the XPath expression and the first node in the resulting node set, in document order. Returns `undefined` if the resulting node set is empty.
|
||||
|
||||
This is only valid for expressions that evaluate to a node set.
|
||||
|
||||
|
||||
30
node_modules/xpath/docs/function resolvers.md
generated
vendored
30
node_modules/xpath/docs/function resolvers.md
generated
vendored
@ -31,11 +31,11 @@ Example usage:
|
||||
```js
|
||||
var evaluator = xpath.parse('squareRoot(10)');
|
||||
var aboutPi = evaluator.evaluateNumber({
|
||||
functions: {
|
||||
'squareRoot': function (c, value) {
|
||||
return Math.sqrt(value.numberValue());
|
||||
}
|
||||
}
|
||||
functions: {
|
||||
'squareRoot': function (c, value) {
|
||||
return Math.sqrt(value.numberValue());
|
||||
}
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
@ -49,13 +49,13 @@ Example usage:
|
||||
```js
|
||||
var evaluator = xpath.parse('math:squareRoot(10)');
|
||||
var aboutPi = evaluator.evaluateNumber({
|
||||
functions: function (name, namespace) {
|
||||
functions: function (name, namespace) {
|
||||
if (name === 'squareRoot' && namespace === 'http://sample.org/math/') {
|
||||
return function (c, value) {
|
||||
return Math.sqrt(value.numberValue());
|
||||
};
|
||||
return function (c, value) {
|
||||
return Math.sqrt(value.numberValue());
|
||||
};
|
||||
}
|
||||
},
|
||||
},
|
||||
namespaces: {
|
||||
math: 'http://sample.org/math/'
|
||||
}
|
||||
@ -72,14 +72,14 @@ Example usage:
|
||||
```js
|
||||
var evaluator = xpath.parse('math:squareRoot(10)');
|
||||
var aboutPi = evaluator.evaluateNumber({
|
||||
functions: {
|
||||
functions: {
|
||||
getFunction: function (name, namespace) {
|
||||
if (name === 'squareRoot' && namespace === 'http://sample.org/math/') {
|
||||
return function (c, value) {
|
||||
return Math.sqrt(value.numberValue());
|
||||
};
|
||||
return function (c, value) {
|
||||
return Math.sqrt(value.numberValue());
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
namespaces: {
|
||||
math: 'http://sample.org/math/'
|
||||
|
||||
67
node_modules/xpath/package.json
generated
vendored
67
node_modules/xpath/package.json
generated
vendored
@ -1,13 +1,38 @@
|
||||
{
|
||||
"name": "xpath",
|
||||
"version": "0.0.27",
|
||||
"description": "DOM 3 XPath implemention and helper for node.js.",
|
||||
"engines": {
|
||||
"node": ">=0.6.0"
|
||||
"_args": [
|
||||
[
|
||||
"xpath@0.0.29",
|
||||
"."
|
||||
]
|
||||
],
|
||||
"_from": "xpath@0.0.29",
|
||||
"_id": "xpath@0.0.29",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-W6vSxu0tmHCW01EwDXx45/BAAl8lBJjcRB6eSswMuycOVbUkYskG3W1LtCxcesVel/RaNe/pxtd3FWLiqHGweA==",
|
||||
"_location": "/xpath",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "xpath@0.0.29",
|
||||
"name": "xpath",
|
||||
"escapedName": "xpath",
|
||||
"rawSpec": "0.0.29",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.0.29"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.29.tgz",
|
||||
"_spec": "0.0.29",
|
||||
"_where": ".",
|
||||
"author": {
|
||||
"name": "Cameron McCormack"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/goto100/xpath/issues"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "goto100"
|
||||
@ -17,26 +42,28 @@
|
||||
}
|
||||
],
|
||||
"dependencies": {},
|
||||
"description": "DOM 3 XPath implemention and helper for node.js.",
|
||||
"devDependencies": {
|
||||
"nodeunit": ">=0.6.4",
|
||||
"xmldom": "^0.1.19"
|
||||
},
|
||||
"typings": "./xpath.d.ts",
|
||||
"scripts": {
|
||||
"test": "./node_modules/.bin/nodeunit test.js"
|
||||
"engines": {
|
||||
"node": ">=0.6.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/goto100/xpath.git"
|
||||
},
|
||||
"main": "./xpath.js",
|
||||
"homepage": "https://github.com/goto100/xpath#readme",
|
||||
"keywords": [
|
||||
"xpath",
|
||||
"xml"
|
||||
],
|
||||
"license": "MIT"
|
||||
|
||||
,"_resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.27.tgz"
|
||||
,"_integrity": "sha512-fg03WRxtkCV6ohClePNAECYsmpKKTv5L8y/X3Dn1hQrec3POx2jHZ/0P2qQ6HvsrU1BmeqXcof3NGGueG6LxwQ=="
|
||||
,"_from": "xpath@0.0.27"
|
||||
}
|
||||
"license": "MIT",
|
||||
"main": "./xpath.js",
|
||||
"name": "xpath",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/goto100/xpath.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"typings": "./xpath.d.ts",
|
||||
"version": "0.0.29"
|
||||
}
|
||||
|
||||
2024
node_modules/xpath/test.js
generated
vendored
2024
node_modules/xpath/test.js
generated
vendored
File diff suppressed because it is too large
Load Diff
8
node_modules/xpath/xpath.d.ts
generated
vendored
8
node_modules/xpath/xpath.d.ts
generated
vendored
@ -1,9 +1,11 @@
|
||||
/// <reference lib="dom" />
|
||||
|
||||
type SelectedValue = Node | Attr | string | number | boolean;
|
||||
interface XPathSelect {
|
||||
(expression: string, node?: Node): Array<SelectedValue>;
|
||||
(expression: string, node: Node, single: true): SelectedValue;
|
||||
(expression: string, node: Node, single: true): SelectedValue | undefined;
|
||||
}
|
||||
export var select: XPathSelect;
|
||||
export function select1(expression: string, node?: Node): SelectedValue;
|
||||
export function evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver, type: number, result: XPathResult): XPathResult;
|
||||
export function select1(expression: string, node?: Node): SelectedValue | undefined;
|
||||
export function evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult;
|
||||
export function useNamespaces(namespaceMap: { [name: string]: string }): XPathSelect;
|
||||
|
||||
9197
node_modules/xpath/xpath.js
generated
vendored
9197
node_modules/xpath/xpath.js
generated
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user