Rebuild index file

This commit is contained in:
Zachary Eisinger 2020-07-15 10:28:27 -07:00
parent 80a21d447c
commit 20a4db787c
1 changed files with 32 additions and 32 deletions

64
dist/index.js vendored
View File

@ -5142,7 +5142,7 @@ module.exports = require("https");
/***/ 215: /***/ 215:
/***/ (function(module) { /***/ (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: /***/ 314:
/***/ (function(module) { /***/ (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 // DOM level 1
Object.defineProperty(XMLNamedNodeMap.prototype, 'length', { Object.defineProperty(XMLNamedNodeMap.prototype, 'length', {
get: function() { get: function() {
@ -11012,7 +11012,7 @@ exports.FetchError = FetchError;
document(doc, options) { document(doc, options) {
var child, i, j, k, len1, len2, ref, ref1, results; var child, i, j, k, len1, len2, ref, ref1, results;
ref = doc.children; 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) { for (i = j = 0, len1 = ref.length; j < len1; i = ++j) {
child = ref[i]; child = ref[i];
child.isLastRootNode = i === doc.children.length - 1; child.isLastRootNode = i === doc.children.length - 1;
@ -12087,14 +12087,14 @@ function authenticationBeforeRequest (state, options) {
} else { } else {
this.writerOptions.state = WriterState.OpenTag; this.writerOptions.state = WriterState.OpenTag;
chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + '<!DOCTYPE ' + node.rootNodeName; chunk = this.writer.indent(node, this.writerOptions, this.currentLevel) + '<!DOCTYPE ' + node.rootNodeName;
// external identifier // external identifier
if (node.pubID && node.sysID) { if (node.pubID && node.sysID) {
chunk += ' PUBLIC "' + node.pubID + '" "' + node.sysID + '"'; chunk += ' PUBLIC "' + node.pubID + '" "' + node.sysID + '"';
} else if (node.sysID) { } else if (node.sysID) {
chunk += ' SYSTEM "' + node.sysID + '"'; chunk += ' SYSTEM "' + node.sysID + '"';
} }
// internal subset // internal subset
if (node.children) { if (node.children) {
chunk += ' ['; chunk += ' [';
@ -12499,9 +12499,9 @@ function addHook (state, kind, name, hook) {
// `feature` package name of the feature to test. In Level 1, the // `feature` package name of the feature to test. In Level 1, the
// legal values are "HTML" and "XML" (case-insensitive). // legal values are "HTML" and "XML" (case-insensitive).
// `version` version number of the package name to test. // `version` version number of the package name to test.
// In Level 1, this is the string "1.0". If the version is // In Level 1, this is the string "1.0". If the version is
// not specified, supporting any version of the feature will // not specified, supporting any version of the feature will
// cause the method to return true. // cause the method to return true.
hasFeature(feature, version) { hasFeature(feature, version) {
return true; return true;
@ -12532,7 +12532,7 @@ function addHook (state, kind, name, hook) {
throw new Error("This DOM method is not implemented."); 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. // of the specified feature and version.
// `feature` name of the feature requested. // `feature` name of the feature requested.
@ -15051,7 +15051,7 @@ module.exports = require("net");
this.value = ''; this.value = '';
} }
// Creates and returns a deep clone of `this` // Creates and returns a deep clone of `this`
clone() { clone() {
return Object.create(this); return Object.create(this);
@ -15878,7 +15878,7 @@ function bytesToUuid(buf, offset) {
var i = offset || 0; var i = offset || 0;
var bth = byteToHex; var bth = byteToHex;
// join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 // 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++]], '-', 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 // Sets the parent node of this node and its children recursively
// `parent` the parent node // `parent` the parent node
@ -16124,7 +16124,7 @@ exports.convertToJson = convertToJson;
// skip null and undefined nodes // skip null and undefined nodes
} else if (!this.options.keepNullNodes && (val == null)) { } else if (!this.options.keepNullNodes && (val == null)) {
lastChild = this.dummy(); lastChild = this.dummy();
// expand list by creating child nodes // expand list by creating child nodes
} else if (!this.options.separateArrayItems && Array.isArray(val)) { } else if (!this.options.separateArrayItems && Array.isArray(val)) {
for (k = 0, len1 = val.length; k < len1; k++) { for (k = 0, len1 = val.length; k < len1; k++) {
@ -16133,7 +16133,7 @@ exports.convertToJson = convertToJson;
childNode[key] = item; childNode[key] = item;
lastChild = this.element(childNode); lastChild = this.element(childNode);
} }
// expand child nodes under parent // expand child nodes under parent
} else if (isObject(val)) { } else if (isObject(val)) {
// if the key is #text expand child nodes under this node to support mixed content // 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); lastChild.element(val);
} }
} else { } else {
// text node // text node
lastChild = this.element(key, val); lastChild = this.element(key, val);
} }
@ -16196,10 +16196,10 @@ exports.convertToJson = convertToJson;
// temporarily remove children starting *with* refChild // temporarily remove children starting *with* refChild
i = children.indexOf(refChild); i = children.indexOf(refChild);
removed = children.splice(i); removed = children.splice(i);
// add the new child // add the new child
children.push(newChild); children.push(newChild);
// add back removed children after new child // add back removed children after new child
Array.prototype.push.apply(children, removed); Array.prototype.push.apply(children, removed);
} else { } else {
@ -16210,14 +16210,14 @@ exports.convertToJson = convertToJson;
if (this.isRoot) { if (this.isRoot) {
throw new Error("Cannot insert elements at root level. " + this.debugInfo(name)); throw new Error("Cannot insert elements at root level. " + this.debugInfo(name));
} }
// temporarily remove children starting *with* this // temporarily remove children starting *with* this
i = this.parent.children.indexOf(this); i = this.parent.children.indexOf(this);
removed = this.parent.children.splice(i); removed = this.parent.children.splice(i);
// add the new child // add the new child
child = this.parent.element(name, attributes, text); child = this.parent.element(name, attributes, text);
// add back removed children after new child // add back removed children after new child
Array.prototype.push.apply(this.parent.children, removed); Array.prototype.push.apply(this.parent.children, removed);
return child; return child;
@ -16234,14 +16234,14 @@ exports.convertToJson = convertToJson;
if (this.isRoot) { if (this.isRoot) {
throw new Error("Cannot insert elements at root level. " + this.debugInfo(name)); throw new Error("Cannot insert elements at root level. " + this.debugInfo(name));
} }
// temporarily remove children starting *after* this // temporarily remove children starting *after* this
i = this.parent.children.indexOf(this); i = this.parent.children.indexOf(this);
removed = this.parent.children.splice(i + 1); removed = this.parent.children.splice(i + 1);
// add the new child // add the new child
child = this.parent.element(name, attributes, text); child = this.parent.element(name, attributes, text);
// add back removed children after new child // add back removed children after new child
Array.prototype.push.apply(this.parent.children, removed); Array.prototype.push.apply(this.parent.children, removed);
return child; return child;
@ -16576,7 +16576,7 @@ exports.convertToJson = convertToJson;
return this; return this;
} }
// Returns debug string for this node // Returns debug string for this node
debugInfo(name) { debugInfo(name) {
var ref1, ref2; var ref1, ref2;
@ -16797,7 +16797,7 @@ exports.convertToJson = convertToJson;
return other === this || this.isDescendant(other); 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. // a child of B or A is a child of an object C that is a descendant of B.
isDescendant(node) { isDescendant(node) {
var child, isDescendantChild, j, len, ref1; var child, isDescendantChild, j, len, ref1;
@ -16821,7 +16821,7 @@ exports.convertToJson = convertToJson;
return node.isDescendant(this); 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. // same tree and A comes before B in tree order.
isPreceding(node) { isPreceding(node) {
var nodePos, thisPos; 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. // same tree and A comes after B in tree order.
isFollowing(node) { isFollowing(node) {
var nodePos, thisPos; var nodePos, thisPos;
@ -16866,7 +16866,7 @@ exports.convertToJson = convertToJson;
} }
} }
// Depth-first preorder traversal through the XML tree // Depth-first preorder traversal through the XML tree
foreachTreeNode(node, func) { foreachTreeNode(node, func) {
var child, j, len, ref1, res; var child, j, len, ref1, res;
@ -20963,7 +20963,7 @@ module.exports = set;
return this.options.writer.attribute(this, this.options.writer.filterOptions(options)); return this.options.writer.attribute(this, this.options.writer.filterOptions(options));
} }
// Returns debug string for this node // Returns debug string for this node
debugInfo(name) { debugInfo(name) {
name = name || this.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 { module.exports = XMLDummy = class XMLDummy extends XMLNode {
// Initializes a new instance of `XMLDummy` // 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 // a null value. Dummy nodes are created while recursively
// building the XML tree. Simply skipping null values doesn't // building the XML tree. Simply skipping null values doesn't
// work because that would break the recursive chain. // work because that would break the recursive chain.
@ -22503,7 +22503,7 @@ const validator = __webpack_require__(971);
exports.parse = function(xmlData, options, validationOption) { exports.parse = function(xmlData, options, validationOption) {
if( validationOption){ if( validationOption){
if(validationOption === true) validationOption = {} if(validationOption === true) validationOption = {}
const result = validator.validate(xmlData, validationOption); const result = validator.validate(xmlData, validationOption);
if (result !== true) { if (result !== true) {
throw Error( result.err.msg) throw Error( result.err.msg)