Skip to content

Commit

Permalink
Update dependencies (#440)
Browse files Browse the repository at this point in the history
* chore: update version of the fast-xml-parser

* chore: update tough-cookie and @azure/ms-rest-js

* chore: update license for the @azure/ms-rest-js
  • Loading branch information
IvanZosimov authored Jul 10, 2023
1 parent a6be55a commit e174912
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 71 deletions.
2 changes: 1 addition & 1 deletion .licenses/npm/@azure/ms-rest-js.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .licenses/npm/fast-xml-parser.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 8 additions & 10 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51211,7 +51211,9 @@ module.exports = toXml;
/***/ }),

/***/ 6072:
/***/ ((module) => {
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {

const util = __nccwpck_require__(8280);

//TODO: handle comments
function readDocType(xmlData, i){
Expand Down Expand Up @@ -51355,20 +51357,16 @@ function isNotation(xmlData, i){
return false
}

//an entity name should not contains special characters that may be used in regex
//Eg !?\\\/[]$%{}^&*()<>
const specialChar = "!?\\\/[]$%{}^&*()<>|+";

function validateEntityName(name){
for (let i = 0; i < specialChar.length; i++) {
const ch = specialChar[i];
if(name.indexOf(ch) !== -1) throw new Error(`Invalid character ${ch} in entity name`);
}
return name;
if (util.isName(name))
return name;
else
throw new Error(`Invalid entity name ${name}`);
}

module.exports = readDocType;


/***/ }),

/***/ 6993:
Expand Down
84 changes: 25 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e174912

Please sign in to comment.