mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 12:38:24 +02:00
feat: add @actions/cache
This commit is contained in:
parent
b15fb7d098
commit
16e8c96a41
1932 changed files with 261172 additions and 10 deletions
58
node_modules/xmlbuilder/lib/XMLNamedNodeMap.js
generated
vendored
Normal file
58
node_modules/xmlbuilder/lib/XMLNamedNodeMap.js
generated
vendored
Normal file
|
@ -0,0 +1,58 @@
|
|||
// Generated by CoffeeScript 1.12.7
|
||||
(function() {
|
||||
var XMLNamedNodeMap;
|
||||
|
||||
module.exports = XMLNamedNodeMap = (function() {
|
||||
function XMLNamedNodeMap(nodes) {
|
||||
this.nodes = nodes;
|
||||
}
|
||||
|
||||
Object.defineProperty(XMLNamedNodeMap.prototype, 'length', {
|
||||
get: function() {
|
||||
return Object.keys(this.nodes).length || 0;
|
||||
}
|
||||
});
|
||||
|
||||
XMLNamedNodeMap.prototype.clone = function() {
|
||||
return this.nodes = null;
|
||||
};
|
||||
|
||||
XMLNamedNodeMap.prototype.getNamedItem = function(name) {
|
||||
return this.nodes[name];
|
||||
};
|
||||
|
||||
XMLNamedNodeMap.prototype.setNamedItem = function(node) {
|
||||
var oldNode;
|
||||
oldNode = this.nodes[node.nodeName];
|
||||
this.nodes[node.nodeName] = node;
|
||||
return oldNode || null;
|
||||
};
|
||||
|
||||
XMLNamedNodeMap.prototype.removeNamedItem = function(name) {
|
||||
var oldNode;
|
||||
oldNode = this.nodes[name];
|
||||
delete this.nodes[name];
|
||||
return oldNode || null;
|
||||
};
|
||||
|
||||
XMLNamedNodeMap.prototype.item = function(index) {
|
||||
return this.nodes[Object.keys(this.nodes)[index]] || null;
|
||||
};
|
||||
|
||||
XMLNamedNodeMap.prototype.getNamedItemNS = function(namespaceURI, localName) {
|
||||
throw new Error("This DOM method is not implemented.");
|
||||
};
|
||||
|
||||
XMLNamedNodeMap.prototype.setNamedItemNS = function(node) {
|
||||
throw new Error("This DOM method is not implemented.");
|
||||
};
|
||||
|
||||
XMLNamedNodeMap.prototype.removeNamedItemNS = function(namespaceURI, localName) {
|
||||
throw new Error("This DOM method is not implemented.");
|
||||
};
|
||||
|
||||
return XMLNamedNodeMap;
|
||||
|
||||
})();
|
||||
|
||||
}).call(this);
|
Loading…
Add table
Add a link
Reference in a new issue