Skip to content

Commit a227958

Browse files
committed
changed toml lib to smol-toml
1 parent 56786ab commit a227958

File tree

4 files changed

+14
-23
lines changed

4 files changed

+14
-23
lines changed

package-lock.json

Lines changed: 12 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
"@angular/platform-server": "^18.2.0",
2323
"@angular/router": "^18.2.0",
2424
"@angular/ssr": "^18.2.9",
25-
"@iarna/toml": "^2.2.5",
2625
"bootstrap": "^5.3.3",
2726
"bootstrap-icons": "^1.11.3",
2827
"express": "^4.18.2",
2928
"marked": "^14.1.3",
3029
"prism-code-editor": "^4.0.0-beta.1",
3130
"rxjs": "~7.8.0",
31+
"smol-toml": "^1.3.0",
3232
"tslib": "^2.3.0",
3333
"xml2js": "^0.6.2",
3434
"yamljs": "^0.3.0",
@@ -39,7 +39,6 @@
3939
"@angular/cli": "^18.2.9",
4040
"@angular/compiler-cli": "^18.2.0",
4141
"@types/express": "^4.17.17",
42-
"@types/iarna__toml": "^2.0.5",
4342
"@types/jasmine": "~5.1.0",
4443
"@types/node": "^18.18.0",
4544
"@types/xml2js": "^0.4.14",

src/app/serialized-tool/serialized-tool.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { debounceTime, Subject, takeLast, tap } from 'rxjs';
44
import { CodeAreaComponent } from '../code-area/code-area.component';
55
import { animate, state, style, transition, trigger } from '@angular/animations';
66
import { Meta } from '@angular/platform-browser';
7-
import { parse as tomlParse, stringify as tomlStringify } from '@iarna/toml';
7+
import { parse as tomlParse, stringify as tomlStringify } from 'smol-toml';
88
import { parseString as xmlParse, Builder as xmlStringify } from 'xml2js';
99
import YAML from 'yamljs';
1010

src/index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<!doctype html>
22
<html lang="en" data-bs-theme="dark">
3-
43
<head>
54
<meta charset="utf-8">
65
<title>CodeChef</title>
76
<base href="/">
87
<meta name="viewport" content="width=device-width, initial-scale=1">
98
<link rel="icon" type="image/x-icon" href="code-chef.svg">
10-
<script>
11-
global = globalThis;
12-
</script>
139
</head>
1410
<body>
1511
<app-root></app-root>

0 commit comments

Comments
 (0)