mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-26 05:13:05 +07:00
Rebuild index file
This commit is contained in:
parent
80a21d447c
commit
20a4db787c
64
dist/index.js
vendored
64
dist/index.js
vendored
@ -5142,7 +5142,7 @@ module.exports = require("https");
|
||||
/***/ 215:
|
||||
/***/ (function(module) {
|
||||
|
||||
module.exports = {"_args":[["@octokit/rest@16.28.9","C:\\Users\\malioto\\git\\setup-dotnet"]],"_from":"@octokit/rest@16.28.9","_id":"@octokit/rest@16.28.9","_inBundle":false,"_integrity":"sha512-IKGnX+Tvzt7XHhs8f4ajqxyJvYAMNX5nWfoJm4CQj8LZToMiaJgutf5KxxpxoC3y5w7JTJpW5rnWnF4TsIvCLA==","_location":"/@octokit/rest","_phantomChildren":{"os-name":"3.1.0"},"_requested":{"type":"version","registry":true,"raw":"@octokit/rest@16.28.9","name":"@octokit/rest","escapedName":"@octokit%2frest","scope":"@octokit","rawSpec":"16.28.9","saveSpec":null,"fetchSpec":"16.28.9"},"_requiredBy":["/@actions/github"],"_resolved":"https://registry.npmjs.org/@octokit/rest/-/rest-16.28.9.tgz","_spec":"16.28.9","_where":"C:\\Users\\malioto\\git\\setup-dotnet","author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"bugs":{"url":"https://github.com/octokit/rest.js/issues"},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}],"contributors":[{"name":"Mike de Boer","email":"info@mikedeboer.nl"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Joe Gallo","email":"joe@brassafrax.com"},{"name":"Gregor Martynus","url":"https://github.com/gr2m"}],"dependencies":{"@octokit/request":"^5.0.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"description":"GitHub REST API client for Node.js","devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/fixtures-server":"^5.0.1","@octokit/routes":"20.9.2","@types/node":"^12.0.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.0.0","coveralls":"^3.0.0","glob":"^7.1.2","http-proxy-agent":"^2.1.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","mustache":"^3.0.0","nock":"^10.0.0","npm-run-all":"^4.1.2","nyc":"^14.0.0","prettier":"^1.14.2","proxy":"^0.2.4","semantic-release":"^15.0.0","sinon":"^7.2.4","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","standard":"^14.0.2","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"files":["index.js","index.d.ts","lib","plugins"],"homepage":"https://github.com/octokit/rest.js#readme","keywords":["octokit","github","rest","api-client"],"license":"MIT","name":"@octokit/rest","nyc":{"ignore":["test"]},"publishConfig":{"access":"public"},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"repository":{"type":"git","url":"git+https://github.com/octokit/rest.js.git"},"scripts":{"build":"npm-run-all build:*","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","build:ts":"node scripts/generate-types","coverage":"nyc report --reporter=html && open coverage/index.html","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","generate-routes":"node scripts/generate-routes","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","prebuild:browser":"mkdirp dist/","pretest":"standard","prevalidate:ts":"npm run -s build:ts","start-fixtures-server":"octokit-fixtures-server","test":"nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"","test:browser":"cypress run --browser chrome","test:memory":"mocha test/memory-test","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts"},"standard":{"globals":["describe","before","beforeEach","afterEach","after","it","expect","cy"],"ignore":["/docs"]},"types":"index.d.ts","version":"16.28.9"};
|
||||
module.exports = {"name":"@octokit/rest","version":"16.28.9","publishConfig":{"access":"public"},"description":"GitHub REST API client for Node.js","keywords":["octokit","github","rest","api-client"],"author":"Gregor Martynus (https://github.com/gr2m)","contributors":[{"name":"Mike de Boer","email":"info@mikedeboer.nl"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Joe Gallo","email":"joe@brassafrax.com"},{"name":"Gregor Martynus","url":"https://github.com/gr2m"}],"repository":"https://github.com/octokit/rest.js","dependencies":{"@octokit/request":"^5.0.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/fixtures-server":"^5.0.1","@octokit/routes":"20.9.2","@types/node":"^12.0.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.0.0","coveralls":"^3.0.0","glob":"^7.1.2","http-proxy-agent":"^2.1.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","mustache":"^3.0.0","nock":"^10.0.0","npm-run-all":"^4.1.2","nyc":"^14.0.0","prettier":"^1.14.2","proxy":"^0.2.4","semantic-release":"^15.0.0","sinon":"^7.2.4","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","standard":"^14.0.2","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"types":"index.d.ts","scripts":{"coverage":"nyc report --reporter=html && open coverage/index.html","pretest":"standard","test":"nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"","test:browser":"cypress run --browser chrome","test:memory":"mocha test/memory-test","build":"npm-run-all build:*","build:ts":"node scripts/generate-types","prebuild:browser":"mkdirp dist/","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","generate-routes":"node scripts/generate-routes","prevalidate:ts":"npm run -s build:ts","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","start-fixtures-server":"octokit-fixtures-server"},"license":"MIT","files":["index.js","index.d.ts","lib","plugins"],"nyc":{"ignore":["test"]},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"standard":{"globals":["describe","before","beforeEach","afterEach","after","it","expect","cy"],"ignore":["/docs"]},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}],"_resolved":"https://registry.npmjs.org/@octokit/rest/-/rest-16.28.9.tgz","_integrity":"sha512-IKGnX+Tvzt7XHhs8f4ajqxyJvYAMNX5nWfoJm4CQj8LZToMiaJgutf5KxxpxoC3y5w7JTJpW5rnWnF4TsIvCLA==","_from":"@octokit/rest@16.28.9"};
|
||||
|
||||
/***/ }),
|
||||
|
||||
@ -7511,7 +7511,7 @@ function octokitRestNormalizeGitReferenceResponses (octokit) {
|
||||
/***/ 314:
|
||||
/***/ (function(module) {
|
||||
|
||||
module.exports = {"_args":[["@octokit/graphql@2.1.3","C:\\Users\\malioto\\git\\setup-dotnet"]],"_from":"@octokit/graphql@2.1.3","_id":"@octokit/graphql@2.1.3","_inBundle":false,"_integrity":"sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==","_location":"/@octokit/graphql","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"@octokit/graphql@2.1.3","name":"@octokit/graphql","escapedName":"@octokit%2fgraphql","scope":"@octokit","rawSpec":"2.1.3","saveSpec":null,"fetchSpec":"2.1.3"},"_requiredBy":["/@actions/github"],"_resolved":"https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz","_spec":"2.1.3","_where":"C:\\Users\\malioto\\git\\setup-dotnet","author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"bugs":{"url":"https://github.com/octokit/graphql.js/issues"},"bundlesize":[{"path":"./dist/octokit-graphql.min.js.gz","maxSize":"5KB"}],"dependencies":{"@octokit/request":"^5.0.0","universal-user-agent":"^2.0.3"},"description":"GitHub GraphQL API client for browsers and Node","devDependencies":{"chai":"^4.2.0","compression-webpack-plugin":"^2.0.0","coveralls":"^3.0.3","cypress":"^3.1.5","fetch-mock":"^7.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","npm-run-all":"^4.1.3","nyc":"^14.0.0","semantic-release":"^15.13.3","simple-mock":"^0.8.0","standard":"^12.0.1","webpack":"^4.29.6","webpack-bundle-analyzer":"^3.1.0","webpack-cli":"^3.2.3"},"files":["lib"],"homepage":"https://github.com/octokit/graphql.js#readme","keywords":["octokit","github","api","graphql"],"license":"MIT","main":"index.js","name":"@octokit/graphql","publishConfig":{"access":"public"},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"repository":{"type":"git","url":"git+https://github.com/octokit/graphql.js.git"},"scripts":{"build":"npm-run-all build:*","build:development":"webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json","build:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map","bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","coverage":"nyc report --reporter=html && open coverage/index.html","coverage:upload":"nyc report --reporter=text-lcov | coveralls","prebuild":"mkdirp dist/","pretest":"standard","test":"nyc mocha test/*-test.js","test:browser":"cypress run --browser chrome"},"standard":{"globals":["describe","before","beforeEach","afterEach","after","it","expect"]},"version":"2.1.3"};
|
||||
module.exports = {"name":"@octokit/graphql","version":"2.1.3","publishConfig":{"access":"public"},"description":"GitHub GraphQL API client for browsers and Node","main":"index.js","scripts":{"prebuild":"mkdirp dist/","build":"npm-run-all build:*","build:development":"webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json","build:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map","bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","coverage":"nyc report --reporter=html && open coverage/index.html","coverage:upload":"nyc report --reporter=text-lcov | coveralls","pretest":"standard","test":"nyc mocha test/*-test.js","test:browser":"cypress run --browser chrome"},"repository":{"type":"git","url":"https://github.com/octokit/graphql.js.git"},"keywords":["octokit","github","api","graphql"],"author":"Gregor Martynus (https://github.com/gr2m)","license":"MIT","bugs":{"url":"https://github.com/octokit/graphql.js/issues"},"homepage":"https://github.com/octokit/graphql.js#readme","dependencies":{"@octokit/request":"^5.0.0","universal-user-agent":"^2.0.3"},"devDependencies":{"chai":"^4.2.0","compression-webpack-plugin":"^2.0.0","coveralls":"^3.0.3","cypress":"^3.1.5","fetch-mock":"^7.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","npm-run-all":"^4.1.3","nyc":"^14.0.0","semantic-release":"^15.13.3","simple-mock":"^0.8.0","standard":"^12.0.1","webpack":"^4.29.6","webpack-bundle-analyzer":"^3.1.0","webpack-cli":"^3.2.3"},"bundlesize":[{"path":"./dist/octokit-graphql.min.js.gz","maxSize":"5KB"}],"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"standard":{"globals":["describe","before","beforeEach","afterEach","after","it","expect"]},"files":["lib"],"_resolved":"https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz","_integrity":"sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==","_from":"@octokit/graphql@2.1.3"};
|
||||
|
||||
/***/ }),
|
||||
|
||||
@ -9214,7 +9214,7 @@ function escapeProperty(s) {
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
// DOM level 1
|
||||
Object.defineProperty(XMLNamedNodeMap.prototype, 'length', {
|
||||
get: function() {
|
||||
@ -11012,7 +11012,7 @@ exports.FetchError = FetchError;
|
||||
document(doc, options) {
|
||||
var child, i, j, k, len1, len2, ref, ref1, results;
|
||||
ref = doc.children;
|
||||
// set a flag so that we don't insert a newline after the last root level node
|
||||
// set a flag so that we don't insert a newline after the last root level node
|
||||
for (i = j = 0, len1 = ref.length; j < len1; i = ++j) {
|
||||
child = ref[i];
|
||||
child.isLastRootNode = i === doc.children.length - 1;
|
||||
@ -12087,14 +12087,14 @@ function authenticationBeforeRequest (state, options) {
|
||||
} else {
|
||||
this.writerOptions.state = WriterState.OpenTag;
|
||||
chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + '<!DOCTYPE ' + node.rootNodeName;
|
||||
|
||||
|
||||
// external identifier
|
||||
if (node.pubID && node.sysID) {
|
||||
chunk += ' PUBLIC "' + node.pubID + '" "' + node.sysID + '"';
|
||||
} else if (node.sysID) {
|
||||
chunk += ' SYSTEM "' + node.sysID + '"';
|
||||
}
|
||||
|
||||
|
||||
// internal subset
|
||||
if (node.children) {
|
||||
chunk += ' [';
|
||||
@ -12499,9 +12499,9 @@ function addHook (state, kind, name, hook) {
|
||||
|
||||
// `feature` package name of the feature to test. In Level 1, the
|
||||
// legal values are "HTML" and "XML" (case-insensitive).
|
||||
// `version` version number of the package name to test.
|
||||
// In Level 1, this is the string "1.0". If the version is
|
||||
// not specified, supporting any version of the feature will
|
||||
// `version` version number of the package name to test.
|
||||
// In Level 1, this is the string "1.0". If the version is
|
||||
// not specified, supporting any version of the feature will
|
||||
// cause the method to return true.
|
||||
hasFeature(feature, version) {
|
||||
return true;
|
||||
@ -12532,7 +12532,7 @@ function addHook (state, kind, name, hook) {
|
||||
throw new Error("This DOM method is not implemented.");
|
||||
}
|
||||
|
||||
// Returns a specialized object which implements the specialized APIs
|
||||
// Returns a specialized object which implements the specialized APIs
|
||||
// of the specified feature and version.
|
||||
|
||||
// `feature` name of the feature requested.
|
||||
@ -15051,7 +15051,7 @@ module.exports = require("net");
|
||||
this.value = '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Creates and returns a deep clone of `this`
|
||||
clone() {
|
||||
return Object.create(this);
|
||||
@ -15878,7 +15878,7 @@ function bytesToUuid(buf, offset) {
|
||||
var i = offset || 0;
|
||||
var bth = byteToHex;
|
||||
// join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
|
||||
return ([bth[buf[i++]], bth[buf[i++]],
|
||||
return ([bth[buf[i++]], bth[buf[i++]],
|
||||
bth[buf[i++]], bth[buf[i++]], '-',
|
||||
bth[buf[i++]], bth[buf[i++]], '-',
|
||||
bth[buf[i++]], bth[buf[i++]], '-',
|
||||
@ -16052,7 +16052,7 @@ exports.convertToJson = convertToJson;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Sets the parent node of this node and its children recursively
|
||||
|
||||
// `parent` the parent node
|
||||
@ -16124,7 +16124,7 @@ exports.convertToJson = convertToJson;
|
||||
// skip null and undefined nodes
|
||||
} else if (!this.options.keepNullNodes && (val == null)) {
|
||||
lastChild = this.dummy();
|
||||
|
||||
|
||||
// expand list by creating child nodes
|
||||
} else if (!this.options.separateArrayItems && Array.isArray(val)) {
|
||||
for (k = 0, len1 = val.length; k < len1; k++) {
|
||||
@ -16133,7 +16133,7 @@ exports.convertToJson = convertToJson;
|
||||
childNode[key] = item;
|
||||
lastChild = this.element(childNode);
|
||||
}
|
||||
|
||||
|
||||
// expand child nodes under parent
|
||||
} else if (isObject(val)) {
|
||||
// if the key is #text expand child nodes under this node to support mixed content
|
||||
@ -16144,7 +16144,7 @@ exports.convertToJson = convertToJson;
|
||||
lastChild.element(val);
|
||||
}
|
||||
} else {
|
||||
|
||||
|
||||
// text node
|
||||
lastChild = this.element(key, val);
|
||||
}
|
||||
@ -16196,10 +16196,10 @@ exports.convertToJson = convertToJson;
|
||||
// temporarily remove children starting *with* refChild
|
||||
i = children.indexOf(refChild);
|
||||
removed = children.splice(i);
|
||||
|
||||
|
||||
// add the new child
|
||||
children.push(newChild);
|
||||
|
||||
|
||||
// add back removed children after new child
|
||||
Array.prototype.push.apply(children, removed);
|
||||
} else {
|
||||
@ -16210,14 +16210,14 @@ exports.convertToJson = convertToJson;
|
||||
if (this.isRoot) {
|
||||
throw new Error("Cannot insert elements at root level. " + this.debugInfo(name));
|
||||
}
|
||||
|
||||
|
||||
// temporarily remove children starting *with* this
|
||||
i = this.parent.children.indexOf(this);
|
||||
removed = this.parent.children.splice(i);
|
||||
|
||||
|
||||
// add the new child
|
||||
child = this.parent.element(name, attributes, text);
|
||||
|
||||
|
||||
// add back removed children after new child
|
||||
Array.prototype.push.apply(this.parent.children, removed);
|
||||
return child;
|
||||
@ -16234,14 +16234,14 @@ exports.convertToJson = convertToJson;
|
||||
if (this.isRoot) {
|
||||
throw new Error("Cannot insert elements at root level. " + this.debugInfo(name));
|
||||
}
|
||||
|
||||
|
||||
// temporarily remove children starting *after* this
|
||||
i = this.parent.children.indexOf(this);
|
||||
removed = this.parent.children.splice(i + 1);
|
||||
|
||||
|
||||
// add the new child
|
||||
child = this.parent.element(name, attributes, text);
|
||||
|
||||
|
||||
// add back removed children after new child
|
||||
Array.prototype.push.apply(this.parent.children, removed);
|
||||
return child;
|
||||
@ -16576,7 +16576,7 @@ exports.convertToJson = convertToJson;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Returns debug string for this node
|
||||
debugInfo(name) {
|
||||
var ref1, ref2;
|
||||
@ -16797,7 +16797,7 @@ exports.convertToJson = convertToJson;
|
||||
return other === this || this.isDescendant(other);
|
||||
}
|
||||
|
||||
// An object A is called a descendant of an object B, if either A is
|
||||
// An object A is called a descendant of an object B, if either A is
|
||||
// a child of B or A is a child of an object C that is a descendant of B.
|
||||
isDescendant(node) {
|
||||
var child, isDescendantChild, j, len, ref1;
|
||||
@ -16821,7 +16821,7 @@ exports.convertToJson = convertToJson;
|
||||
return node.isDescendant(this);
|
||||
}
|
||||
|
||||
// An object A is preceding an object B if A and B are in the
|
||||
// An object A is preceding an object B if A and B are in the
|
||||
// same tree and A comes before B in tree order.
|
||||
isPreceding(node) {
|
||||
var nodePos, thisPos;
|
||||
@ -16834,7 +16834,7 @@ exports.convertToJson = convertToJson;
|
||||
}
|
||||
}
|
||||
|
||||
// An object A is folllowing an object B if A and B are in the
|
||||
// An object A is folllowing an object B if A and B are in the
|
||||
// same tree and A comes after B in tree order.
|
||||
isFollowing(node) {
|
||||
var nodePos, thisPos;
|
||||
@ -16866,7 +16866,7 @@ exports.convertToJson = convertToJson;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Depth-first preorder traversal through the XML tree
|
||||
foreachTreeNode(node, func) {
|
||||
var child, j, len, ref1, res;
|
||||
@ -20963,7 +20963,7 @@ module.exports = set;
|
||||
return this.options.writer.attribute(this, this.options.writer.filterOptions(options));
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Returns debug string for this node
|
||||
debugInfo(name) {
|
||||
name = name || this.name;
|
||||
@ -21777,7 +21777,7 @@ module.exports.shellSync = (cmd, opts) => handleShell(module.exports.sync, cmd,
|
||||
module.exports = XMLDummy = class XMLDummy extends XMLNode {
|
||||
// Initializes a new instance of `XMLDummy`
|
||||
|
||||
// `XMLDummy` is a special node representing a node with
|
||||
// `XMLDummy` is a special node representing a node with
|
||||
// a null value. Dummy nodes are created while recursively
|
||||
// building the XML tree. Simply skipping null values doesn't
|
||||
// work because that would break the recursive chain.
|
||||
@ -22503,7 +22503,7 @@ const validator = __webpack_require__(971);
|
||||
exports.parse = function(xmlData, options, validationOption) {
|
||||
if( validationOption){
|
||||
if(validationOption === true) validationOption = {}
|
||||
|
||||
|
||||
const result = validator.validate(xmlData, validationOption);
|
||||
if (result !== true) {
|
||||
throw Error( result.err.msg)
|
||||
|
Loading…
Reference in New Issue
Block a user