Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Jan 4, 2024
1 parent f6d1a09 commit 7fa2eb4
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 88 deletions.
172 changes: 86 additions & 86 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.6",
"@types/sql.js": "^1.4.9",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"chai": "^4.3.10",
"cross-fetch": "^4.0.0",
"dotenv": "^16.3.1",
Expand Down
1 change: 1 addition & 0 deletions packages/runtime/src/builtin/escape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export function escape(input: {val: ICharacter | string, format: INumeric | numb
let val = typeof input.val === "string" ? input.val : input.val.get();
const format = typeof input.format === "number" ? input.format : input.format.get();

// todo, optimize/cache regexes
switch (format) {
case 1: // e_xml_attr
val = val.replace(/&/g, "&");
Expand Down

0 comments on commit 7fa2eb4

Please sign in to comment.