Skip to content

Commit 5aa72e3

Browse files
committed
Upgraded dependencies
1 parent a8c7ae8 commit 5aa72e3

File tree

3 files changed

+431
-395
lines changed

3 files changed

+431
-395
lines changed

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,25 @@
3939
"dependencies": {
4040
"dagre": "^0.8.5",
4141
"dagre-d3": "^0.6.4",
42-
"js-yaml": "^3.13.1",
42+
"js-yaml": "^4.0.0",
4343
"json-source-map": "^0.6.1",
44-
"lodash": "^4.17.20",
44+
"lodash": "^4.17.21",
4545
"ramda": "^0.27.1",
4646
"uuid": "^8.3.2"
4747
},
4848
"devDependencies": {
4949
"@types/dagre-d3": "^0.6.2",
50-
"@types/js-yaml": "^3.11.2",
51-
"@types/lodash": "^4.14.162",
52-
"@types/node": "^8.10.25",
53-
"@types/ramda": "^0.27.34",
50+
"@types/js-yaml": "^4.0.0",
51+
"@types/lodash": "^4.14.168",
52+
"@types/node": "^14.14.35",
53+
"@types/ramda": "^0.27.39",
5454
"@types/uuid": "^8.3.0",
55-
"prettier": "^2.1.2",
56-
"ts-loader": "^8.0.7",
57-
"tslint": "^5.8.0",
58-
"typescript": "^4.0.5",
55+
"prettier": "^2.2.1",
56+
"ts-loader": "^8.0.18",
57+
"tslint": "^6.1.3",
58+
"typescript": "^4.2.3",
5959
"vscode": "^1.1.37",
60-
"webpack": "^5.3.1",
61-
"webpack-cli": "^4.1.0"
60+
"webpack": "^5.27.0",
61+
"webpack-cli": "^4.5.0"
6262
}
6363
}

src/parse/parse.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ export const parseText = (text: string, ext: string): any => {
6464
case ".json":
6565
return JSON.parse(text);
6666
case ".yaml":
67-
return yaml.safeLoad(stripAWSTags(text));
67+
return yaml.load(stripAWSTags(text));
6868
case ".yml":
69-
return yaml.safeLoad(stripAWSTags(text));
69+
return yaml.load(stripAWSTags(text));
7070
default:
7171
throw new Error(`File extension ${ext} is not supported`);
7272
}

0 commit comments

Comments
 (0)